Page 1 of 1

Image Content Block Help

Posted: Mon Sep 24, 2007 1:19 am
by new2thiscms
I have tried this solution for my client for images in a left sidebar.

the problem is my client wants to have the ability to choose between 0-5 pictures on a page. In IE6 this will have  a placeholder with an x for the picture it was supposed to have for every block not used.  I suggested the UDT solution and they didn't like that they also didn't want to have multiple templates and they don't want to have to put the code into a content block oneline  and they don't want a separate content block and have to choose the image. They liked the functionality of just having to put the image name in a field. If anyone has a solution I would appreciate any help you can give.

Thanks

Re: Image Content Block Help

Posted: Mon Sep 24, 2007 1:57 am
by calguy1000
{content block='image1' oneline='true' assign='image1'}
{if $image1 != '' }
 
{/if}

Repeat this 5 times.

Re: Image Content Block Help

Posted: Mon Sep 24, 2007 2:59 pm
by new2thiscms
Worked Great!

Thanks for the help