Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter

Categories

In this Discussion

Who's Online 21

BulliesofNCCurtisOdenericgilletteesttc74 +16 guests

Remove Category Management from right

I want to remove category management toggle box . Some body assist which file i have to touch.

Comments

  • Posts: 346

    Go to the Dashboard

    Forum - Categories -

    tick box for 'Do not display the categories in the side panel.'

  • Posts: 32

    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.

  • Posts: 32

    @jongos can you help me with this?

  • Posts: 78

    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...

  • Posts: 32

    @todd i was waiting for you. Please help me with this. Seems like no one here know how to remove this.

  • Posts: 346 1 like

    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.

  • Posts: 78

    not sure since i'm new myself, but here's my bet:

    The module is : /applications/vanilla/modules/class.categoryfollowtogglemodule.php

  • Posts: 346

    Jongos

    I think it would be simpler to change the css in the stylesheet.

  • Posts: 32

    @whu606 changing css won't help i think. I may be wrong. i am using inspect element but not able to remove that :-(

  • Posts: 346 1 like

    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!

  • Posts: 32

    @whu66 one is Box CategoryFollowToggleBox ?

  • Posts: 78 Accepted Answer 2 likes

    @whu606

    He's asked for the file... :)

    Now knowing the module file he could :

    1. remove the module & view... (make his Vanilla lighter)
    2. find the view file and make it output nothing.
    3. hide it via css

    @As22

    you CAN hide page elements via CSS.

    .CategoryFollowToggleBox { display:none; }

  • Posts: 346 Accepted Answer

    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.

  • Posts: 346 1 like

    @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.

  • Posts: 32

    Thanks @whu606 and @jongos :-)

  • Posts: 78

    i would like to add to my own comment, i dont want to mislead someone who might gonna read this discussion in the future.

    Now knowing the module file he could :

    remove the module & view... (make his Vanilla lighter)

    find the view file and make it output nothing.

    hide it via css

    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.

  • Posts: 16

    .CategoryFollowToggleBox {display: none;}

    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.

  • Posts: 32

    @newbie you have to add this in css file.

  • Posts: 32

    @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?

  • Posts: 16

    @newbie you have to add this in css file.

    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.

  • Posts: 32

    theme > Select your theme > design > here u will get custom.css . Put this line in this css

  • Posts: 78

    Use Firefox+Firebug!


    @As22 CSS is the cleanest way.

    @newbie /applications/dashboard/design/style.css

  • Posts: 346

    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.

Sign In or Register to comment.