.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Adding the following code:
to the very beginning of YOUR_ADMIN/includes/keepalive_module.php should do the trick.PHP Code:
if(!in_array('header.php', array_map('basename', get_included_files())))
return;
~J~ | ZenCart SEO Module
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Hi I'm new to Zen cart and i think I'm doing pretty well, i normally dont like addons since they tend to slow down or get way too much crowded in my opinion, i like it clean simple and fresh, but i was looking for a anti log-out for admin page, i found yours, which by the way is great, tho i would prefer it not to force navigate to the site when the time runs out, since it can be frustrating working with other online documents and suddenly it moves away from that ;)
I Came here to say that i also got issues with blank pages, when logging in to admin page after i installed this addon, also when duplication products in same groups, it would give me the blank pages, however the cmd was sent successful to the server to demand duplicate but given blank pages all the time.
I'm using Firefox 28 if that helps you in anyways and I'm using the latest version of Zen Cart 1.5.1 as of this date 11-04-2014/eu date format with the theme "black pure free"
If you're getting blank pages, you'll need to sort out whatever PHP errors are happening as a result. See your /logs/ folder.
http://www.zen-cart.com/content.php?124-blank-page
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Is there any way to adapt this to work for the main site? I am looking to display the same idle warning to logged in customers. I have tried and failed..... any help would be great :o)
Running zc 1.5.3
We Fix Information Technology - we're making I.T. simple!
www.wefixitonline.co.uk
The issue is with the November 2013 (v1.0) update, where an initialization script was added to load the keepalive_module.php. Since that module outputs a <div>, that's where the error originates. Using the previous (beta0.3) version corrects the issue (albeit with a single-line modification to the admin's /includes/header.php).
Just remember, don't use this plugin for Zen Cart v1.5.2 and later ... it's already included!
Bookmarks