| Author |
Message |
benny_tllh New Member


Joined: Dec 29, 2006 Posts: 6
|
Posted:
Sun Feb 24, 2008 2:09 pm |
|
After using some NSN stuff like seninell it is realy annoying the way php-nuke "original" makes the admin menu on top of every admin page.
Like when going to modules u have to scroll "far" down, u dont need them because the submit button takes u back to the main admin panel anyway.
I usualy dont look at the admin panel much, but everytime i do that i press a button countless times before remembering the stuff comes under the menu = offscreen before scrolling.
Should be a easy fix, but as its only cosmetic and i dont go there much except when i upgrade i won't try to do it myself. |
|
|
|
 |
Guardian2003 Site Admin

Joined: Aug 28, 2003 Posts: 4581 Location: Slovakia - working my way around Eastern Europe
|
Posted:
Sun Feb 24, 2008 2:20 pm |
|
Just remove the GraphicAdmin() function in the page you want to lose the admin icons in. |
|
|
|
 |
benny_tllh New Member


Joined: Dec 29, 2006 Posts: 6
|
Posted:
Sun Feb 24, 2008 3:35 pm |
|
Will try that, just thought that it might be an idea, for when u remake the admin (i think i remember reading that somewhere) that u do it sentinel style.
Just spend 15 min where i couldnt make a change before i noticed it doesnt return to the menu there is a small confirm yes no out of screen DOH! Have forgotten that som many times u would think i had learned that leson. |
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 14946 Location: Kansas
|
Posted:
Sun Feb 24, 2008 4:17 pm |
|
|
|
 |
nextgen Client

Joined: Sep 28, 2006 Posts: 52
|
Posted:
Sun Feb 24, 2008 8:42 pm |
|
My friend i can alter your admin page for ya if you want me to. Would make it a bit tighter and neater. PM me a copy of your admin file and i will edit for you tonight and send it back to you in the afternoon tommorow for you to use. But if you do accept this from me i request that it stay with you ok ? |
|
|
|
 |
Guardian2003 Site Admin

Joined: Aug 28, 2003 Posts: 4581 Location: Slovakia - working my way around Eastern Europe
|
Posted:
Mon Feb 25, 2008 1:58 am |
|
If it is just the size of the admin area that's a concern, you can turn the icons of in the nuke admin area, this will leave you with just text links. |
|
|
|
 |
montego Site Admin

Joined: Aug 29, 2004 Posts: 7264 Location: Arizona
|
Posted:
Mon Feb 25, 2008 6:02 am |
|
This also is a pet-peave of mine so I will log this for future release consideration. |
|
|
|
 |
fkelly Moderator

Joined: Aug 30, 2005 Posts: 2064 Location: near Albany NY
|
Posted:
Mon Feb 25, 2008 11:21 am |
|
For those who are familiar with the programming behind this, it is interesting that the way the admin screen looks reflects the programming. By this I mean that every time you ask the overall admin screen to perform a function it goes rummaging back thru ALL THE admin directories looking for case and links files that match the op (operation) that you've requested. In other words, instead of just taking the op and finding directly the program that carries out that op, there are a whole bunch of file system reads and evaluation of if and case statements until it gets to one that matches.
If we are going to redo the appearance of the admin screen we should redo the programming logic behind it too. |
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 14946 Location: Kansas
|
Posted:
Mon Feb 25, 2008 11:38 am |
|
| fkelly wrote: | For those who are familiar with the programming behind this, it is interesting that the way the admin screen looks reflects the programming. By this I mean that every time you ask the overall admin screen to perform a function it goes rummaging back thru ALL THE admin directories looking for case and links files that match the op (operation) that you've requested. In other words, instead of just taking the op and finding directly the program that carries out that op, there are a whole bunch of file system reads and evaluation of if and case statements until it gets to one that matches.
If we are going to redo the appearance of the admin screen we should redo the programming logic behind it too. |
Absolutely! Thanks for volunteering?  |
|
|
|
 |
Guardian2003 Site Admin

Joined: Aug 28, 2003 Posts: 4581 Location: Slovakia - working my way around Eastern Europe
|
Posted:
Mon Feb 25, 2008 12:10 pm |
|
|
|
 |
montego Site Admin

Joined: Aug 29, 2004 Posts: 7264 Location: Arizona
|
Posted:
Tue Feb 26, 2008 7:39 am |
|
Yeah, and here I always have a simple change in mind and fkelly has to propose something far more useful, yet far more time consuming. Feel free when we get to 2.3.0 to take this one fkelly... I've already got the Issue created for this... |
|
|
|
 |
Guardian2003 Site Admin

Joined: Aug 28, 2003 Posts: 4581 Location: Slovakia - working my way around Eastern Europe
|
Posted:
Tue Feb 26, 2008 9:05 am |
|
I feel a 'Cycling around the world in 180 days" coming on  |
|
|
|
 |
spottedhog Regular


Joined: Jun 02, 2004 Posts: 85
|
Posted:
Thu Feb 28, 2008 11:09 am |
|
Here is what I use in my "fork":
| Code: | // GraphicAdmin();
OpenTable();
echo '<div class="titlebox"><a href="admin.php">', _GOTOADMINMENU ,'</a></div>';
CloseTable();
echo '<br />'; |
...then add the language variable to the language file.
OHHHH... class=titlebox titlebox centers and makes the text bold. |
|
|
|
 |
|
|
|
|