Go Back   Pligg CMS Forum > Pligg Development > Pligg Templates > Template Support > Old Templates > "Digital Nature"

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-19-2007, 12:17 AM
Casual Pligger
 
Join Date: Jan 2006
Posts: 77
Thanks: 0
Thanked 1 Time in 1 Post
How to enable the upcoming stories in sidebar?

I have noticed on a number of other pligg sites that the sidebar is working for upcoming/queued news on the front page int he sidebar. I have looked at the files and nothing obvious is standing out. Is there a secret to get this module up and running within the Digital Nature template?

Thanks,
Reply With Quote
  #2 (permalink)  
Old 03-19-2007, 12:40 AM
onelessthang's Avatar
Constant Pligger
 
Join Date: Feb 2007
Location: Dallas, TX - USA
Posts: 120
Thanks: 39
Thanked 32 Times in 16 Posts
What is your website and what version of Pligg are you using?
Reply With Quote
  #3 (permalink)  
Old 03-19-2007, 12:46 AM
Casual Pligger
 
Join Date: Jan 2006
Posts: 77
Thanks: 0
Thanked 1 Time in 1 Post
Hi there,

I am using 9.1 if that helps, sorry I did not mention it earlier.

In the .js file for the special effects for the sidebar all of the other functions seem to be enabled but an entry for the upcoming stories sidebar does not exist.

Any thoughts are appreciated.
Reply With Quote
  #4 (permalink)  
Old 03-31-2007, 03:08 PM
New Pligger
 
Join Date: Jan 2007
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Yeah, I'm also wondering could this be done and how in digital nature. I'm using 9.0 version.
Reply With Quote
  #5 (permalink)  
Old 04-13-2007, 09:10 AM
unu unu is offline
Casual Pligger
 
Join Date: Nov 2006
Posts: 54
Thanks: 1
Thanked 25 Times in 9 Posts
somewhere in sidebar.tpl place:

{assign var=sidebar_module value="sidebar_stories"}{include file=$the_template_sidebar_modules."/sidebar_stories.tpl"}

but you will need to add some css for that module too...
Reply With Quote
  #6 (permalink)  
Old 04-13-2007, 09:11 AM
Banned
Pligg Version: 9.8.
Pligg Template: Custom
 
Join Date: Feb 2007
Location: Canada
Posts: 849
Thanks: 74
Thanked 49 Times in 45 Posts
I tried this a while ago, very complicated, the sidebar effects wouldn't work on it, I got rid of it.

unu if you have the complete step by step, that would help.

Geoserv.
Reply With Quote
  #7 (permalink)  
Old 04-22-2007, 09:16 AM
unu unu is offline
Casual Pligger
 
Join Date: Nov 2006
Posts: 54
Thanks: 1
Thanked 25 Times in 9 Posts
I think someone posted a short tutorial on how to add a sidebar box, its somewhere in these threads.

basically, you have to edit sidebarfx.js and add another entry for the upcoming section.

in the rules array, see the other entries and add one for upcoming:

PHP Code:
'#upcomingbox h1' : function(el){
    
el.onclick................................ 
just copy/paste a previous one and change the variable names.

near the end of file, add the box id:
boxIds = $("rssbox","tagbox","categorybox","loginbox","side navbox","aboutbox", "upcomingbox");

and finally add the html in sidebar_stories.tpl - see for example the about.tpl sidebar module - just change the names...
Reply With Quote
  #8 (permalink)  
Old 12-13-2007, 08:10 AM
New Pligger
Pligg Version: 9.8.2
Pligg Template: default
 
Join Date: Dec 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks. I have tried different things - but what you wrote works
Reply With Quote
  #9 (permalink)  
Old 12-15-2007, 07:11 PM
New Pligger
Pligg Version: 9
Pligg Template: 99
 
Join Date: Dec 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks...

Thanks for good example.
Reply With Quote
Reply

Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
Delete All Upcoming Stories Except The Last 50 rossoonline General Help 2 08-06-2008 04:27 AM
Discard upcoming stories that are not published after a certain amount of time ablaye Modification Tutorials 4 01-21-2008 02:10 AM
Discard old upcoming stories ablaye General Help 2 12-14-2007 12:51 AM
Special message if no stories on upcoming page? tangmonkey General Help 1 11-15-2007 12:59 PM
[MOD] Showing # of Upcoming Stories in v9.6 abcdefgary Modification Tutorials 10 08-01-2007 05:13 AM


Search Engine Friendly URLs by vBSEO 3.2.0