NotKappa 0 Posted March 7, 2015 (edited) Hello there, i just installed my flux cp and added a theme. But when i log into my admin account i cant see the admin menu, Normal players menu shows up. here is my files and settings, Header.php <div id="container"> <?php if ( $params->get('module') == 'main' AND $params->get('action') == 'index' ): ?> </div> <?php endif; ?> <div class="container<?php if( $params->get('module') == 'main' AND $params->get('action') == 'index' ) echo ""; else echo "Right"; ?>"> <?php if ($message=$session->getMessage()): ?> <p class="message"><?php echo htmlspecialchars($message) ?></p> <?php endif ?> <?php include 'main/submenu.php'; ?> <?php include 'main/pagemenu.php' ?> <?php if (in_array($params->get('module'), array('donate', 'purchase'))) include 'main/balance.php' ?> </div> Main/submenu.php <?php if (!defined('FLUX_ROOT')) exit; ?><?php $subMenuItems = $this->getSubMenuItems(); $menus = array() ?><?php if (!empty($subMenuItems)): ?> <div id="submenu">Menu: <?php foreach ($subMenuItems as $menuItem): ?> <?php $menus[] = sprintf('<a href="%s" class="sub-menu-item%s">%s</a>', $this->url($menuItem['module'], $menuItem['action']), $params->get('module') == $menuItem['module'] && $params->get('action') == $menuItem['action'] ? ' current-sub-menu' : '', htmlspecialchars($menuItem['name'])) ?> <?php endforeach ?> <?php echo implode(' / ', $menus) ?> </div><?php endif ?> :/ Edited March 7, 2015 by AsuraBro Quote Share this post Link to post Share on other sites
Hello there,
i just installed my flux cp and added a theme.
But when i log into my admin account i cant see the admin menu, Normal players menu shows up.
here is my files and settings,
Header.php
Main/submenu.php
:/
Edited by AsuraBroShare this post
Link to post
Share on other sites