I want to remove category management toggle box . Some body assist which file i have to touch.
Jongos
✭
He's asked for the file... :)
Now knowing the module file he could :
you CAN hide page elements via CSS.
.CategoryFollowToggleBox { display:none; }
whu606
I'm not a SuperHero; I just like wearing tights... MVP
That's right - that's actually both of them.
The space indicates that (afaIk) the element takes rules from the Box class AND the CategoryFollowToggleBox.
You don't want to affect the Box rule, as that will affect all elements that have that rule.
So in your custom css file add a rule like this:
.CategoryFollowToggleBox {display: none;}
and the element won't display.
Answers
Go to the Dashboard
Forum - Categories -
tick box for 'Do not display the categories in the side panel.'
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •this is not what i am asking. i am asking to remove this : http://img860.imageshack.us/img860/3757/f56d2ae12126401f9a61def.png this comes in right side.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •@jongos can you help me with this?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •i can't view the image... maybe upload it somewhere else?
i guess you're talking about the one in the Dashboard, right?
get the picture uploaded...
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •@jongos here it is : http://s3.amazonaws.com/awesome_screenshot/1325809?AWSAccessKeyId=0R7FMW7AXRVCYMAPTPR2&Expires=1327066640&Signature=42q9Vpl+WCVGqhXtQgYGfoYykPY=
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •@todd i was waiting for you. Please help me with this. Seems like no one here know how to remove this.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •As22
I could simply post the answer, but then what have you learned?
You've posted a fair number of questions recently.
If you are going to alter your theme then you really need to get to grips with using something like Firebug in Firefox to inspect the elements you want to change.
Using that you can find what things are called in the css stylesheet.
Elements you don't want can be 'turned off' by applying 'display: none' to them.
If you want to experiment with theming, I uploaded a theme called annotated_css which shows you which rules change basic features of the forum.
- Spam
- Abuse
- Troll
1 • Off Topic Insightful 1Awesome LOL •not sure since i'm new myself, but here's my bet:
The module is : /applications/vanilla/modules/class.categoryfollowtogglemodule.php
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Jongos
I think it would be simpler to change the css in the stylesheet.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •@whu606 changing css won't help i think. I may be wrong. i am using inspect element but not able to remove that :-(
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •As22 Well I just did it with css on my test server!
I'm not trying to be difficult, honestly.
If you work it out for yourself you'll be so much further ahead.
What are the two names of the element class?
Come on, you can do this!
- Spam
- Abuse
- Troll
1 • Off Topic Insightful 1Awesome LOL •@whu66 one is Box CategoryFollowToggleBox ?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •@Jongos
the advantage for users of getting the hang of the css , and inspecting with Firebug, is that once they know how to do it, they can make most of the changes they want to to customize their theme.
- Spam
- Abuse
- Troll
1 • Off Topic Insightful 1Awesome LOL •Thanks @whu606 and @jongos :-)
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •i would like to add to my own comment, i dont want to mislead someone who might gonna read this discussion in the future.
I've just learnt that modules dont appear on all page, only on pages where it's controller calls for that module.
so if one want to remove the class.mymodule.php, he has to edit all controllers that call $this->AddModule('MyModule').
That is quite a messy for someone who is not even familiar with CSS, much less PHP.
Removing view files doesn't guarantee that modules are not gonna output anything because MyModule::ToString gonna get called.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •I can't find the css file where this command is located. I've searched for the last hour. I am using version vanilla-core-2-0-18-1.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •@newbie you have to add this in css file.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •@jongos so what do you suggest? I edited css file. Is this not the right way to do? To do it properly i have to be into that mess of removing all calls that controller making? right?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •I think I have about 50 or more css files in my vanilla-core-2-0-18-1 folder.
Which one is it?
I open the source window in the browser and the link is to the minify plug in I have. Unfortunately, there is no css file in the plugin folder. Minify must use php to modify it somewhere else. I could try and disable minify and look at the source that way.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •theme > Select your theme > design > here u will get custom.css . Put this line in this css
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Use Firefox+Firebug!
@As22 CSS is the cleanest way.
@newbie /applications/dashboard/design/style.css
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •newbie
To see the css files you are using in Firebug you will need to turn minify off (and possibly clear the cache folder.)
Don't start editing core Vanilla files!
To make changes to the files, copy them over to a custom folder.
So to create a custom theme follow these instructions: http://vanillaforums.org/docs/themequickstart
I would recommend starting with a blank css file , and just add in the rules you want to use to make the changes you need.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Thanks for the tip! I simply added the line .CategoryFollowToggleBox { display:none; } in my custom.css and the Category Management section was gone.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •