Loading...
 

AdminCategoriesQuickFix

Quick-Fix for Admin Categories Formatting Issue

METHOD 1


In templates/tiki-admin_categories.tpl change the following:

On Line 19: <div class="tree" id="top">

Change that to <div class="tree">

For this method I edited the template that is used to display the page for Admin Categories, tiki-admin_categories.tpl. All I did was remove the id="top" from the <div> tag. That just removed the styling that was pushing the category navigation section off to the left side of the page. It now centers the category navigation section at the top of the page, while keeping it in the same style.

METHOD 2


In templates/tiki-admin_categories.tpl change the following:

On Line 19: <div class="tree" id="top">

Change that to <div class="cbox">


AND

On Line 20: <div class="treetitle">

Change that to <div class="cbox-title">


For this method I just edited the template to make the category navigation section of the page use the same style as the rest of the boxes on the page.

THE NOT-QUICK FIX


You can go into the .css file for a theme and edit the two styles:

div.tree

AND

div.tree#top

But if you want to change it in the .css files, you'll have to make the changes in the styles/whateverstyle.css file for each and every theme you want to use.

TIPS ABOUT EDITING TEMPLATES


The template used to display a page in Tiki always has a name matching the name of the .php file that generates the page. In this example, tiki-admin_categories.tpl is used to diplay the page tiki-admin_categories.php.

Editing the template like I did in this example changes the way the page looks in all themes, except in specific themes that use a modified version of the template (which would be stored in templates/styles/themename/tiki-whatever_template.tpl).

The template I editied in this example, templates/tiki-admin_categories.tpl, is used by default in all of the standard tiki Themes so it corrects the formatting in all themes without having to mess around in all the .css files.



Let me know if you need more help, I'm happy to help out any time I can.

Colorado


Page last modified on Monday 14 February 2005 02:08:44 GMT-0000

Upcoming Events

1)  21 Mar 2024 18:00 GMT-0000
Tiki Roundtable Meeting
2)  25 Mar 2024 17:00 GMT-0000
29th anniversary WikiBirthday (With Ward Cunningham)
3)  18 Apr 2024 18:00 GMT-0000
Tiki Roundtable Meeting
4)  16 May 2024 18:00 GMT-0000
Tiki Roundtable Meeting
5)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
8)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9) 
Tiki birthday
10)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting