Results 1 to 5 of 5

Thread: general_Olx customization category menu in all page.

Threaded View

  1. #1
    Junior Member
    Join Date
    Jun 2021
    Posts
    7

    Question general_Olx customization category menu in all page.

    hi, im trying to display category carousel in all pages
    1.jpg
    currently it is display only in homepage with this call in content.tpl
    {if $pageInfo.Key == 'home'}
    {include file='blocks'|cat:$smarty.const.RL_DS|cat:'categor ies_carousel.tpl'}
    {/if}
    I tried to remove the if statement but nothing happened, so I printed the variable $category_menu present in categories_carousel.tpl and I saw that the array returns the categories, while in the other pages the value is null
    2.jpg

    can you suggest me how i can display this widget in other pages? how i can load $category_menu value ?
    Last edited by Fabio Russo; August 20, 2021 at 01:53 PM.