hi
the `printAdminToolbox()` function has been deprecated (since 1.4.5).
now, the AdminToolbox link is generated by `zp_apply_filter('theme_body_close');`
is there another way to add this AdminToolbox, and the link provided ?
for example, I wish to add it in the footer of my theme, or in the header.
maybe, use a specific icon with popover, to login, register and access to some tools, as the links provided by AdminToolbox)
Comments
If I supress it, how can I access to admintoolbox links ?
What is the problem with the tool box being fixed on the corner? No normal visitor sees it anyway.
it is no longer possible with the next release of zenphoto, and I have to change my theme accordingly.
in other words, if the only thing is to a add the admintoolbox, can I insert this filter anywhere in my code (in my header for example)?
Of course it is your theme so you "can" place it anywhere or even remove it else but then you may have to deal with complains if things may not work as expected.
Sorry, Vincent, I really don't understand why this is so important, The toolbox is a admin helper and not part of the theme actually.
Add the following to your css file:
`
#admin, #admin_data {
display: none;
}
`
Now you have divs with id #admin and #admin_data in body of your page, but they're not visible. You can now do whatever you want with that div - provided you're not afraid to use javascript
`zp_remove_filter('theme_body_close', 'adminToolbox');`
On the admin overview page there is a list of filters. This will show you which are registered. (Be sure you are on the 1.4.6 release since prior to that some filters were not properly shown.)
@sbillard: Ah, I somehow always forget you can do that…