+ Reply to Thread
Results 1 to 6 of 6

Thread: How to display a block once in category page and not listing page??

  1. #1

    How to display a block once in category page and not listing page??

    Hello

    I want to display a text block for SEO purposes in category page. But when i select the category the block also displays in the listing pages (ads).

    Which is the form to only display once the textblock in the category page?.

    Please help me because this is very important. Thanks.

  2. #2
    Guru
    Join Date
    Jan 2013
    Location
    Australia
    Posts
    2,028
    Try using the banner pluggin, there is the option to place blocks above each category and you can enable those blocks in text format.

  3. #3
    Hello Santiago,

    We changed some logic of selecting blocks. And if you want I can send you code here or you can create a ticket and I will change code myself free for you
    Viktor,
    Flynax technical department,
    Best wishes.

  4. #4
    Please help me with the code. It is very important for SEO pursposes to only show once that text. Thank you Viktor

  5. #5
    Quote Originally Posted by Santiago Blanco View Post
    Please help me with the code. It is very important for SEO pursposes to only show once that text. Thank you Viktor
    Hello Santiago,

    Try make the following:
    1. open file: /includes/classes/rlCommon.class.php
    2. find the function getBlocks(), row ~1105
    3. and replace code of this function:
    PHP Code:
    Only registered members can view the code
    4. after go to the admin panel and edit your exist box: unselect the listing type page in show on pages section and select the categories only
    5. save box and check
    Thank you, Curtis.
    @Flynax Company

  6. #6
    Superb, thank you very much Curtis. It works like a charm!.

    http://planetaescorts.es/

+ Reply to Thread