Topic Closed

I was working on my theme, testing it, uploading, tweaking, re-uploading, testing. Suddenly the admin menu/toolbar disappeared. I realized that I had intentionally but unwittingly removed it by deleting the required element:

      <?php gpOutput::GetAdminLink(); ?>

I removed it as it is in my footer and I want to control my whole footer myself...this link gives me a sitemap and a login option. Instead, I want to have more control over look 'n' feel of my footer, and thought I would put those links in myself i.e. I don't need the software to give me the direct link itself...and even within that, while the Login is arguably "always" needed, the sitemap should be optional, no?

Is there a way to tell it to give me the toolbar but NOT the links? I already have to hack the code to give myself a 800x600 resolution for the admin menu, a second hack after upgrades won't affect me much.

Alternative I guess is to put it in the sidebar, although I really like my sidebar the way it is.

Or just above my menus? Can I at least suppress the sitemap? A single login / logout on the right side of my header might look okay...


12 years ago#275

Josh S.
2K Posts
16 Themes
18 Plugins

I understand completely where you are coming from, and I think it should be pretty easy to do without "hacking" the core.

The easiest way would be to just hide everything in GetAdminLink() with CSS.

In your template.php file

<div id="hidden">

<?php gpOutput::GetAdminLink(); ?>


In your style.css file


Then you can add a link to "Admin" for login at the top right of your template.php file

<a href="/index.php/Admin">Admin</a>

How does that look?

12 years ago#276

Worked perfectly! Thanks...


12 years ago#289

Topic Closed



elFinder 2.1.50 in Upcoming Release

A new release for Typesetter is in the works with a lot of improvements including the ... Read More

Typesetter 5.1

Typesetter 5.1 is now available for download. 5.1 includes bug fixes, UI/UX improvements, ... Read More

More News

creisi productions

Dienstleistungen von creisi productions, Ennetb├╝rgen (Schweiz): * Konzeption, Planung und Erstellung Ihres Internet-Auftritts * Betreuung und Aktualisierung/Pflege Ihrer Websi...

Find out more about our Provider Spotlight

Log In