Problem with <IF>

Discuss news styles, css code, and other Coranto customizations in here...the possibilities are endless, so have at it!

Moderator: Spunkmeyer

Problem with <IF>

Postby CreativeOne » Sat Feb 18, 2006 8:17 pm

I need to know how to properly <if> this style. Obviously if I dont post all the pictures I need the one that are uploaded to only show up.. Thanks.

Code: Select all
<a href="<FilePath: CustomField_photo1>">
<img border="2" src="<ThumbPath: CustomField_photo1>" xthumbnail-orig-image="<FilePath: CustomField_photo1>" width="100" height="74"></a>

<a href="<FilePath: CustomField_photo2>">
<img border="2" src="<ThumbPath: CustomField_photo2>" xthumbnail-orig-image="<FilePath: CustomField_photo2>" width="100" height="74"></a>

<a href="<FilePath: CustomField_photo3>">
<img border="2" src="<ThumbPath: CustomField_photo3>" xthumbnail-orig-image="<FilePath: CustomField_photo3>" width="100" height="74"></a>

<p align="center"></p>
<p align="center">

<a href="<FilePath: CustomField_photo4>">
<img border="2" src="<ThumbPath: CustomField_photo4>" xthumbnail-orig-image="<FilePath: CustomField_photo4>" width="100" height="74"></a>

<a href="<FilePath: CustomField_photo5>">
<img border="2" src="<ThumbPath: CustomField_photo5>" xthumbnail-orig-image="<FilePath: CustomField_photo5>" width="100" height="74"></a>
"The object of war is not to die for your country but to make the other bastard die for his."
- General George Patton (1885-1945)
User avatar
CreativeOne
 
Posts: 18
Joined: Fri Sep 27, 2002 1:06 am
Location: Belleville, Michigan

Postby bozoka45 » Sat Feb 18, 2006 10:42 pm

Code: Select all
<If: Field: CustomField_photo1>
<a href="<FilePath: CustomField_photo1>">
<img border="2" src="<ThumbPath: CustomField_photo1>" xthumbnail-orig-image="<FilePath: CustomField_photo1>" width="100" height="74"></a>
</If>


Same thing for the rest.
User avatar
bozoka45
 
Posts: 1159
Joined: Sun Mar 23, 2003 8:38 pm
Location: New Orleans


Return to Customization

Who is online

Users browsing this forum: No registered users and 2 guests

cron