Go Back   Pligg CMS Forum > Pligg Development > Pligg Templates > Template Support > "yget"

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-21-2007, 03:32 PM
New Pligger
 
Join Date: Feb 2007
Posts: 10
Thanks: 1
Thanked 0 Times in 0 Posts
"Top Today" and "Queued News" not showing when I mod yget

Hi!
Here's what I've done:

1.) created a new line for my new template "custom" in templates.tpl
2.) copied the contents of the "yget" folder to my new "custom" folder
3.) I changed the template to "custom" in the admin panel and it seems to work fine EXCEPT the "Top Today" and "Published News" boxes do not show. The "Categories" and the "RSS Feeds" boxes are there, but not the first two.

If I change the template back to "yget" they re-appear.

Is something inside or outside the template hard-coded to the "yget" folder?

Thanks!

(I posted this in general help before I realized yget had its own category. sorry! )
Reply With Quote
  #2 (permalink)  
Old 02-23-2007, 06:10 AM
darek's Avatar
New Pligger
 
Join Date: Feb 2007
Posts: 6
Thanks: 0
Thanked 2 Times in 1 Post
Hi
yget template is hardcoded in
sidebar_stories.php
sidebar_stories_u.php
in root directory, these two scripts are resposible for displaying these two titles/sections.
So if want to add custom template name you must add some condition in code of these scripts or
change its name to 'yget'
Reply With Quote
  #3 (permalink)  
Old 02-23-2007, 10:03 AM
New Pligger
 
Join Date: Feb 2007
Posts: 10
Thanks: 1
Thanked 0 Times in 0 Posts
Thank you!
Reply With Quote
  #4 (permalink)  
Old 02-23-2007, 11:55 AM
kbeeveer46's Avatar
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,547
Thanks: 254
Thanked 649 Times in 513 Posts
Yeah, sorry about that. We're are trying to figure out a way to solve this so that template names are not hard coded.
__________________
I accept donations for my time helping users like you on the forum and IRC.
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
"Top Today" and "Queued News/Published News" titles cannot be changed darek "yget" 1 02-23-2007 11:56 AM
"queued news" edit mightyb "Paul01" 2 11-22-2006 02:43 PM
how to change "queued news" to other language? manboo "Mollio-Beat" 1 10-19-2006 08:30 PM


Search Engine Friendly URLs by vBSEO 3.2.0