Menu description

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
nchankov
New Member
New Member
Posts: 8
Joined: Wed Feb 11, 2009 11:21 am

Menu description

Post by nchankov »

Hi guys,

I've searched for this, but I couldn't manage to find anything sensible to me, so I dare to ask directly :)

Ok, I am using the last version of cmsmadesimple, and I've seen that in the page admin there are few additional textareas. One of them is labeled "Menu".

And because I want to have some pages which contain their subsection information I want to call this text in the menu field in the {menu}.

I will give you an example:

Imagine that I have structure like this:
1 Home
1.1 Some Page 1
1.2 Some Page 1
1.3 Some Page 1

Imagine also that in the Menu field of each sub page I have brief description what the page contain.

I want to call a {menu}, or another module in Home page, which could show information like this:

* Some Page 1
Lorem ipsum dolor sit amet....

* Some Page 2
Lorem ipsum dolor sit amet....

* Some Page 3
Lorem ipsum dolor sit amet....

I am trying to use menu to mimic this, but if there is something different I will be happy to use it. I've seen that in menu help there is no such field as parameter which I can use straight. The idea is to fill this automatically instead to ask someone to edit the root page every time when a new sub content  is added. It's like modified sitemap as well :)

Hope you can understand what I meant :)

Thanks in advance.
nchankov
New Member
New Member
Posts: 8
Joined: Wed Feb 11, 2009 11:21 am

Re: Menu description

Post by nchankov »

Anyone?
KO
Power Poster
Power Poster
Posts: 562
Joined: Mon Nov 06, 2006 7:55 pm
Location: Helsinki, Finland

Re: Menu description

Post by KO »

I would try modifying menu template so that you for example read what is on "Description (title attribute):" on "page - options" tab and display that on your menu. Modify your menu template so that you add  {$node->titleattribute} to menu template where you want text to be visible. Or maybe use {$node->extra1} if that suits you better.
nchankov
New Member
New Member
Posts: 8
Joined: Wed Feb 11, 2009 11:21 am

Re: Menu description

Post by nchankov »

Thanks for your reply.

About extra1 attribute, probably it would work, but it's text field rather textarea and it's not very convenient. But it's an option indeed.
Post Reply

Return to “CMSMS Core”