- Posts: 908
- Thank you received: 568
installation
- Linh Robert
-
- Offline
- Banned
-
Less
More
12 years 8 months ago #2120
by Linh Robert
How strange! Please make sure you have not "endif" missing.
Or you can paste REPLACE ALL code of file with this:
Thanks
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 www.omegatheme.com/member/
Replied by Linh Robert on topic Re: installation
erikken wrote: I modified the script as mentioned and now i get
Parse error: syntax error, unexpected $end in /home/ticop/public_html/templates/ot_ante/html/mod_login/default.php on line 38
the issue moved to line 38
How strange! Please make sure you have not "endif" missing.
Or you can paste REPLACE ALL code of file with this:
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')));
} ?>
</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; ?>
Thanks
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 www.omegatheme.com/member/
Please Log in or Create an account to join the conversation.
- Enrique Dixon
-
Topic Author
- Offline
- Fresh Boarder
-
Less
More
- Posts: 11
- Thank you received: 1
12 years 8 months ago #2123
by Enrique Dixon
Replied by Enrique Dixon on topic Re: installation
Let me tell you, that did the trick, it is now working
thanks a lot
thanks a lot
Please Log in or Create an account to join the conversation.
Time to create page: 0.189 seconds