Not Solved modcp & admincp menu variable
#1
Not Solved
i need help trying to figure out how to make the admincp & modcp flush with the rest of the menu buttons.

i am trying {$modcplink} & {$admincplink} i also tried 
<a href="{$mybb->settings['bburl']}/{$admin_dir}/index.php" class="admincp">


but to no avail, much help is appreciated.
[Image: 1TxkY1r.png]

]site: localhost trying to create a theme.
[Image: latest?cb=20140105190402]
Reply
#2
Not Solved
{$modcplink} gets its value from header_welcomeblock_member_moderator template
<li><a href="{$mybb->settings['bburl']}/modcp.php" class="modcp">{$lang->welcome_modcp}</a></li>

{$admincplink} gets its value from header_welcomeblock_member_admin template
<li><a href="{$mybb->settings['bburl']}/{$admin_dir}/index.php" class="admincp">{$lang->welcome_admin}</a></li>

you have to take care of li elements when you use them as menu items
Reply
#3
Not Solved
(2018-04-29, 05:34 AM).m. Wrote: {$modcplink} gets its value from header_welcomeblock_member_moderator template
<li><a href="{$mybb->settings['bburl']}/modcp.php" class="modcp">{$lang->welcome_modcp}</a></li>

{$admincplink} gets its value from header_welcomeblock_member_admin template
<li><a href="{$mybb->settings['bburl']}/{$admin_dir}/index.php" class="admincp">{$lang->welcome_admin}</a></li>

you have to take care of li elements when you use them as menu items

got it working thanks.
[Image: latest?cb=20140105190402]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)