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

sidebar in all pages

Discussion in 'XenForo Questions and Support' started by jgas, Jan 14, 2011.

  1. jgas

    jgas Active Member

    Hi, i want to add the sidebar on the showthread and the forumdisplay templates, i think i should add the <xen:sidebar> code, but inside which templates?

    thanks!
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    The templates are forum_view and thread_view but the stat's stuff isn't exposed for all views.
     
  3. jgas

    jgas Active Member

    I don't know why, I tried everything, but I can't display the sidebar OUTSIDE the forum_view .. look at the image please

    error.png

    DO you have any advice? even little? it's more than 2 hours that i'm trying to add this sidebar!! :(
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    The sidebar is showing in that screenshot.
     
  5. jgas

    jgas Active Member

    Yes it's showing but look at the border of the forum view that is displaying around everything. How can I put the sidebar outside that border?
    The look you see in the screenshot isn't professional at all
     
  6. Brogan

    Brogan XenForo Moderator Staff Member

    Are you using the Flexile theme?
    I don't have that installed so I'm not familiar with the templates.

    You would be better off asking in the dedicated thread for that style.
     
  7. jgas

    jgas Active Member

    Ok thanks!
     
  8. ArnyVee

    ArnyVee Well-Known Member

    Brogan, where within the templates would we add the "<xen:sidebar>" code?

    Will that take care of the 'recent activity' page as well?
     
  9. Brogan

    Brogan XenForo Moderator Staff Member

    You can add it anywhere but my suggestion would be before the main content div.

    The Recent Activity page already has a sidebar so I'm not sure what you mean.
     
    ArnyVee likes this.
  10. Sadik B

    Sadik B Well-Known Member

    Why do you fine folks not use xfrocks's Widget Framework?
     
  11. ArnyVee

    ArnyVee Well-Known Member

    Thanks.

    Yes, what I should've said is, how do I add certain blocks to the 'recent activity' page.
     
  12. Brogan

    Brogan XenForo Moderator Staff Member

    Ah, edit the news_feed_page_global template and add your content between the xen:sidebar tags.
     
    ArnyVee likes this.

Share This Page