Hello there! Welcome to Youjoomla Support Forums

We are Web Development Company specializing in Joomla Templates , Joomla Extensions and WordPress Themes development . You are not able to see some forum threads due to your memberhip level. To unlock all forums and special customer support please take few moments to signup . If you are just searching for free joomla templates , or free joomla extension support simply head to our Free Joomla Support forums and open a new thread. Our moderators will help you as soon as possible. To spead up the response time please take few seconds and go over forum rules

Have fun!

Great module, but I fixed a couple bugs..

04-09-2011, 11:29 PM
# 1 (permalink)
bestonia
Nice plugin, but i found and fixed two bugs in the j1.6 version:

1) there is no default option for login and logout redirection.
To fix this edit mod_yj_pop_login.xml file and change the following two field names to look like the following:

Code:

<field name="login" type="menuitem" default="" disable="separator" label="Login Redirection URL" description="PARAMLOGINREDIRECTURL">
    <option value="">JDEFAULT</option>
</field>
<field name="logout" type="menuitem" default="" disable="separator" label="Logout Redirection URL" description="PARAMLOGOUTREDIRECTURL">
    <option value="">JDEFAULT</option>
</field>
2) When I try to log out I get an invalid token error. This is because there is no token included in the logout form where there should be. To fix, edit /tmpl/default.php and add the following line of code to the form on about line 29

Code:

<?php echo JHtml::_('form.token'); ?>

Thanks for the plugin, its working a treat now.
Thread Tools
Display Modes

Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.

Members Login

Username
Password