hello,
i seem to have deleted any instances of a logout - i have no way of logging out of my shop?
can you tell me where the html for this resides? i can see there are terms related to logout in:
catalog/language/english/account/logout.php
where is this called from? i need to put back a logout button in my shop!
i seem to have deleted any instances of a logout - i have no way of logging out of my shop?
can you tell me where the html for this resides? i can see there are terms related to logout in:
catalog/language/english/account/logout.php
where is this called from? i need to put back a logout button in my shop!
index.php?route=account/logout would be the link you are looking for.
OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter
This is what you really want.
<a href="<?php echo str_replace('&', '&', $logout); ?>"><?php echo $text_logout; ?></a>
<a href="<?php echo str_replace('&', '&', $logout); ?>"><?php echo $text_logout; ?></a>
This is a weird problem. I have multiple opencart stores under different domain names, but only one of it has this problem of not having a 'logout' button. The codes for is exactly the same.
However, when I add
I will get the following error message:
Code: Select all
catalog/view/theme/journal2/template/account
However, when I add
Code: Select all
<li><a href="<?php echo $logout; ?>"><?php echo $text_logout; ?></a></li>
Code: Select all
Notice: Undefined variable: text_logout in /catalog/view/theme/mytheme/template/account/account.tpl on line 24
Try this:
Code: Select all
<li><a href="index.php?route=account/logout">Logout of My Account</a></li>
Who is online
Users browsing this forum: No registered users and 98 guests