Champs et autorisations

More
12 years 8 months ago #22838 by LisaLisa
Bonjour,

Une petite question : Je cherche à restreindre l'affichage de certains champs à une catégorie d'utilisateurs (exemples: des champs pour la catégorie Public et d'autres qui s'affichent en plus pour les utilisateurs enregistrés), hors, dans le réglage des champs, lorsque je passe de public à enregistré, ça ne prend pas la modification. Y a-t-il une raison ?
Je suis en joomla 2.5 et Flexicontent version 2.0 RC3 (r1151)

Merci pour votre aide !

Lisa

Joomla 2.5
Flexicontent version 2.0 RC3 (r1151)

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

More
12 years 8 months ago #22844 by ggppdk
Replied by ggppdk on topic Champs et autorisations
Yes you can display fields to only specific user

You can do this by setting Access Level parameter of each field.

1. create and assign access level to joomla users groups.

2. set your fields to have "public" access level or one of the access levels you created


-- 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...

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

More
12 years 8 months ago #22849 by LisaLisa
Replied by LisaLisa on topic Champs et autorisations

ggppdk wrote: Yes you can display fields to only specific user

You can do this by setting Access Level parameter of each field.

1. create and assign access level to joomla users groups.

2. set your fields to have "public" access level or one of the access levels you created


Hi,
Thanks for your answer.
I succed, but there is still something strange.

I try to set field from here and it's not working :


But when I try directly in the field, it's working.



Thanks for your help !

Joomla 2.5
Flexicontent version 2.0 RC3 (r1151)

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

More
12 years 8 months ago #22853 by ggppdk
Replied by ggppdk on topic Champs et autorisations
You mean you cannot set the access level from the field manager list

but when you edit field you can set it?


-- 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...

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

More
12 years 8 months ago #22878 by LisaLisa
Replied by LisaLisa on topic Champs et autorisations
Yes.
Sorry for my english...

Joomla 2.5
Flexicontent version 2.0 RC3 (r1151)

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

More
12 years 8 months ago #22887 by ggppdk
Replied by ggppdk on topic Champs et autorisations
Just a minor bug, the task name is wrong, that is why the quick access level changer does not work in the fields/type/items listings,

This fix will be in final version.

To apply fix now try:

in file administrator/components/com_flexicontent/views/fields/tmpl/default.php
replace
Code:
'onchange="return listItemTask(\'cb'.$i.'\',\'access\')"');
with
Code:
'onchange="return listItemTask(\'cb'.$i.'\',\'fields.access\')"');

in file administrator/components/com_flexicontent/views/types/tmpl/default.php
replace
Code:
'onchange="return listItemTask(\'cb'.$i.'\',\'access\')"');
with
Code:
'onchange="return listItemTask(\'cb'.$i.'\',\'types.access\')"');

in file administrator/components/com_flexicontent/views/items/tmpl/default.php
replace
Code:
'onchange="return listItemTask(\'cb'.$i.'\',\'access\')"');
with
Code:
'onchange="return listItemTask(\'cb'.$i.'\',\'items.access\')"');

Thanks for reporting, 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...

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.396 seconds
Save
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