Hello
I try create external parameters in menu. I like to have external content(content block or something like thad) in sites/pages, and I want to have access to this external elements in menu/menu templates.
From what I should start?
Sorry for my english. If it's bad category, please move this topic to other category.
Best regards
Zdunek
External parameters in content/menu links
Re: External parameters in content/menu links
The menu manager just looks thru your Content > Pages and makes an UL LI of the pages there...
There are a few things that can be pulled into it and a list of them is in the Help, like $node->id -- Content ID...
There are a few things that can be pulled into it and a list of them is in the Help, like $node->id -- Content ID...
Re: External parameters in content/menu links
Ok, but i must have for example 10 new values in content and i must have access to this values in menu(menu template).
And so I have to do is to make it accessible to the layman/laic.
And so I have to do is to make it accessible to the layman/laic.
Re: External parameters in content/menu links
You most likely will need to give a more detailed example of what you are trying to do, examples of it on another site helps...
Re: External parameters in content/menu links
Im trying do somethink like that(website in polish)Dr.CSS wrote:You most likely will need to give a more detailed example of what you are trying to do, examples of it on another site helps...
http://orlex.pl/oferta/9/reda/mieszkania.html
When we click link "pokaż" we have
http://orlex.pl/oferta/9/reda/mieszkania/147.html
And i like to configure, create system who can creating this table and subsites for table/menu table.
Re: External parameters in content/menu links
That would be a module like Products, not a normal pages menu...
Re: External parameters in content/menu links
Yes, but what i can use for this?Dr.CSS wrote:That would be a module like Products, not a normal pages menu...
I was thinking to do it on the menu. I must have inputs/textareas for all positions in menu. If i can use {content block=....} value in menu templates i can do this in menu. But i don't know how and and which module to use.
I can build module by own, but this take a lot of time....
Re: External parameters in content/menu links
Sorry if I wasn't clear, Products as in a module called Products...
http://dev.cmsmadesimple.org/projects/products
http://dev.cmsmadesimple.org/projects/products
Re: External parameters in content/menu links
Using a separate module like Dr.CSS suggested the the best (right) way to go. But if you can/must use named content blocks you can always use CGSimpleSmarty to get the values for each block and display as you need. You can also call CGSimpleSmarty from within the menu templates usinf the pageID as the reference.