https://www.icyphoenix.com/viewtopic.php?f=35&t=7158 ----------------------------------- Marfo Tue 18 May, 2010 17:30 CMS And ACP Link In A CMS HTML Block ----------------------------------- Hi all, I'm trying to put in a CMS HTML Block the two links "ACP" and "CMS" an show this two only to who is authorized to see that, the problem is that some parts of this block must be visible to all users... It's possible to do what i want?? If yes, how??? thanks o/ ----------------------------------- spydie Tue 18 May, 2010 18:30 Re: CMS And ACP Link In A CMS HTML Block ----------------------------------- You should have a look at the original navquicklinks.tpl o overall_header.tpl they are set like this: [code] {IMG_NAV_MENU_SEP} {U_ACP} {IMG_NAV_MENU_SEP} {L_CMS} [/code] of course you can change the links. The important thing is and ----------------------------------- Marfo Tue 18 May, 2010 18:45 Re: CMS And ACP Link In A CMS HTML Block ----------------------------------- [quote user="spydie" post="48988"]You should have a look at the original navquicklinks.tpl o overall_header.tpl they are set like this: [code] {IMG_NAV_MENU_SEP} {U_ACP} {IMG_NAV_MENU_SEP} {L_CMS} [/code] of course you can change the links. The important thing is and [/quote] ok, but i must have a file to import... which one?? only with the code that you've posted it doesn't work and i see {U_CMS} and {U_ACP} ----------------------------------- spydie Tue 18 May, 2010 18:56 Re: CMS And ACP Link In A CMS HTML Block ----------------------------------- should be : includes/page_header.php . That is the file with all definitions of {U_xxx} and {L_xxx} Try with this: ----------------------------------- Marfo Tue 18 May, 2010 19:31 Re: CMS And ACP Link In A CMS HTML Block ----------------------------------- [quote user="spydie" post="48990"]should be : includes/page_header.php . That is the file with all definitions of {U_xxx} and {L_xxx} Try with this: [/quote] it doesn't work :( ----------------------------------- Costa Tue 18 May, 2010 20:18 Re: CMS And ACP Link In A CMS HTML Block ----------------------------------- [quote user="Marfo" post="48985"]Hi all, I'm trying to put in a CMS HTML Block the two links "ACP" and "CMS" an show this two only to who is authorized to see that, the problem is that some parts of this block must be visible to all users... It's possible to do what i want?? If yes, how??? thanks o/[/quote] Why not make two CMS HTML Block? close to each other... In the first (with ACP and CMS) u give permissions to see it the admin only, and the second permissions for all .... ----------------------------------- Marfo Tue 18 May, 2010 20:21 Re: CMS And ACP Link In A CMS HTML Block ----------------------------------- [quote user="Costa" post="48993"][quote user="Marfo" post="48985"]Hi all, I'm trying to put in a CMS HTML Block the two links "ACP" and "CMS" an show this two only to who is authorized to see that, the problem is that some parts of this block must be visible to all users... It's possible to do what i want?? If yes, how??? thanks o/[/quote] Why not make two CMS HTML Block? close to each other... In the first (with ACP and CMS) u give permissions to see it the admin only, and the second permissions for all ....[/quote] do you mean create two html block in the same position??? yes i can do but for the generation of the ACP link?? this depends from the user session... how can i do whit this problem?? ----------------------------------- Costa Tue 18 May, 2010 20:40 Re: CMS And ACP Link In A CMS HTML Block ----------------------------------- Put yourself the link for ACM [quote]do you mean create two html block in the same position??? [/quote] yes you can do so. In the same place. In this case, the first block text contains the ACM link to be seen by admin only, and the second everyone else can see from all, except from the admin. It depending from you, and what do you want to write there ----------------------------------- Marfo Wed 19 May, 2010 09:34 Re: CMS And ACP Link In A CMS HTML Block ----------------------------------- [quote user="Costa" post="48995"]Put yourself the link for ACM [quote]do you mean create two html block in the same position??? [/quote] yes you can do so. In the same place. In this case, the first block text contains the ACM link to be seen by admin only, and the second everyone else can see from all, except from the admin. It depending from you, and what do you want to write there[/quote] yes i can do in this way, but for the generation of ACP Link?? how can I do?? ----------------------------------- Costa Wed 19 May, 2010 11:12 Re: CMS And ACP Link In A CMS HTML Block ----------------------------------- I do not know if there is a way in existing ACP with the existing funcions. Or if there is a better way without having to make use of Code. ----------------------------------- TheSteffen Thu 20 May, 2010 12:00 Re: CMS And ACP Link In A CMS HTML Block ----------------------------------- [quote user="Marfo" post="48985"]I'm trying to put in a CMS HTML Block the two links "ACP" and "CMS" an show this two only to who is authorized to see that, the problem is that some parts of this block must be visible to all users..[/quote] I would do that with dynamic menu in CMS http://www.icyphoenix.com/viewtopic.php?f=4&t=5385&highlight=menu#3 You can give each link a permision for a usergroup and you can put the dyn menu on every site you would like: portal, forum and so on ;-) ----------------------------------- Marfo Thu 20 May, 2010 19:06 Re: CMS And ACP Link In A CMS HTML Block ----------------------------------- [quote user="TheSteffen" post="49011"][quote user="Marfo" post="48985"]I'm trying to put in a CMS HTML Block the two links "ACP" and "CMS" an show this two only to who is authorized to see that, the problem is that some parts of this block must be visible to all users..[/quote] I would do that with dynamic menu in CMS http://www.icyphoenix.com/viewtopic.php?f=4&t=5385&highlight=menu#3 You can give each link a permision for a usergroup and you can put the dyn menu on every site you would like: portal, forum and so on ;-)[/quote] Ok, thank you