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

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-05-2007, 03:18 PM
New Pligger
 
Join Date: Mar 2007
Posts: 6
Thanks: 0
Thanked 2 Times in 2 Posts
CAn you remove the Category box from the sidebar?

I tried removing the category box from the sidebar, but it broke using categories everywhere else.
Reply With Quote
  #2 (permalink)  
Old 04-05-2007, 03:20 PM
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
Remove this line from sidebar.tpl
Code:
{assign var=sidebar_module value="categories"}{include file=$the_template_sidebar_modules."/wrapper.tpl"}
__________________
I accept donations for my time helping users like you on the forum and IRC.
Reply With Quote
  #3 (permalink)  
Old 04-05-2007, 04:43 PM
New Pligger
 
Join Date: Mar 2007
Posts: 6
Thanks: 0
Thanked 2 Times in 2 Posts
Quote:
Originally Posted by kbeeveer46 View Post
Remove this line from sidebar.tpl
Code:
{assign var=sidebar_module value="categories"}{include file=$the_template_sidebar_modules."/wrapper.tpl"}
I tried that, but then I get this when I go into Admin->Category Management:

Warning: call_user_func_array() [function.call-user-func-array]: First argumented is expected to be a valid callback, '' was given in /class.template.php on line 694

for each category. Seems the tree building code needs the categories sidebar module loaded.
Reply With Quote
  #4 (permalink)  
Old 04-05-2007, 04:58 PM
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
Can anyone else reproduce rcrespin's error? Because I removed the sidebar categories on a test site and the category manager still works fine.
__________________
I accept donations for my time helping users like you on the forum and IRC.

Last edited by kbeeveer46; 04-05-2007 at 05:02 PM..
Reply With Quote
  #5 (permalink)  
Old 04-07-2007, 08:27 PM
Pligg Donor
 
Join Date: Oct 2006
Posts: 61
Thanks: 4
Thanked 3 Times in 2 Posts
I was able to reproduce this error. However, after clearing the files in templates_c this problem was resolved.
Reply With Quote
The Following User Says Thank You to LeoNel For This Useful Post:
  #6 (permalink)  
Old 04-09-2007, 12:18 PM
New Pligger
 
Join Date: Mar 2007
Posts: 6
Thanks: 0
Thanked 2 Times in 2 Posts
Thanks! I'll give that a try.
Reply With Quote
  #7 (permalink)  
Old 05-23-2007, 05:17 PM
eon eon is offline
Casual Pligger
 
Join Date: May 2007
Posts: 44
Thanks: 1
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by LeoNel View Post
I was able to reproduce this error. However, after clearing the files in templates_c this problem was resolved.
For some reason I was getting the call_user_func_array(): error on my search page.... and clearing the templates_c as mentioned above fixed it....

Thank you. That was buggn me bad.

Why does it casue that error though? It seems other things cause that error too from previous posts. be good to know how to fix it.
Reply With Quote
  #8 (permalink)  
Old 05-28-2007, 07:08 AM
Constant Pligger
 
Join Date: Apr 2007
Posts: 1,071
Thanks: 53
Thanked 25 Times in 23 Posts
Try a different approch:
Delete or rename ./templates/yget/sidebar_modules/categories.tpl.
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
Pligg Tutorial: How to Remove the word category from Pligg’s category URL’s pliggedit Modification Tutorials 3 11-19-2008 04:11 PM
Control of meta description - categories Divisive Cotton Suggestions 63 10-16-2008 01:02 AM
How to remove category names like "general" from url ibbpero Customization Assistance 0 08-03-2008 02:52 PM
Show Top Stories by Category in Sidebar - A How To TrailofDead Modification Tutorials 0 04-23-2007 09:30 PM
8.2 Category names in Sidebar using UTF-8 skara Bug Report 4 10-29-2006 01:41 AM


Search Engine Friendly URLs by vBSEO 3.2.0