+ Reply to Thread
Results 1 to 4 of 4

Thread: Add different text on each category

  1. #1

    Add different text on each category

    Dear,

    I add customised text in (blocks/grid.tpl) that will appear at the bottom of the ads listing page.

    I need this text changes when changing category.

    Exemple on category (autos) I will see text : welcome on auto category, here you will find all auto you need ... bla bla
    In category (games) I will see text : here you find all nintendo games, bla bla bla

    It is possible to use the function (if) (category name) = (customized text) (and if)


    thanks

  2. #2
    Guru
    Join Date
    Jan 2013
    Location
    Australia
    Posts
    2,028
    ? You just need to go to admin panel > categories, select you category and then select edit the category and add your wanted text to description section.

  3. #3
    Thanks @Pete Young but this solution will dont work for me.

    I need to use variable with fonction IF ELSE

    If the page detect "category computer" I will get new texte customised.

  4. #4
    I found it, I just move this fonction to my customised page:


    {if !empty($category.des)}
    {$category.des}
    {/if}


    Solved

+ Reply to Thread