Missing A Side Section

Discussion corner for Developers of Serendipity.
Post Reply
TedVon
Posts: 2
Joined: Sat Apr 04, 2009 1:12 am

Missing A Side Section

Post by TedVon »

I created a template with two side sections (in which the plugins reside). However, one of my side sections is not displaying (Side Section 2). When I look at the source code, I didn't see any of the plugins available. Additionally, I see an "End SIDE1" comment, but no "End SIDE2" comment. So I don't think the Section is being properly included.

Is there a standard file I should look at to find the problem?

Thanks
Don Chambers
Regular
Posts: 3652
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: Missing A Side Section

Post by Don Chambers »

Sidebar content is typically emitted by index.tpl with something like this:

Code: Select all

{serendipity_printSidebar side="left"}
{serendipity_printSidebar side="right"}
=Don=
TedVon
Posts: 2
Joined: Sat Apr 04, 2009 1:12 am

Re: Missing A Side Section

Post by TedVon »

I went through (one by one) and edited all of the index.tpl files and changed:

{if $rightSidebarElements > 0}
<td id="serendipityRightSideBar" valign="top"><div class="sideBarSpacer">{serendipity_printSidebar side="right"}</div></td>
{/if}

to <td id="serendipityRightSideBar" valign="top"><div class="sideBarSpacer">{serendipity_printSidebar side="right"}</div>

in an attempt to find the one that controls what's displayed on my site. However, nothing ever changed.

Where is the next place to look?

Thank you for your help.
Don Chambers
Regular
Posts: 3652
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: Missing A Side Section

Post by Don Chambers »

TedVon wrote:I went through (one by one) and edited all of the index.tpl files
Your template should only have ONE file named index.tpl... You originally stated that you created a template. Did you write your own? Did you modify an existing template?

It would be helpful if you provided a URL to your site.
=Don=
Post Reply