Q: Different Content Slider on different sites?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Bonee
    New Member
    • Jul 2017
    • 28
    • 3.8.x

    Q: Different Content Slider on different sites?

    Is it possible to show different content slider on different sites? I just get one content slider to work.

    I host two NFL-Leagues (PS4 and Xbox) on my forum and would like to show a seperate content slider for each league.

    I now have "slider A" working on "site A" and "site B" but need "slider A" working on "site A" and "slider B" working on "site B".

    Thanks!
  • Wayne Luke
    vBulletin Technical Support Lead
    • Aug 2000
    • 74132

    #2
    You would have to follow these steps...

    1) Edit the Page for Site A and save it. At the bottom where it says "Overwrite Template", choose "No." Enter in a new page template name like "Site A Template."
    2) Edit the Page for Site B and save it. At the bottom where it says "Overwrite Template", choose "No." Enter in a new page template name like "Site B Template."
    3) Edit the Content Slider Module on "Site A." In the JSON box and before the last } add the following code:
    Code:
    ,"channel":"X"
    You can find the value of X by looking at your channels in the CHannel Manager within the AdminCP. It will be listed to the right of the Channel Name as (Nodeid: X).
    4) Repeat the above for the Content Slider Module on "Site B."
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API

    Comment

    • Bonee
      New Member
      • Jul 2017
      • 28
      • 3.8.x

      #3
      Thanks Wayne, it works!

      Is there also a way to add multiple Channels like "X" and "Y" for a certain Content Slider?

      Comment

      • Wayne Luke
        vBulletin Technical Support Lead
        • Aug 2000
        • 74132

        #4
        You can include multiple channels with an array of values. The string would look like:
        Code:
        "channel":["15","18","25"]
        Other useful filters can be found on this page: https://www.vbulletin.com/forum/arti...he-search-json
        Translations provided by Google.

        Wayne Luke
        The Rabid Badger - a vBulletin Cloud demonstration site.
        vBulletin 5 API

        Comment

        • Bonee
          New Member
          • Jul 2017
          • 28
          • 3.8.x

          #5
          Works like a charm! Thanks a lot and have a nice day!

          Comment

          Related Topics

          Collapse

          Working...