sidebar shakeit issues

Register an Account
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 11-01-2006, 07:19 PM
Casual Pligger
 
Join Date: Oct 2006
Posts: 33
hey,

im having a little problem. i want the sidebar shakeit stories to show on every page.

ie. the sidebar stories shows latest stories on all pages throughout the site except when you are viewing the queuednews and spy/sneak pages, on which i would like it to show the published news.

i've already tried getting rid of...
Quote:
{if $pagename eq "index" || $pagename eq "shakeit"}
{assign var=sidebar_module value="sidebar_stories"}{include file=$the_template_sidebar_modules."/wrapper.tpl"}
{/if}
and it kinda works. it places the stories on all pages but it removes the title of the sidebarstories module, so you're just left with what looks like a bunch of random links.

also, please please if someone can tell me how to get rid of that daft minus.gif/plus.gif on the sidebarstories i would be very grateful. i HATE it!

thanks alot.

ps. i cant seem to find the corresponding file for the sidebar stories. i've looked everywhere...

if i open sidebar_stories.tpl i get
Quote:
{* ----- show the sidebar stories box ----- *}
{php}include('sidebar_stories.php');{/php}
{* ---------------------------------------- *}


dave

Last edited by davebowker; 11-01-2006 at 07:25 PM.
Reply With Quote
  #2 (permalink)  
Old 11-01-2006, 07:32 PM
Casual Pligger
 
Join Date: Oct 2006
Posts: 66
remove <img src=minus.gif class=showstate onClick=expandcontent(this,'ss') />
in the file /libs/sidebarstories.php
Reply With Quote
  #3 (permalink)  
Old 11-01-2006, 07:48 PM
Casual Pligger
 
Join Date: Oct 2006
Posts: 33
thanks man. that little gif was annoying the crap outta me!

as far as getting the sidebarstories to show on every page i've played about and been able to get it on the pages i specify here....

Quote:
{if $pagename eq "index" || $pagename eq "shakeit" || $pagename eq "sneak" || $pagename eq "examplepagename"}
{assign var=sidebar_module value="sidebar_stories"}{include file=$the_template_sidebar_modules."/wrapper.tpl"}
{/if}
by just keep repeating that red bit with the names of all the pages i want it to show up on. there are a couple of problems with this.

1- theres a hell of alot of page to manually add

and when i do...

2- on the pages that i manually add, the title, be it 'queued' or 'published' depending on the page, does not show up.

hmmmmmmmmmmmmmmmmmmmmmssssss. not sure.

just after it showing up on all pages really. someone must be good enough at PHP to write an if else statment saying

show queued news on all pages except where those pages = sneak.php and shakeit.php


many thanks from a puzzled pligger

dave
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wistie sidebar issues (text overflows) eiro0701 Questions and Comments 4 03-27-2009 02:55 AM
Sidebar Friends Module with messaging and activity AnAlienHolakres3 Questions and Comments 31 02-09-2008 07:54 AM
Left and right sidebar for Pligg 9.6 JPR75 Questions and Comments 2 12-20-2007 06:25 PM
Nothing shows up in sidebar amazingronit Questions and Comments 5 12-15-2007 02:51 AM
Sorting out some issues... any help would be appreciated littledipper Questions and Comments 10 12-18-2006 07:18 AM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development