Show content of page in menu item? [solved]
Posted: Thu Dec 27, 2012 11:13 pm
Dear all
I'm trying to get the first words (or letters) of a child page to appear in my menu. So basically the Title, first part of the content of the page showes in the menu, and after that a "read more" link which is the actual link of the item. I want to avoid using the extra1, extra2 , etc, fields for this since I want to keep it simple for my editors to maintain the pages.
I tried cgsimple to dig up the content of each page in the menu, using for each menu itembut this doesn't work, though entering 'home' for example works as a charm here. It's not possible using the node params here?
Or, is there something I overlook or should I approach this in a different way ?
Thank you very much in advance,
Best regards,
Jeroen
I'm trying to get the first words (or letters) of a child page to appear in my menu. So basically the Title, first part of the content of the page showes in the menu, and after that a "read more" link which is the actual link of the item. I want to avoid using the extra1, extra2 , etc, fields for this since I want to keep it simple for my editors to maintain the pages.
I tried cgsimple to dig up the content of each page in the menu, using for each menu item
Code: Select all
{$cgsimple->get_page_content('$node->alias')}
Or, is there something I overlook or should I approach this in a different way ?
Thank you very much in advance,
Best regards,
Jeroen