Directory Statistics
Active Directories:
Pending Directories:
Rejected Directories:

Categories:
Unique Outgoing Hits:
539
38
606

75
24198

Pagerank Statistics
PR 7
   
1 site(s)
PR 6
   
4 site(s)
PR 5
   
7 site(s)
PR 4
   
32 site(s)
PR 3
   
55 site(s)
PR 2
   
47 site(s)
PR 1
   
26 site(s)
PR 0
   
367 site(s)

Regional Directories

Niche Directories

Removing Additional Categories

 Wednesday, September 26th, 2007
Mods Compatibility
IndexU 5.4.X
IndexU Deluxe
??

When submitting to IndexU based directories, you'll notice the "additional categories" field. This is great feature and many people like it, including me :). But some people do not like it and prefer simplicity with one category only. So here is how to remove the "additional categories" in IndexU safely. No source code modified, only the templates and javascript file.

First, you'll need to modify the following templates (I assume that the "kosmos" template is active) :
/themes/kosmos/add_form.html
/themes/kosmos/modify_form.html
/themes/kosmos/cp/link_modify_form.html

Remove the "additional categories" field :

Content visible to member only. Please register or login first.

Then, you'll need to adjust the /themes/kosmos/ajax.js a little bit to to prevent javascript error.
Change :

Content visible to member only. Please register or login first.

To :

Content visible to member only. Please register or login first.

Done :)

That should be enough, but if you want to adjust the editors and admin form too, then you'll also need to remove the "additional categories" field from the following templates :
/admin_tpl/link_add_form.html
/admin_tpl/link_edit_form.html
/admin_tpl/link_validate_edit_form.html
/themes/kosmos/cp/editor_link_edit_form.html
/themes/kosmos/cp/editor_link_validate_edit_form.html

Ok, that's it.
I hope this tips useful for you.

Leave a Reply