Meister Posted February 22, 2018 Posted February 22, 2018 Hi, how to script the link hover for fluxcp wherein the menu bar shows different menu if account is already login. Let's say. Menu 1: (Account not logout) - Registration : downloads : vote and stuffs Menu 2: - Registration becomes Database : downloads : vote and stuffs
0 Akkarin Posted February 26, 2018 Posted February 26, 2018 <?php if ($session->isLoggedIn()): ?> <a href="<?php echo $this->url('account', 'login') ?>">Register / Login</a> : <?php else: ?> <a href="<?php echo $this->url('items', 'index') ?>">Database</a> : <?php endif;?> <a href="<?php echo $this->url('downloads', 'index') ?>">Downloads</a> : <a href="<?php echo $this->url('vote4points', 'link') ?>">Vote and Stuffs</a> 1
0 Foob Posted February 28, 2018 Posted February 28, 2018 (edited) Oh so need the end if then Edited February 28, 2018 by iAmGnome
Question
Meister
Hi,
how to script the link hover for fluxcp wherein the menu bar shows different menu if account is already login.
Let's say.
Menu 1: (Account not logout)
- Registration : downloads : vote and stuffs
Menu 2:
- Registration becomes Database : downloads : vote and stuffs
2 answers to this question
Recommended Posts