1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.4 How can I add my sidebar on a page created under CP?

Discussion in 'XenForo Questions and Support' started by Betclever, May 16, 2015.

  1. Betclever

    Betclever Active Member


    How can I put the sidebar which is on the index page on a page I have created?

  2. Mike

    Mike XenForo Developer Staff Member

    You'd put the content within:
  3. Betclever

    Betclever Active Member

    Hello Mike,

    When I add what you have mentioned between my HTML code, it transforms my page in a sidebar and this is not what I want.
    I would like to add a sidebar like the one I have on my index page so the one which is present by default with Xenforo "members online,..." on the page I have created with the Xenforo tool under application.

    Last edited: May 16, 2015
  4. rafass

    rafass Well-Known Member

  5. Betclever

    Betclever Active Member

  6. rafass

    rafass Well-Known Member

  7. rafass

    rafass Well-Known Member

  8. Mike

    Mike XenForo Developer Staff Member

    You put the code you're interested in being in the sidebar within the tags. If that requires additional data, you will need custom development to retrieve the data.
  9. Betclever

    Betclever Active Member

    I'm sorry but I think you don't understand my request.
    I don't want to add a block on the sidebar or something else but I want to add the sidebar I have on my index page here => http://www.bet-clever.com/pages/premium/
  10. Mike

    Mike XenForo Developer Staff Member

    That page isn't visible to guests, but I don't think I understand the request if <xen:sidebar> isn't making the sidebar you want. It's exactly how the sidebar on the forum list (https://xenforo.com/community/) is created (and any other page with the sidebar on the right).
  11. Betclever

    Betclever Active Member

    Yes this is what I want so add the same sidebar I have on the index page on the webpage I have created but when I have added <xen:sidebar> between my HTML code, it transformed the webpage into a sidebar. :)
    Can you tell me step by step if you have few minutes what I have to do cause for this request, I did not understand what I have to do with the <xen:sidebar> cause I did what you have mentioned and it doesn't work.

    Thanks Mike
  12. Brogan

    Brogan XenForo Moderator Staff Member

    It would require custom development.

    The content in the sidebar on the forum index is only available there.
  13. Martok

    Martok Well-Known Member

    Using Widget Framework would seem to be the best solution here.

Share This Page