Results 1 to 3 of 3

Thread: Banner for category

  1. #1
    linksor.com is offline Active Member
    Join Date
    Sep 2005
    Location
    Poland - Warsaw
    Posts
    341

    Default Banner for category

    There is an area to place banner for specific category. But is this possible to place there a code

    if $category == "specific number" or parent_category == "specific_number"

    show banner

    /if

    This is just an example (i know it is not a smarty syntax) - but how to ?

  2. #2
    pungky's Avatar
    pungky is offline Super Moderator
    Join Date
    Mar 2009
    Posts
    143

    Default

    You can try this code
    HTML Code:
    <%if $category_name eq "test"%>
    	your code for banner1
    <%elseif $category_name eq "test2"%>
            your code for banner2
    <%else%>
           your code for default banner
    <%/if%> 

  3. #3
    linksor.com is offline Active Member
    Join Date
    Sep 2005
    Location
    Poland - Warsaw
    Posts
    341

Similar Threads

  1. banner
    By piet in forum Blocks and Modification
    Replies: 4
    Last Post: 07-30-2007, 02:23 AM
  2. Block for banner ads?
    By cheetahtraffic in forum v5.x
    Replies: 1
    Last Post: 03-26-2007, 03:24 AM
  3. Banner Advertising MOD
    By esm in forum v3.2
    Replies: 18
    Last Post: 12-26-2003, 12:31 PM
  4. ad banner script
    By toneranger in forum Pre-Sales Questions
    Replies: 2
    Last Post: 03-02-2003, 10:24 PM
  5. banner rotater
    By jor71 in forum v5.x
    Replies: 6
    Last Post: 08-01-2002, 04:27 PM

Posting Permissions

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