Jump to content
  • 0
Sign in to follow this  
NotKappa

FluxCP Admin menu wont show up.

Question

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

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.