You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
In your new layout file.
Offline
Yes everything is implemented correctly and it works as I have said in my previous post. The problem is that when links are used that have a rewrite mod applied to them the log in status is voided. So if you log in, the log in text switches to "log out" which is correct. If I navigate through my site using links that have not had the rewrite_mod applied too the text remains displaying "log out". If I click on a link which has had the rewrite mod applied to the log text switches back to "log in", which means that some imformation is not being passed correctly due to the re-write mod.
Offline
In this case, I will let Nick answer this question.
Offline
I'm implementing this right now as it's a great little addition.
However I'm concerned about the issue mentioned regarding the 'rewrite mod'.
What is this mod and how does it affect this login/out mod exactly? Is the 'rewrite mod' anything to do with the ATS SEO mod as this is something I plan to purchase in the next few days?
If anyone is using this login/out mod how is it working out for you? ... any issues?
Thanks in advance
Offline
Since implementing this I've noticed that the login-logout status keeps changing when it should not. I imagine this could be to do with the 'rewrite mod' mentioned in earlier posts. Not sure, but anyway I've put in place a JavaScript method instead that seems to work even better. Anyone is welcome to use this but per usual use it at your own risk...
I can't take total credit for this as its simply modified script from another post which uses the same method for a 'welcome mr.x' message on your store splash.
Its simply detects a cookie presence and sets the menu to login or logout accordingly.
<script language="JavaScript"><!--var cookiecheck; cookiecheck = escape('(CGIVAR)fd_tracking_firstname(/CGIVAR)','(CGIVAR)fd_tracking_lastname(/CGIVAR)');if ((cookiecheck == false) || (cookiecheck == null) || (cookiecheck == "")) {document.write("<A HREF='(CGIVAR)common_url_custacct(/CGIVAR)'>Login</A><BR><BR>"); } else { document.write("<A HREF='(CGIVAR)common_url_no_usr(/CGIVAR)&pg=ste_logout&usr=X'>Log Out</A><BR><BR>") } // --></script>
-- enjoy!
Offline
Hi,
anyone got this to work when you have the ATS SEO mod?
Cheers
Charlie
Mark - can you help with this please? thanks
Offline