Unique Categories

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
rhibbert
Posts: 4
Joined: Sun Apr 09, 2006 4:23 pm

Unique Categories

Post by rhibbert »

I am just starting to play around with Serendipity and have installed version 1.0 Beta2

I want to create sub categories that have the same name, but are unrelated. Is this possible?

For example I want
Software
- Installation
- Configuration
Hardware
- Installation
- Configuration

as my categories. What do I need to change or are the categories required to have unique values? (Wordpress will let me do what I want)

Thanks
--
Richard
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Unique Categories

Post by garvinhicking »

Hi!

This behaviour has been changed in the 1.1 nightly code a few weeks ago, but not been backported to 1.0.

You can basically change it very easily by editing your include/admin/category.inc.php file and apply these changes:

http://svn.berlios.de/viewcvs/serendipi ... 944&r2=965
http://svn.berlios.de/viewcvs/serendipi ... 776&r2=944

HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply