Page 1 of 1
using additional parameters from internal link in template
Posted: Mon Aug 11, 2008 11:21 am
by larsemann
hello,
how can i use the additional parameters, when i create an internal link?
and where can i find any description of their right use?
can i use them in my template?
help! it is frustrating…
sorry, for creating a new topic, but searching the board doesn't deliver any solution so far.
thank you
Re: using additional parameters from internal link in template
Posted: Mon Aug 11, 2008 11:33 am
by RonnyK
Do you mean the {cms_selflink}?
Under Extensions -> Tags -> cms_selflink are all parameters shown that this tag takes....
Ronny
Re: using additional parameters from internal link in template
Posted: Mon Aug 11, 2008 11:39 am
by larsemann
hello,
i don't think so.
if i create an 'internal page link', there is the input field 'Additional Parameters:'.
is it possible, to use this value in my template? and how?
cms_selflink seems to be not, what i m looking for…
of course, thank u for answering!
Re: using additional parameters from internal link in template
Posted: Mon Aug 11, 2008 6:30 pm
by larsemann
okay, i have not found a solution yet, but i'm trying to explain my problem.
i've got a multilingual site and i want to use just one photo gallery, which is linked in every menu
beacuse i always want to use the same photo gallery for every language, i linked them in the menus internal and f.e. after clicking 'photos' the album and the english menu are supposed to be displayed.
so, i tried to use the additional parameter to assign the 'start_element' in the template to react in the menu-tag on the start_element, but this won't work, i guess
{if $start_element }
{menu start_element=$start_element show_root_siblings='1'}
{else}
{menu start_level='2'}
{/if}
Re: using additional parameters from internal link in template
Posted: Mon Aug 11, 2008 8:37 pm
by Dr.CSS
Still not quite sure what you are trying to do, but if you have 2 lang. and want the english album page to show on other lang. side you can use the Content Type: internal link to make a menu item for the other lang....
What other parameters do you want to add for why?...
Re: using additional parameters from internal link in template
Posted: Wed Aug 13, 2008 10:34 am
by larsemann
Hello,
i decided to upload a screen of my content layout-
1. german language
2. english
5. photo album
i link internal to the photo album on 5. with 1.7 'Foto-Galerie' in the german menu and with 2.7 'Photos' in the english menu.
now i want to send a parameter with the link to point out which menulanguage is selected and is supposed to be displayed.
maybe there is a different and easier way.
thanks.
Re: using additional parameters from internal link in template
Posted: Thu Aug 14, 2008 5:52 pm
by Dr.CSS
Have you tried the MLE of CMSMS?... would be easier to work with...