[SOLVED] images on certain pages

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
CMSmonkey
Power Poster
Power Poster
Posts: 290
Joined: Thu Nov 27, 2008 4:58 pm

[SOLVED] images on certain pages

Post by CMSmonkey »

On one of my CMSMS sites, I have pictures on each different page using the following code in my template:



On another site, I need to have particular images on certain pages that have a specific word in their page alias.  For instance, all of my pages in the Articles section have a page alias that starts "articles_[nameofarticle]" or all of my pages in the Lectures section have a page alias that starts with "lectures_[nameoflecture]".

Is there any way to group the images so that they display according to what section they are in or a particular word that is in the page alias title?  Beyond using the page alias, if you have another suggestion please let me know.

Thanks in advance.
Last edited by CMSmonkey on Sun Jun 07, 2009 2:49 pm, edited 1 time in total.
User avatar
Lucaz
Forum Members
Forum Members
Posts: 66
Joined: Fri Dec 01, 2006 9:56 pm
Location: Netherlands

Re: images on certain pages

Post by Lucaz »

You might wanna use the {section_image} tag.
I've used it on my simracing website to show an image linked to the channel.

http://dev.cmsmadesimple.org/projects/sectionimage
CMSmonkey
Power Poster
Power Poster
Posts: 290
Joined: Thu Nov 27, 2008 4:58 pm

Re: images on certain pages

Post by CMSmonkey »

Awesome!

I am going to try that out - thanks!
Post Reply

Return to “Layout and Design (CSS & HTML)”