Re: Ultimate SEO 2.200+ (new features)
Quote:
Originally Posted by
lhungil
Code:
<!-- BACK BUTTON GENERATED <?php
if(sizeof($_SESSION['navigation']->path)-2 >= 0) {
$back = sizeof($_SESSION['navigation']->path)-2; ?>
SESSION PAGE: <?php echo $_SESSION['navigation']->path[$back]['page']; ?>
SESSION PARAMS: <?php echo zen_array_to_string($_SESSION['navigation']->path[$back]['get'], array('action'); ?>
SESSION CONNECTION: <?php echo $_SESSION['navigation']->path[$back]['mode']; ?>
GENERATED LINK: <?php echo zen_href_link($_SESSION['navigation']->path[$back]['page'],zen_array_to_string($_SESSION['navigation']->path[$back]['get'], array('action')), $_SESSION['navigation']->path[$back]['mode']);
} ?>
-->
I guess I don't know where to add this code.
I'm trying to test it on my Page 2 on this site here:
http://www.promdressesforless.us/page_2.html
I currently have the code on templates/estorenow/templates/tpl_page_2_default.php but the page went blank and cut off my footer area.
I also tried modules/pages and again under languages but got internal server error on those.
Where exactly do we add this? Thanks.
Re: Ultimate SEO 2.200 (new features) [Support Thread]
Nope, probably isn't IH.
I have two more demo sites - more serious so less messing around - that I recently installed Ultimate SEO on.
http://www.webdivision.prommart.com/...h_id=barebones
http://www.prom-mart.com/demo-3/?tem...h_id=estorenow
Both sites use template switcher and IH4. One has the Dynamic Filter. One of the templates is Estorenow (same template as on my problem site). The back button WORKS on both sites in Chrome and without the fix.
Only a problem for me in Chrome. Can't figure it out. But perhaps the pop-up Terms on page two of checkout that I recently discovered and got working on one of my sites will solve the back button problem during checkout, so customers don't get lost. I think that the main issue.
EDIT: My barebones site in first link with Dynamic Filter even works in Chrome with the backbutton.
Re: Ultimate SEO 2.200 (new features) [Support Thread]
Those templates are not a "fix" they just can be used to provide additional debugging information relating to the generation of the back button. With the changes in those templates, the following can be found in the generated website source code right above the generated back button.
Code:
<!-- BACK BUTTON GENERATED
SESSION PAGE: 'product_info'
SESSION PARAMS: 'products_id=22'
SESSION CONNECTION: 'NONSSL'
GENERATED LINK: 'http://www.earth.local/store/software-c-2/action-c-2_19/unreal-tournament-linked-p-22.html'-->
Please post the results here from the "broken" chrome link.
Re: Ultimate SEO 2.200 (new features) [Support Thread]
Can you provide a link to download v2.205? Thanks
Re: Ultimate SEO 2.200 (new features) [Support Thread]
Quote:
Originally Posted by
neteasy
Can you provide a link to download v2.205? Thanks
The official download page for "Ultimate SEO" is http://www.zen-cart.com/downloads.php?do=file&id=132. Version 2.205 has been uploaded and is currently pending review by a moderator.
Re: Ultimate SEO 2.200 (new features) [Support Thread]
Quote:
Originally Posted by
lhungil
Those templates are not a "fix" they just can be used to provide additional debugging information relating to the generation of the back button. With the changes in those templates, the following can be found in the generated website source code right above the generated back button.
Code:
<!-- BACK BUTTON GENERATED
SESSION PAGE: 'product_info'
SESSION PARAMS: 'products_id=22'
SESSION CONNECTION: 'NONSSL'
GENERATED LINK: 'http://www.earth.local/store/software-c-2/action-c-2_19/unreal-tournament-linked-p-22.html'-->
Please post the results here from the "broken" chrome link.
Misunderstood, sorry.
I'm posting below the view source for Contact Us and Page 2 - after first going to a product - for Chrome and then IE9:
Code:
Contact Us - Chrome
<!-- BACK BUTTON GENERATED
SESSION PAGE: 'page_not_found'
SESSION PARAMS: ''
SESSION CONNECTION: 'NONSSL'
GENERATED LINK: 'http://www.promdressesforless.us/index.php?main_page=page_not_found'-->
<div class="buttonRow back"><a href="http://www.promdressesforless.us/index.php?main_page=page_not_found"><img src="includes/templates/estorenow/buttons/english/button_back.gif" alt="Back" title=" Back " width="70" height="21" /></a></div>
</form>
</div>
Page 2 - Chrome
<!-- BACK BUTTON GENERATED
SESSION PAGE: 'page_not_found'
SESSION PARAMS: ''
SESSION CONNECTION: 'NONSSL'
GENERATED LINK: 'http://www.promdressesforless.us/index.php?main_page=page_not_found'-->
<div class="buttonRow back"><a href="http://www.promdressesforless.us/index.php?main_page=page_not_found"><img src="includes/templates/estorenow/buttons/english/button_back.gif" alt="Back" title=" Back " width="70" height="21" /></a></div>
Contact Us - IE9
<!-- BACK BUTTON GENERATED
SESSION PAGE: 'product_info'
SESSION PARAMS: 'products_id=31&cPath=1_3'
SESSION CONNECTION: 'NONSSL'
GENERATED LINK: 'http://www.promdressesforless.us/alyce-6116-rts2-p-31.html?cPath=1_3'-->
<div class="buttonRow back"><a href="http://www.promdressesforless.us/alyce-6116-rts2-p-31.html?cPath=1_3"><img src="includes/templates/estorenow/buttons/english/button_back.gif" alt="Back" title=" Back " width="70" height="21" /></a></div>
Page 2 IE9
<!-- BACK BUTTON GENERATED
SESSION PAGE: 'product_info'
SESSION PARAMS: 'products_id=15&cPath=1_2'
SESSION CONNECTION: 'NONSSL'
GENERATED LINK: 'http://www.promdressesforless.us/paparazzi-8226-rts2-p-15.html?cPath=1_2'-->
<div class="buttonRow back"><a href="http://www.promdressesforless.us/paparazzi-8226-rts2-p-15.html?cPath=1_2"><img src="includes/templates/estorenow/buttons/english/button_back.gif" alt="Back" title=" Back " width="70" height="21" /></a></div>
Product Cache Generation Patch
Affected Environments
This affects users with multiple language sites and sites where the website visitor may be using a language not present in the Zen Cart database. The website visitor can still visit the site without any major issues, just the products url cache is NOT fully populated with their language.
Credits
Thanks to ivanqf for finding this bug in the released code.
Request
Prior to adding this patch to the next release, if anyone running a site with multiple languages or a non-English site could provide some additional testing and feedback it would be appreciated.