Hiding a category
3 posters
Page 1 of 1
Hiding a category
Hellow, i want to hide a category, the category with the foras should still be active, but not visible.. is such thing possible?
I dont mean the toggle way, where you can hide it with a plus / minus symbol by clicking on it.
This is due to a drop down menu i've installed, when using the drop down, it goes in front for the second drop down in the first category, this does that i cant proceed the use of the first drop down menu.
www.rosewille.danskforum.net
I dont mean the toggle way, where you can hide it with a plus / minus symbol by clicking on it.
This is due to a drop down menu i've installed, when using the drop down, it goes in front for the second drop down in the first category, this does that i cant proceed the use of the first drop down menu.
www.rosewille.danskforum.net
Re: Hiding a category
Hello ^^
Those codes are working with default templates.
It is up to you to change those codes if you removed too much from your original index_box.
Step one (javascript)
ACP > Modules > HTML & JAVASCRIPT > Javascript codes management
-> Create a new javascript
Title : anything explicit enough like "Hide some categories on home page"
Placement : In the home page
Code :
Hit submit
Step 2 (CSS)
ACP > Display > Pictures and colors > Colors > CSS Stylesheet
Add following code
Step 3 (HTML)
ACP > General > Forum > Categories and forums > on a sub-forum you want to hide
Add to the description (category or sub-forum)
fill image URL with (sub-forum only)
Those codes are working with default templates.
It is up to you to change those codes if you removed too much from your original index_box.
Step one (javascript)
ACP > Modules > HTML & JAVASCRIPT > Javascript codes management
-> Create a new javascript
Title : anything explicit enough like "Hide some categories on home page"
Placement : In the home page
Code :
- Code:
$(function() {
/* Add a class to some sub-forums */
$('img[src="http://hoster.com/anemptypicture.png"]').closest('tr').addClass('hidethis');
});
Hit submit
Step 2 (CSS)
ACP > Display > Pictures and colors > Colors > CSS Stylesheet
Add following code
- Code:
tr.hidethis td {
display: none;
}
Step 3 (HTML)
ACP > General > Forum > Categories and forums > on a sub-forum you want to hide
Add to the description (category or sub-forum)
- Code:
<img src="http://hoster.com/anemptypicture.png" />
fill image URL with (sub-forum only)
- Code:
http://hoster.com/anemptypicture.png
Re: Hiding a category
I cant see any javascript active on your main page.
Please make sure javascript is enabled on your forum
ACP > Modules > HTML & JAVASCRIPT > Javascript codes management
Please make sure javascript is enabled on your forum
ACP > Modules > HTML & JAVASCRIPT > Javascript codes management
Re: Hiding a category
I look it up when i get home. :3
Edit: I've just enabled it, but there's still no change.
Edit: I've just enabled it, but there's still no change.
Re: Hiding a category
Please force default templates to check if code works. Then enable templates again.
If it works with default template, please post your index_box here (but i dont think issue is coming from template since you still have a structure with basic tr and td).
If it still does not work, disable all your javascript codes to keep only the one i gave.
I see one js, but with at least 3 different codes mixed on it.
If it solves the problem we'll need to get the codes of each javascript to discover which one is causing some trouble.
Sorry for yesterday, didn't notice your edit
If it works with default template, please post your index_box here (but i dont think issue is coming from template since you still have a structure with basic tr and td).
If it still does not work, disable all your javascript codes to keep only the one i gave.
I see one js, but with at least 3 different codes mixed on it.
If it solves the problem we'll need to get the codes of each javascript to discover which one is causing some trouble.
Sorry for yesterday, didn't notice your edit
Re: Hiding a category
i dont know what you mean excatly Oo''
Could you please look at it? (:
And its okay ^^ would have been easier if i weren't forced to just write once per. day if there isn't any answers oo'' but what ever :3
Could you please look at it? (:
And its okay ^^ would have been easier if i weren't forced to just write once per. day if there isn't any answers oo'' but what ever :3
Re: Hiding a category
He means by basically having a code and no you cant hide it but i could tell that you should just create a regular forum and hide it.IdaTR wrote:i dont know what you mean excatly Oo''
Could you please look at it? (:
And its okay ^^ would have been easier if i weren't forced to just write once per. day if there isn't any answers oo'' but what ever :3
Re: Hiding a category
well right now i have created a regular forum... and its that forum i want to hide
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum