
Re: Admin Sidebar Nav Links In ACP
That info will give me a little project to try to get through today.
As far as the menu goes, I think that was kind of stupid of the original author of said mod to do int he fist place. IMO, the best option after clicking management in the left nav links would have been to go tight to cash_config. Now the switching to sidebar nav in the config page, that can cause major issues if someone does not know how to get back to config to reset it so they are not stuck on 404 error pages.
I almost wonder if the masses would not like it better to go right to the cash_config as I mentioned? If not, I'm sure a guy can code it on his own time to by pass the double menu on one page. I think we are in the same thought process Mort.
Ill look in to those ADM paths tonight. My company that I have had from Wednesday til now just left so I'm gonna relax in the quietness (heavenly quietness) and then get to it here in a bit.
Thanks for the thoughts and tips. Much appreciated!
**EDIT**
Ok Mort here is a quick update. Thanks for that tpl edit. It made them links a simple description instead of a bad link now which to me, is perfectly acceptable and more so better off used than links as a 2nd menu anyhow.
Now while I was at it I found a couple more errors that I fixed.
This error is a bad footer link in cash currencies if you try to delete a currency.
The fix is to:
OPEN
plugins/cash/adm/cash_currencies.php
FIND (First Instance)
include('page_footer_admin.' . PHP_EXT);
REPLACE WITH
include(IP_ROOT_PATH . ADM . '/page_footer_admin.' . PHP_EXT);
FIND (2nd Instance)
include('page_footer_admin.' . PHP_EXT);
REPLACE WITH
include(IP_ROOT_PATH . ADM . '/page_footer_admin.' . PHP_EXT);
SAVE AND CLOSE FILE
This file also has 2 instances of ADM_TPL that MUST remain that way. It will bust the link to confirm_body.tpl if changed.
Same error as above this time in cash_reset.php
OPEN
plugins/cash/adm/cash_reset.php
FIND
include('page_footer_admin.' . PHP_EXT);
REPLACE WITH
include(IP_ROOT_PATH . ADM . '/page_footer_admin.' . PHP_EXT);
EOM CLOSE AND SAVE FILE
Also, the ADM_TPL instances in this file 2x MUST remain the same or will bust the links to confirm_body.tpl.
I still can not figure out how, when in cash_config one switches nav to sidebar, to fix the links to the files. Right now if I try it the links take me to 404 error pages. I can not find the links to fix them. Not sure which file it is.