Page 1 of 1

Menu description

Posted: Mon Feb 16, 2009 11:30 am
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.

Re: Menu description

Posted: Tue Feb 17, 2009 8:52 am
by nchankov
Anyone?

Re: Menu description

Posted: Tue Feb 17, 2009 11:31 am
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.

Re: Menu description

Posted: Tue Feb 17, 2009 4:57 pm
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.