acces aux items du menu avec un template particulier

More
13 years 4 months ago #12044 by sapin
La modification proposée pour permettre qu'un menu ne soit pas visible pour certains groupes ne fonctionne pas avec le template JEZ_Rego
if (FLEXI_ACCESS) {
if (!FAccess::checkAllItemReadAccess('com_content','read','users',$user->gmid,'menu',$child->attributes('id'))) {
$node->removeChild($child);
}
} else {
if ($child->attributes('access') > $user->get('aid', 0)) {
$node->removeChild($child);
}
}
J'ai essayé diverses modifications sans succès, mais je ne suis pas un maître en programmation php
aussi j'attendrai que quelqu'un de plus compétent trouve une solution...
Merci

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

More
13 years 4 months ago #12060 by micker
hello
c'est un template acheter ?
si oui demande leur conseil sur leur forums
sinon desoler je suis pas assez caller pour t'aider
a+

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.700 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