PDA

View Full Version : Templates


K33nny
05-22-2003, 08:42 AM
Hello,

I'm working off another install file I used for a hack to accomplish something I want to do with the templates. Some of the hacks, you add alone and they aren't grouped so I'm making my best attempt to get them grouped. When I installed vB Links Directory 2.0 the hacks were filed under 'vB Links Directory' when you expand the style menu under the templates -> modify option.

The file I'm using to install newsportal templates (not vBhome vBPortal) was chopped up to do what I want. The templates get added to the database with no problems at all but they don't show up under the ones you can change, not even under custom templates.

I also added this under 'Start Modify' in admin/tempaltes.php:

$only['newsportal'] = 'Portal';

What might have I done wrong?

K33nny
05-22-2003, 09:03 AM
I figured out the problem. The templates were grouped in 'New Posting Templates' due to the $only['new'] = 'New Posting'; variable in templates.php.

You can lock this thread.