Social Web CMS
February 09, 2010, 06:43:29 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: We have reinvented SocialWebCMS as HotaruCMS, which is available to download from http://hotarucms.org.
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Category Bar Module v.0.3  (Read 1960 times)
Nick
Administrator
Hero Member
*****
Offline Offline

Posts: 668



View Profile WWW
« on: February 14, 2009, 12:27:04 pm »

Category Bar v0.3
Created by: Nick Ramsay, with thanks to Geoserv (http://www.pliggs.com)
Created on: 2009/02/14
Requires: None

Description
Uses Suckerfish to create a horizontal drop-down menu for categories. I took Geoserv's work from his Pliggie template and turned it into a module with the following twist: The links always point to the categories for published stories except when on the upcoming page, in which case they point to the categories for upcoming stories.

Instructions
1. Upload the "category_bar" folder and enable it in Module Management.
2. Open "header.tpl" or "pligg.tpl" in your template folder and add this wherever you want the categories to show:
Code:
{checkActionsTpl location="tpl_category_bar"}
3. Edit the css stylesheet in the module's css folder.

Revision History
v0.3 2009/02/18 Nick - Bug fix for different broken url problems.
v0.2 2009/02/15 Nick - Bug fix for broken urls in category names with spaces.
v0.1 2009/02/14 Nick - First version

* category_bar.zip (18.3 KB - downloaded 115 times.)
« Last Edit: February 18, 2009, 07:20:20 am by Nick » Logged

Reinventing SWCMS at HotaruCMS.org - testers, designers and developers wanted!
Geoserv
Global Moderator
Jr. Member
*****
Offline Offline

Posts: 65



View Profile WWW
« Reply #1 on: February 14, 2009, 08:41:30 pm »

This is fantastic.  Good job and happy to add to the project and actually have develops show appreciation for it.


Geoserv.
Logged

Nick
Administrator
Hero Member
*****
Offline Offline

Posts: 668



View Profile WWW
« Reply #2 on: February 14, 2009, 10:34:00 pm »

Category Bar module updated to v.0.2

Changes
- Changed category_name to category_safe_name in category_bar_main.php to fix broken urls in names with spaces.
Logged

Reinventing SWCMS at HotaruCMS.org - testers, designers and developers wanted!
Nick
Administrator
Hero Member
*****
Offline Offline

Posts: 668



View Profile WWW
« Reply #3 on: February 18, 2009, 07:22:33 am »

Category Bar module updated to v.0.3

Changes
- Another bug fix for broken url problems.
Logged

Reinventing SWCMS at HotaruCMS.org - testers, designers and developers wanted!
Dieselmos
Newbie
*
Offline Offline

Posts: 1


View Profile
« Reply #4 on: March 14, 2009, 04:29:40 pm »

Hi!

I dont know if this bugg i have found is the module or the theme. I use the standard theme yget.



In internet explorer the sub categorys dont show if they are so many that they go over the content.
Is it the theme or the module  Shocked

Logged
Nick
Administrator
Hero Member
*****
Offline Offline

Posts: 668



View Profile WWW
« Reply #5 on: March 16, 2009, 01:15:32 am »

I can confirm that this is a bug. In IE7 the drop-down menu gets hidden by the main yget content box. I don't know how to fix it yet, though!  Embarrassed
Logged

Reinventing SWCMS at HotaruCMS.org - testers, designers and developers wanted!
catchpen
Administrator
Sr. Member
*****
Offline Offline

Posts: 399



View Profile WWW
« Reply #6 on: March 16, 2009, 07:33:39 am »

z-index:1 ?
(along with assigning position property)
« Last Edit: March 16, 2009, 07:36:03 am by catchpen » Logged

davemackey
Administrator
Sr. Member
*****
Offline Offline

Posts: 271



View Profile WWW
« Reply #7 on: April 04, 2009, 10:33:48 pm »

This is a sweet module. I love drop-down menus. Smiley
Logged

- http://www.informednetworker.com/ - Informed Networker - Social News for IT Professionals.
mupet
Newbie
*
Offline Offline

Posts: 6


View Profile
« Reply #8 on: April 13, 2009, 04:49:17 am »

I get this error

Fatal error: TPL: [in ../modules/category_bar/templates/category_bar.tpl line 0]: syntax error: file '.tpl' does not exist in
Any idea how to fix it?
Thanks
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!