Jump to content

  •  

Photo

FluxCP Admin menu wont show up.


  • Please log in to reply
No replies to this topic

#1 AsuraBro

AsuraBro

    Member

  • Members
  • PipPip
  • 10 posts
  • Github:AsuraBro

Posted 07 March 2015 - 10:29 AM

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 by AsuraBro, 07 March 2015 - 10:30 AM.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users


This topic has been visited by 43 user(s)