Thanks Kevin,
I think I have found the detect part by looking at a login box module.
(!tep_session_is_registered('customer_id')) {
but I dont think Ive the knowledge to implement the php within javascript.
could I just edit the menu_data.js javascript to include a php code i.e. put it ...
Search found 2 matches
- Mon May 23, 2005 11:49 am
- Forum: Help & Support for DHTML Menu Version 5+
- Topic: Changing menu item according to login state
- Replies: 2
- Views: 2931
- Mon May 23, 2005 1:31 am
- Forum: Help & Support for DHTML Menu Version 5+
- Topic: Changing menu item according to login state
- Replies: 2
- Views: 2931
Changing menu item according to login state
Hi I am integrating milonic menu (follow scroll type menu) with my oscommerce shop.
The thing I would like to do is have a menu item which if a customer wishes to log in, the menu item reads "log in" (default) and if logged in, this then changes to "log out" and links to a file called logoff.php ...
The thing I would like to do is have a menu item which if a customer wishes to log in, the menu item reads "log in" (default) and if logged in, this then changes to "log out" and links to a file called logoff.php ...