Problems, need help? Have a tip or advice? Post it here.
3 posts Page 1 of 1
Okay i'm currently working on the live feed now, ready to test.

I have created this so far (pages)

Live
Live_feed
Live_drivers

Okay i'll explain what each page do, so you get an understanding.

The first page (live) is where i will show all the conent.
The second page is a clone page (live_feed)
The 3rd page is a cloneable nested page (live_drivers)

Now the issues are this.

I am using the live_feed page to clone, which will act as the status update. Now to save time when updating i have gone and used the Image tag within the header of the clone page, so it saves time when updating.

Code: Select all
<div id="news-top-image"><a href="<cms:show live_image />" rel="lightbox"><img src="<cms:show live_thumb />" width="190" height="100" border="0" /> </a></div>


Now this is fine, works perfect for what i want, easy to upload and post when we update with images. However heres the issue.

Sometimes when making a new clone page we upload without images, however is there i way i can have it so that if there are no images in them boxes they don't show?
I'm surprised you've been able to get away without using the 'cms:if' tag yet.
Code: Select all
<cms:if live_image ><div id="news-top-image"><a href="<cms:show live_image />" rel="lightbox"><img src="<cms:show live_thumb />" width="190" height="100" border="0" /> </a></div></cms:if>
http://www.couchcms.com/docs/tags-reference/if.html

Good luck with your new live feed section.
cheesypoof wrote: I'm surprised you've been able to get away without using the 'cms:if' tag yet.
Code: Select all
<cms:if live_image ><div id="news-top-image"><a href="<cms:show live_image />" rel="lightbox"><img src="<cms:show live_thumb />" width="190" height="100" border="0" /> </a></div></cms:if>
http://www.couchcms.com/docs/tags-reference/if.html

Good luck with your new live feed section.


Strangely enough, i never thought about using the IF tags, however this worked. You are a Legend..
3 posts Page 1 of 1
cron