- Posts: 1
- Thank you received: 0
Using Ante but REgister/Login links are dead
- Jony Reese
- Topic Author
- Offline
- Fresh Boarder
Less
More
11 years 8 months ago #2032
by Jony Reese
Using Ante but REgister/Login links are dead was created by Jony Reese
peachfabcollections.com/index.php
This is the link
But if Register is clicked peachfabcollections.com/index.php/component/user/?view=register
or Login peachfabcollections.com/index.php/component/user/?view=login
Both links are dead..
Anybody can help?
Thanks
This is the link
But if Register is clicked peachfabcollections.com/index.php/component/user/?view=register
or Login peachfabcollections.com/index.php/component/user/?view=login
Both links are dead..
Anybody can help?
Thanks
Please Log in or Create an account to join the conversation.
- Linh Robert
- Offline
- Banned
Less
More
- Posts: 908
- Thank you received: 568
11 years 8 months ago - 11 years 8 months ago #2037
by Linh Robert
If you need to send us FTP access / host access, administrator access or any private information:
services(at)omegatheme(dot)com or drop a ticket Notice: Undefined variable: target in /home/omegatheme/public_html/components/com_kunena/template/aurelia/layouts/bbcode/url/default.php on line 32
> www.omegatheme.com/member/
Replied by Linh Robert on topic Re: Using Ante but REgister/Login links are dead
Hi,
Please open file /templates/ot_ante/html/mod_login/default.php and make sure the code looks like this (you can replace all by this code):
Please open file /templates/ot_ante/html/mod_login/default.php and make sure the code looks like this (you can replace all by this code):
Code:
<?php // no direct access
defined('_JEXEC') or die('Restricted access'); ?>
<?php if ($type == 'logout') : ?>
<form action="<?php echo JRoute::_('index.php', true, $params->get('usesecure')); ?>" method="post" id="login-form">
<?php if ($params->get('greeting')) : ?>
<div class="login-greeting">
<?php if($params->get('name') == 0) : {
echo JText::sprintf('MOD_LOGIN_HINAME', htmlspecialchars($user->get('name')));
} else : {
echo JText::sprintf('MOD_LOGIN_HINAME', htmlspecialchars($user->get('username')));
} endif; ?>
</div>
<?php endif; ?>
<div class="logout-button">
<input type="submit" name="Submit" class="button" value="<?php echo JText::_('JLOGOUT'); ?>" />
<input type="hidden" name="option" value="com_users" />
<input type="hidden" name="task" value="user.logout" />
<input type="hidden" name="return" value="<?php echo $return; ?>" />
<?php echo JHtml::_('form.token'); ?>
</div>
</form>
<?php else : ?>
<?php
$usersConfig = &JComponentHelper::getParams( 'com_users' );
if ($usersConfig->get('allowUserRegistration')) : ?>
<a href="<?php echo JRoute::_( 'index.php?option=com_users&view=registration' ); ?>">
<?php echo JText::_('REGISTER'); ?>
</a>
<span>|</span>
<?php endif; ?>
<a href="<?php echo JRoute::_( 'index.php?option=com_users&view=login' ); ?>">
<?php echo JText::_('LOGIN') ?>
</a>
<?php endif; ?>
If you need to send us FTP access / host access, administrator access or any private information:
services(at)omegatheme(dot)com or drop a ticket Notice: Undefined variable: target in /home/omegatheme/public_html/components/com_kunena/template/aurelia/layouts/bbcode/url/default.php on line 32
> www.omegatheme.com/member/
Last edit: 11 years 8 months ago by Linh Robert.
Please Log in or Create an account to join the conversation.
Time to create page: 0.260 seconds