Recent Topics

1 Jan 12, 2006 14:56    

is there any function to disable a toolbar dinamically?
I know exist display() function, but is there any function to disable a toolbar?

2 Jan 12, 2006 22:00

The toolbars are plugins. You could just remove the file for that plugin in the plugins folder. In the upcoming version of b2evolution you can disable plugins in the backoffice, but for 0.9.1 or earlier you need to work with the file.

3 Jan 12, 2006 22:23

Thanks for your answer.

But I want to disable() a toolbar dinamically but next if you push a button, the toolbar has to appear again. I do that with javascript and I'm trying to disable a (hide) a toolbar easy with a function. That function is what I'm looking for.

Waiting your help!

4 Jan 12, 2006 22:25

Ok, I see. I don't know much about JS, so I can't really help you. Sorry. Maybe someone else will come along and help you.

5 Jan 13, 2006 17:59

pumuki, I don't really understand what you want to disable/hide, but usually the following works fine, if you have an html-ID attribute for the element to hide.


<script type="text/javascript">
document.getElementById( "html_ID" ).style.display = 'none';
</script>

To display the element again, just do:


<script type="text/javascript">
document.getElementById( "html_ID" ).style.display = '';
</script>


Form is loading...