
Andy
Enthusiast
Karma: -1 / +7

May 6, 2004, 9:56 AM
Post #9 of 12
(8944 views)
Shortcut
Send Andy a wink
|
|
Re: [jesus] I'm not using all the fields right now
[In reply to]
|
Can't Post
|
|
Hi. Unfortunatly you can't do this by default, but a simple modification will let you add template sets for categories; In /admin/Plugins/Multi_Categories.pm, replace;
$DB->table('Category')->update( { Description => $description, Meta_Description => $meta_description, Meta_Keywords => $meta_keywords }, { Full_Name => $cat_name } ); with...
$DB->table('Category')->update( { Description => $description, Meta_Description => $meta_description, Meta_Keywords => $meta_keywords, Category_Template => $category_template }, { Full_Name => $cat_name } ); ...and;
my ($cat_name,$description,$meta_description,$meta_keywords) = split /:::/, $_; ...with;
my ($cat_name,$description,$meta_description,$meta_keywords,$category_template) = split /:::/, $_; You would then use something like; /my/full_cat/name:::description:::meta_description:::meta_keywords:::templateset Let me know how that works for you :) Cheers Andy Programmer/Designer/LinksSQL Freak http://www.ultranerds.com http://www.imagesql.com
(This post was edited by Andy on May 6, 2004, 9:57 AM)
|