Results 1 to 3 of 3

Thread: Rows.html

  1. #1
    gspinney's Avatar
    gspinney is offline Registered User
    Join Date
    Jul 2003
    Posts
    128

    Question Rows.html

    Say anyone have an idea how to have rows.html print or not print based on a value selected by a guests listing.

    IF <%$website%> = yes

    <tr>
    <td valign="middle"><img src="images/mouse.gif" width="28" height="26"></td>
    <td valign="middle"><font style="color: #E78502"><a href="<%$url%>"
    name="link_<%$link_id%>"><%$url%></a> </font></td>
    </tr>

    If <%$website%> = no

    <tr><td></td></tr>

  2. #2
    beto is offline Registered User
    Join Date
    Nov 2006
    Posts
    61

    Default Re

    I think that the correct code should be:
    <%if $website == 'yes'%>
    HTML here
    <%else%>
    Other HTML here
    <%/if%>


    This may also work, from other postings I've seen:
    <%if $website%>
    HTML here
    <%else%>
    Other HTML here
    <%/if%>


    This last one assumes that IF there is some value in $website THEN it will do something; ELSE do other thing because there is nothing in $website.

    I hope this helps

  3. #3
    gspinney's Avatar
    gspinney is offline Registered User
    Join Date
    Jul 2003
    Posts
    128

    Question

    Got it working thank you..

    ClickYellow.ca
    Last edited by gspinney; 12-21-2006 at 12:06 AM. Reason: correction

Similar Threads

  1. Replies: 1
    Last Post: 06-03-2004, 09:03 AM
  2. 2 rows.html templates
    By Rob Picken in forum v5.x
    Replies: 4
    Last Post: 12-28-2003, 09:30 AM
  3. rows.html v/s sp_cat_rows.html ??
    By ideavirus in forum v5.x
    Replies: 1
    Last Post: 06-22-2003, 08:12 AM
  4. Whats the function of rows.html files ???
    By ideavirus in forum v5.x
    Replies: 0
    Last Post: 07-13-2002, 10:05 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •