Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Customize ACP & Admin login redirect
#4
Thanks for the responses. I will definitely test plugins to accommodate necessary customization.
I will most likely end up writing a plugin for this too.

On a related note, I've made some progress outside of having to use css to hide elements.
For the Admin Tabs, I removed/added list items in /template/include-nav.php

eg, to remove the pages tab, delete/comment out: 
Code:
<li id="nav_pages" ><a class="pages" href="pages.php" accesskey="<?php echo find_accesskey(i18n_r('TAB_PAGES'));?>" ><?php i18n('TAB_PAGES');?></a></li>
The bonus to this approach is the existing tabs move into place of the ones removed

For the Admin Login redirect, I simply added a header() call in /pages.php,
placed after include('template/include-nav.php'), using, for instance: 
Code:
<?php # header( "Location: upload.php" ); # Admin Login redirects to uploads.php > pages.php ?>
Now I just have to see about the feature buttons, input/check boxes and other menus etc and obv have to conditional states for specific Admin's.

Please let me know if you think there are any potential flaws, bugs, and or holes that could occur as a result from using these approaches.

Thanks again
Reply


Messages In This Thread
RE: Customize ACP & Admin login redirect - by roy_b8te - 2016-10-17, 10:39:17



Users browsing this thread: 1 Guest(s)