Multipage Code Generation

General ShopSite user discussion

Multipage Code Generation

Postby mjbrunelle » Thu Feb 17, 2011 9:32 am

A quick question,

Is it possible to have the output from [-- PrevNext --] to be a call to a javascript routine instead of href call to a page?

Instead of:

Code: Select all
<a class="prevnext" href="http://www.dmindustrial.net/store/F15703-ss2.html">2</a>


Code: Select all
<a class="prevnext" href="javascript:getNextPage('F15703-ss2.html')>2</a>


This would allow us to use a Sub-template for the product portion of a page, then AJAX in a new portion of the page and save bandwidth.

MarkB
mjbrunelle
 
Posts: 147
Joined: Sun Jun 21, 2009 5:09 am

Re: Multipage Code Generation

Postby mjbrunelle » Thu Feb 17, 2011 9:50 am

Solved my issue, [-- PAGE.NumProducts --] gives you the total number of products assigned to a page and we can work from here.
mjbrunelle
 
Posts: 147
Joined: Sun Jun 21, 2009 5:09 am


Return to User Forum

Who is online

Users browsing this forum: No registered users and 78 guests