php - Popup Login Joomla Rockettheme -


i know not correct question dont know go, rocket forums wont accept guests :| i've followed tutorial on how add popup login , works except when click login button, nothing happens, displays "#" on url, login.php contains syntax code: href="#" i'm missing dont know what?

code login.php

    <?php defined('jpath_base') or die(); gantry_import('core.gantryfeature'); class gantryfeaturelogin extends gantryfeature {     var $_feature_name = 'login';     function render($position="") {         ob_start();         $user =& jfactory::getuser();         ?>         <div class="rt-block">             <div class="rt-popupmodule-button">             <?php if ($user->guest) : ?>                 <a href="#" class="buttontext button" rel="rokbox[355 385][module=rt-popuplogin]">                     <span class="desc"><?php echo $this->get('text'); ?></span>                 </a>             <?php else : ?>                 <a href="#" class="buttontext button" rel="rokbox[355 385][module=rt-popuplogin]">                     <span class="desc"><?php echo $this->get('logouttext'); ?> <?php echo jtext::sprintf($user->get('username')); ?></span>                 </a>             <?php endif; ?>             </div>         </div>         <?php         return ob_get_clean();     } }  <?php 

documentation: http://gantry-framework.org/documentation/joomla/tutorials/creating_popup_login.md

you need install rockettheme rokbox plugin first.

http://www.rockettheme.com/extensions-downloads/free/1005-rokbox

if installed, make sure published.


Comments