One field for each one category - SOLVED -

More
14 years 7 months ago - 14 years 7 months ago #16931 by aloisio
Hello
I use joomla 1.5 with flexicontent 1.5.4 and flexiaccess.
A user administrator uses a form to submit articles in the frontend.
This user sends articles to twenty categories.
I enable, in flexiaccess, the "multi-select category" for this user.
In the dropdown "flexi menu choose cats", in the menú item, I have selected "all cats", and all the twenty categories are selected in the "flexi menu select cats".
In the article submission form, in the "frontend", there are twenty fields type "select".
The information in each field "select" should be available to only one category.
When the user submits one article (only one), the data of the first field "select" only should be available to the first category; the data of the second field "select" only to the second category, and so on.
The formulary has other fields, but all of then are to all categories.
My problems is only with the fields "select".
I need your help.
Last edit: 14 years 7 months ago by aloisio.

Please Log in or Create an account to join the conversation.

More
14 years 7 months ago - 14 years 7 months ago #16932 by ggppdk
UPDATE, skip reading these posts and go to a later POST of this thread:
www.flexicontent.org/forum/index ... pic#p17086

Hello,
fields are designed to be assign to item types and not to item categories.

The only way to achieve this behavior is to create a new Field Type, that would --through javascript-- detect the chosen category and change its contents to have appropriate content for the category.

Such a field type is not currently implemented, although a developer could duplicate the existing select field and extended it to support such behavior. I have used such fields in custom web applications.

Regards


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!
Last edit: 14 years 7 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
14 years 7 months ago #16949 by aloisio
You tell me that, with a "new field type" and "javascript" can do what I need.
I know some "javascritp" if you can give me some guidance on how to do it, I'll try.
Thanks

Please Log in or Create an account to join the conversation.

More
14 years 7 months ago #16954 by ggppdk
Hello,

I am sorry,
I only meant to say that this is not implemented.

This could be a useful addition.

Regards


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
14 years 7 months ago #16957 by aloisio
I think you've misunderstood what I need.
In the "frontend" a form contains, among many other fields, 20 fields "select".
An administrator user has permision to send articles to 20 categories.
When this user sends one item, the selected data in a field "select" will be available to one of the 20 categories.
If I am interested in the development of this choice, do I can talk to you about this development?

Please Log in or Create an account to join the conversation.

More
14 years 7 months ago #16958 by ggppdk
My initial understanding was that the user will choose only one out of 20 categories, and that you wanted the select field to be dynamically updated to contain appropriate entries for the selected category.

So the user can select more than one category right?

And you want 2 select boxes to appear dynamically when the user chooses e.g. 2 categories?

Or you want the select boxes to be always visible but e.g. disabled and/or empty when the corresponding category is not selected?


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
14 years 7 months ago #16961 by aloisio
Please, wait until I send you more detailed information.

Please Log in or Create an account to join the conversation.

More
14 years 7 months ago #16976 by aloisio
[attachment=0:3igfie7s]<!-- ia0 -->1aaggmmdk.JPG<!-- ia0 -->[/attachment:3igfie7s]
Look at the image:
The image is a screenshot of the form.
The image shows some of the fields "select" (at left) and the list of some of the sub-sub-categories under the heading "Alumnos" (at right).
Look at the label of one of the fields "select". The label indicates to which category the data selected in this field must be related.
I have put some red lines showing.
What I need is that, when one item is saved, the data chosen in the "select" which is labeled "Daniel Fernández Rodríguez" will be available only to users who have permission to access the sub-sub-category "Daniel Fernandez Rodríguez "
The data chosen in the "select" which contains the label "Lucia Castro Gómez" will be only available to users with permission to access the category "Lucia Castro Gomez."
I hope I have clarified.

Please Log in or Create an account to join the conversation.

More
14 years 7 months ago #16979 by ggppdk
I understand more now, but please clarify this: what do you mean "avalable" to users, you mean viewable when item is displayed in:
1. Item view
2. Category view (Table Layout / Blog Layout)

or you mean editable in some way ?


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
14 years 7 months ago #16988 by aloisio
Viewable and not editable.
Viewable by a item of menu of type "flexicontent category".
If you think may be helpful to visit the site. The language is Spanish.
www.opciondigital.info
the user that submit articles is:

username: rafael
password: rafael

two user who see articles

username: daniel
password: daniel

username: felipe
password: felipe

screeshot of a article how a user see it:

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save