[MOD] Categories in header like Digg (useful if you have subcategories)

Register an Account
Reply
 
Thread Tools Display Modes
  #31 (permalink)  
Old 07-15-2007, 08:37 AM
Constant Pligger
 
Join Date: Apr 2007
Posts: 1,042
The relevant thing is the drop-down list inside the sidebar :-)
Reply With Quote
  #32 (permalink)  
Old 07-15-2007, 10:52 AM
dollars5's Avatar
Pligg Donor
 
Join Date: Dec 2006
Location: India
Posts: 1,960
Thanks manager456, I have updated the main thread to include your code.
I thought of spending some time on Monday while at office on it - but you saved my time - Good job man.
Reply With Quote
  #33 (permalink)  
Old 07-15-2007, 12:53 PM
New Pligger
 
Join Date: Jul 2007
Posts: 15
Quote:
Originally Posted by tbones View Post
The relevant thing is the drop-down list inside the sidebar :-)
@tbones

tbones, please copy the code below and replace the entire code in "categories.tpl"

Categories.tpl is available inside templates>yget>sidebar_modules.

Make sure to make a back up of your original files before you change anything.
Also before testing, close your browser, flush out the entire contents of template_c folder, remove all the cookies in your browser and then open your browser to test.

Hope this helps.

Edit:

The Code is available at:

http://forums.pligg.com/pligg-mods/7...html#post34916

Last edited by manager456; 07-16-2007 at 06:29 AM. Reason: Code Modified
Reply With Quote
  #34 (permalink)  
Old 07-15-2007, 01:12 PM
Constant Pligger
 
Join Date: Apr 2007
Posts: 1,042
Thank you manager456,
I would suggest to open a new thread "Category sidebar: drop-down list" with this code otherwise it gets probably lost :-)

-I think PLIGG_Visual_Submit2_Category is redundant because the sidebar headline says the same.
-I would suggest a wider list field (about 3/4 of the category width).
-The links don´t work.

Edit: Could you provide a localization possibility for "all"?
Additionally, just if you want, you can try to colourize the main categories (http://forums.pligg.com/pligg-mods/7...html#post34755)

Last edited by tbones; 07-15-2007 at 03:10 PM.
Reply With Quote
  #35 (permalink)  
Old 07-15-2007, 02:50 PM
New Pligger
 
Join Date: Jul 2007
Posts: 15
Thanks for your feedback.
I forgot the links.
I will work on it tommorrow while in my office and make the necessary modifications.

Cheers

Reply With Quote
  #36 (permalink)  
Old 07-15-2007, 02:54 PM
Constant Pligger
 
Join Date: Apr 2007
Posts: 1,042
I guess the community appreciate your work!

Thanks a lot! :-)
Reply With Quote
  #37 (permalink)  
Old 07-15-2007, 05:29 PM
Adaman's Avatar
Constant Pligger/Designer
Pligg Version: v9.8.2
Pligg Template: Custom
 
Join Date: Jan 2007
Location: Scotland
Posts: 101
@manager456

Thanks m8 i couldn't figure it out lol It's now Working perfectly since your changes with upcoming categories as you can see on my site http://www.p2pvine.info/. I still have some CSS to complete but basically it's working fine, really appreciate your fix and so fast

Don't you just love Open Source, this is the way it should be with everyone co-operating towards a wider goal.

Ads
Reply With Quote
  #38 (permalink)  
Old 07-16-2007, 12:58 AM
New Pligger
 
Join Date: Jul 2007
Posts: 15
The credit and thanks for the "Categories in Header Script" goes to Dollars5. He is the one who created this mod for us. I just did a little bit of tweaking to his code.
Many thanks to you Dollars5. for the code.
Cheers to all

@adaman

Adaman your site looks awesome. Excellent Work!

Last edited by manager456; 07-16-2007 at 01:01 AM.
Reply With Quote
  #39 (permalink)  
Old 07-16-2007, 02:59 AM
nzbullet's Avatar
Constant Pligger/Coder
 
Join Date: Jun 2007
Location: New Zealand
Posts: 115
Does anyone know if the subcategories can display via javascript so that the page doesn't have to refresh? Is this possible? A bit like the login in the header where it drops down after you click login
Reply With Quote
  #40 (permalink)  
Old 07-16-2007, 06:19 AM
New Pligger
 
Join Date: Jul 2007
Posts: 15
@tbones

tbones, please check this thread:

http://forums.pligg.com/pligg-mods/7...html#post34916



Cheers
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[MOD] Submit-step2 Digg like categories selection with radio button dollars5 Questions and Comments 73 04-02-2011 09:29 PM
Shredit - Categories on header? b4ifuru18 Questions and Comments 2 07-22-2009 10:13 PM
In 1.0RC5 - Digg like categories in Submit-step2 selection with radio button arif1999 Questions and Comments 1 07-02-2009 11:46 AM
HELP: Drop Down Categories in Header Tutorial for ver 9.9.5 arkasun Questions and Comments 3 10-19-2008 10:39 PM
Categories like in Digg rhythm Questions and Comments 7 05-26-2007 03:14 PM


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