Page 1 of 1

Image based sub-menus?

Posted: Wed Nov 21, 2007 10:34 am
by AngelEyes
Hi,

First post so be gentle. :)

I having been playing with CMSMS for a day or so now and so far am very impressd with how easy it is to use. being a complete n00b I wondered if there is a way to specify a thumbnail image for pages you add to the site so when you index pages in a folder, it shows a thumbnail, like you would expect with an ecommerce website displaying products in a catalogue page?

I am building a site for a client based on something they already have on a different system: http://luxury-hotels-villas.com

As you can see the 'properties' displayed on the RH menu have a title and thumbnail generated by the CMS. This is the sort of functionality I am after. Any advice on where I can swot up on this kind of thing would be great! Anything to do with creating your own menus and 'feeds' from other parts of the site would be really helpful.

Many thanks,

Adam

Re: Image based sub-menus?

Posted: Wed Nov 21, 2007 1:56 pm
by AngelEyes
Having given this a little more thought, I guess what I am after is a way to add an image field to a standard page and then use a menu to display the pages as title and thumbnail.

Is this sort of thing possible?

Thanks,

Adam

Re: Image based sub-menus?

Posted: Wed Mar 04, 2009 4:13 pm
by starbits
Yes, it is "possible".  It involves making a custom menu template - see the documentation for that, at:
http://wiki.cmsmadesimple.org/index.php/User_Handbook/Admin_Panel/Layout/Menu_Manager
and then using the thumbnail feature on each content page, as described in the forum:
http://forum.cmsmadesimple.org/index.php/topic,28701.0.html
If you don't understand the documentation don't try it, as I don't think it is for beginners to this CMS.
Good luck,
Steve

Re: Image based sub-menus?

Posted: Fri Mar 20, 2009 2:38 am
by admsh
starbits wrote: If you don't understand the documentation don't try it, as I don't think it is for beginners to this CMS.
always try it. it's the only way to learn.

and for anyone who wants a quick solution, just insert this code to your menu template after creating a page with a thumbnail:

Code: Select all

<img src="uploads/images/{$node->thumbnail}"/>