Results 1 to 2 of 2
  1. #1
    Constant Pligger oobie11's Avatar
    Joined
    Apr 2009
    Posts
    148

    make sidebar2 show up on the story page

    I am trying to make it so the sidebar2.tpl shows up on the story page so that I can put the related stories in the sidebar. I have tried putting this in:
    Code:
    {if $pagename eq "story"}
    		{if count($related_story) neq 0}
    		<div class="headline">
    			<div class="sectiontitle">{#PLIGG_Visual_Story_RelatedStory#}</div>
    		</div>
    	<div id="related">	
    		<ol>
    			{section name=nr loop=$related_story}
    				<li><a href = "{$related_story[nr].url}">{$related_story[nr].link_title}</a></li> 
    			{/section}
    		</ol>
    	</div>
    		{/if}
    	{/if}
    What is wrong?
    Thanks.

  2. #2
    Pligg Developer chuckroast's Avatar
    Joined
    Jun 2006
    Posts
    5,478
    Check pligg.tpl
    I believe around line 95
    It' gives the conditional statements of where that column will show.

Similar Threads

  1. How to make the meta tag of the story page the story title
    By oobie11 in forum Questions & Comments
    Replies: 0
    Last Post: 02-20-2010, 12:32 AM
  2. Can somebody make this work in the sidebar2.tpl
    By janpatat in forum Questions & Comments
    Replies: 3
    Last Post: 11-15-2009, 10:49 PM
  3. How Do I make my front page story summaries bigger?
    By musicalmissionary in forum Questions & Comments
    Replies: 5
    Last Post: 07-18-2009, 09:38 PM
  4. Replies: 3
    Last Post: 10-12-2007, 11:22 PM
  5. Replies: 5
    Last Post: 05-07-2006, 05:22 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Pligg Modules and Pligg Templates from Pligg Pro Donate to Pligg CMS Dreamhost Web Hosting Host Gator Web Hosting