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

Sidebar Only in XenPorta

elvamo

Active member
#1
I hope this in the right section, as I can make sideba, just look at the website and ocularlo in the rest of the site?

XenPorta:


Other sites the forum:
 

Brogan

XenForo moderator
Staff member
#2
I have moved the thread from suggestions to a more appropriate forum.
I'm not sure what it is you're asking though.

If it is related to the xenporta add-on then you will need to ask in the resource discussion thread for it.
 

elvamo

Active member
#3
I have moved the thread from suggestions to a more appropriate forum.
I'm not sure what it is you're asking though.

If it is related to the xenporta add-on then you will need to ask in the resource discussion thread for it.
not about XenPorta, it's about XenForo, love remove sidebar all XenForo.
 

Brogan

XenForo moderator
Staff member
#4
If you want to remove the sidebar from the forum index, edit the forum_list template and wrap the sidebar content with xen:comment tags like so:

HTML:
<xen:comment>
<xen:sidebar>
    ...
    </xen:hook>
</xen:sidebar>
</xen:comment>
 

elvamo

Active member
#5
If you want to remove the sidebar from the forum index, edit the forum_list template and wrap the sidebar content with xen:comment tags like so:

HTML:
<xen:comment>
<xen:sidebar>
    ...
    </xen:hook>
</xen:sidebar>
</xen:comment>
I deleted all the code you told me but still see the sidebar.
 

Martok

Well-known member
#6
I deleted all the code you told me but still see the sidebar.
@Brogan didn't tell you to delete it, he said wrap it in xen:comment tags. I suggest you revert the template to get the code back again and then follow his instructions. You've then got it there again for future reference in case you need it.


If you're still seeing the sidebar on the forums list page, it'll be because you are using a XenPorta customised layout for this. You will need to remove it first. The 'normal' sidebar will then be displayed and once you apply Brogan's code, the sidebar should disappear.

ACP > XenPorta > Options
In Globalised layouts, untick Index (this will remove the XenPorta layout for the forums list page)

You now need to remove the sidebar from the Portal page
Go to XenPorta > Layouts
Click on the Portal layout and remove all of the sidebar blocks
This will remove the sidebar from the portal page

If there is still a sidebar showing on the portal page, then you have edited the portal layout from the front page using the customise portal link. Click on this and reset the layout. After that, remove the Customise Portal permission from everyone as doing it both from the ACP and the portal page can muck things up.
 

elvamo

Active member
#7
@Brogan didn't tell you to delete it, he said wrap it in xen:comment tags. I suggest you revert the template to get the code back again and then follow his instructions. You've then got it there again for future reference in case you need it.


If you're still seeing the sidebar on the forums list page, it'll be because you are using a XenPorta customised layout for this. You will need to remove it first. The 'normal' sidebar will then be displayed and once you apply Brogan's code, the sidebar should disappear.

ACP > XenPorta > Options
In Globalised layouts, untick Index (this will remove the XenPorta layout for the forums list page)

You now need to remove the sidebar from the Portal page
Go to XenPorta > Layouts
Click on the Portal layout and remove all of the sidebar blocks
This will remove the sidebar from the portal page

If there is still a sidebar showing on the portal page, then you have edited the portal layout from the front page using the customise portal link. Click on this and reset the layout. After that, remove the Customise Portal permission from everyone as doing it both from the ACP and the portal page can muck things up.
1º The commented text is not displayed, I mean it's like to delete.
2º Do not want to remove it from XenPorta, I love remove the rest of the forum.
3º Thanks for responding.