Jump to content
  • 0

Link Hover for Flux CP


Meister

Question


  • Group:  Members
  • Topic Count:  280
  • Topics Per Day:  0.06
  • Content Count:  841
  • Reputation:   17
  • Joined:  04/16/12
  • Last Seen:  

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

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Forum Manager
  • Topic Count:  282
  • Topics Per Day:  0.06
  • Content Count:  3121
  • Reputation:   1613
  • Joined:  03/26/12
  • Last Seen:  

	<?php if ($session->isLoggedIn()): ?>
		<a href="<?php echo $this->url('account', 'login') ?>">Register / Login</a>&nbsp;:&nbsp;
	<?php else: ?>
		<a href="<?php echo $this->url('items', 'index') ?>">Database</a>&nbsp;:&nbsp;
	<?php endif;?>
		<a href="<?php echo $this->url('downloads', 'index') ?>">Downloads</a>&nbsp;:&nbsp;
		<a href="<?php echo $this->url('vote4points', 'link') ?>">Vote and Stuffs</a>

 

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  46
  • Topics Per Day:  0.02
  • Content Count:  267
  • Reputation:   40
  • Joined:  01/19/17
  • Last Seen:  

Oh so need the end if then :D

Edited by iAmGnome
Link to comment
Share on other sites

×
×
  • Create New...