Users running a non-download version of Vanilla (pulled from github), on branch release/2019.016 or master from the last 2 weeks should upgrade to release/2019.017 or latest master for security reasons. Downloaded official open sources releases are not affected.

Place a image slider only the Discussions or Categories pages

kopnakopna Coimbra Portugal ☯

Hi community!

I would just place the slider images on the talk page or category. Tell me where I should put the image slider to display only there.

Regards to all

Vanilla 2.3 Theme Bootstrap ( Spacelab )



  • R_JR_J Cheerleader & Troubleshooter Munich Moderator

    I don't know which slider you are talkign about, but maybe the pockets plugin can be helpful

  • kopnakopna Coimbra Portugal ☯

    Hi @R_J

    I use Slidorion ( this plugin by default in Wordpress ) example
    but I have a simple code and js placed in the default.master.template: effect - slider appears on all pages.
    Is it possible to place the slider only in the discussions or categories page.

  • R_JR_J Cheerleader & Troubleshooter Munich Moderator

    Okay, we are talking about Smarty then...

    For theming reasons, Vanilla provides a "section" information. Look at the css class of any of Vanillas pages and you will find a class named "Section-something". That "something" is the sections name. You can can use it in your default.master.tpl like that:

    {if InSection(array("CategoryList","DiscussionList"))}
      Your existing snippet here

  • kopnakopna Coimbra Portugal ☯

    Perfectly! It works, It really helped
    I thank you man!

Sign In or Register to comment.