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

Adding side panel to whats new page ?

Shadab

Well-known member
#2
You'll have to edit the "find_new_threads" template,
and wrap your sidebar content inside the: <xen:sidebar> ... </xen:sidebar> tags.

Place this at the end of the template:
Code:
<xen:sidebar>
	Hello World!
</xen:sidebar>
 

Lawrence

Well-known member
#3
How difficult would it be to add the side panel to the whats new page ?
Place Shadab's code at the bottom of the find_new_threads template. When there is something new the sidebar will show. FYI, if there is nothing new to display, the sidebar will not show as only the breadcrumb templates are loaded.
 
#4
Hmm yes, doesnt seem to work the way i wanted

I placed the following at the bottom (hoping to pull in the shoutbox, but didnt seem to work)

Code:
<xen:sidebar>

    <xen:edithint template="sidebar.css" />

    <xen:include template="sidebar_online_users" />

<xen:include template="dark_taigachat" />

<xen:include template="yilmaz_top_threads" />
</xen:sidebar>
 

Shadab

Well-known member
#5
That wouldn't work because the data required for those templates usually won't be available on the what's new page. For the "dark_taigachat" and "yilmaz_top_threads" templates, you'll need to contact the respective addon author.