Version Notes
- Fix search error
- Fix cache eror
- Support Full Page Cache for EE version
Download this release
Release Info
Developer | Vinagento |
Extension | Vinagento_Vpager |
Version | 0.1.6 |
Comparing to | |
See all releases |
Code changes from version 0.1.5 to 0.1.6
app/code/community/Vinagento/Vpager/etc/config.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Vinagento_Vpager>
|
5 |
-
<version>0.1.
|
6 |
</Vinagento_Vpager>
|
7 |
</modules>
|
8 |
<frontend>
|
@@ -21,13 +21,6 @@
|
|
21 |
</modules>
|
22 |
</args>
|
23 |
</catalogsearch>
|
24 |
-
<vpager>
|
25 |
-
<use>standart</use>
|
26 |
-
<args>
|
27 |
-
<module>Vinagento_Vpager</module>
|
28 |
-
<frontName>vpager</frontName>
|
29 |
-
</args>
|
30 |
-
</vpager>
|
31 |
</routers>
|
32 |
<layout>
|
33 |
<updates>
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Vinagento_Vpager>
|
5 |
+
<version>0.1.6</version>
|
6 |
</Vinagento_Vpager>
|
7 |
</modules>
|
8 |
<frontend>
|
21 |
</modules>
|
22 |
</args>
|
23 |
</catalogsearch>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
</routers>
|
25 |
<layout>
|
26 |
<updates>
|
app/code/community/Vinagento/Vpager/etc/system.xml
CHANGED
@@ -1,5 +1,11 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<config>
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
<sections>
|
4 |
<vpager>
|
5 |
<label>Ajax Pagination - Layered Navigation</label>
|
1 |
<?xml version="1.0"?>
|
2 |
<config>
|
3 |
+
<tabs>
|
4 |
+
<vgall translate="label" module="vpager">
|
5 |
+
<label>Vinagento Extensions</label>
|
6 |
+
<sort_order>300</sort_order>
|
7 |
+
</vgall>
|
8 |
+
</tabs>
|
9 |
<sections>
|
10 |
<vpager>
|
11 |
<label>Ajax Pagination - Layered Navigation</label>
|
package.xml
CHANGED
@@ -1,18 +1,20 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Vinagento_Vpager</name>
|
4 |
-
<version>0.1.
|
5 |
<stability>stable</stability>
|
6 |
-
<license
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
-
<summary>
|
10 |
-
<description>
|
11 |
-
<notes
|
12 |
-
|
13 |
-
|
14 |
-
<
|
15 |
-
<
|
|
|
|
|
16 |
<compatible/>
|
17 |
-
<dependencies
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Vinagento_Vpager</name>
|
4 |
+
<version>0.1.6</version>
|
5 |
<stability>stable</stability>
|
6 |
+
<license>GPL</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
+
<summary>Ajax powered pagination and layered navigation for your store</summary>
|
10 |
+
<description>Use latest browser's pushState to support back and next of page. better SEO support</description>
|
11 |
+
<notes>- Fix search error
|
12 |
+
- Fix cache eror
|
13 |
+
- Support Full Page Cache for EE version</notes>
|
14 |
+
<authors><author><name>Vinagento</name><user>vinagento</user><email>vinagento@gmail.com</email></author></authors>
|
15 |
+
<date>2013-07-23</date>
|
16 |
+
<time>07:48:57</time>
|
17 |
+
<contents><target name="magecommunity"><dir name="Vinagento"><dir name="Vpager"><dir name="Block"><dir name="CatalogSearch"><file name="Result.php" hash="461f3712b78004a3491fb1a4c3602984"/></dir></dir><dir name="Helper"><file name="Data.php" hash="26d3ed48ef6e74c34646ba120d5173cc"/></dir><dir name="controllers"><file name="CategoryController.php" hash="47f3a9e070cda7a7d9ce71ab26321887"/><file name="ResultController.php" hash="cb2bce594eeb872e03185b0b590aa795"/></dir><dir name="etc"><file name="adminhtml.xml" hash="1c0980903f8f84ccd205a5d56dcdeadf"/><file name="config.xml" hash="23534b54ec71133f85e62bc47be6cd81"/><file name="system.xml" hash="224537930f3931ddad1339f0832cc3a2"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Vinagento_Vpager.xml" hash="8c2343c234e6b7a53f3c5efb3407a508"/><file name="Vinagento_All.xml" hash="c7cc1f2ff35e2715b7c1705b7c02752f"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="vpager.xml" hash="b9e52555faa91af93845f76c76c5771d"/></dir><dir name="template"><dir name="vpager"><file name="search_result.phtml" hash="4005b55c055fb9711332d0565ae7c9aa"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="js"><file name="vpager.js" hash="7fb0aa64a6df245bfbe991cb525dc847"/></dir><dir name="css"><file name="vpager.css" hash="3286d0e04f149edb3df22cf322b83d2d"/></dir></dir></dir></dir></target><target name="magelocal"><dir name="Vinagento"><dir name="All"><dir name="Helper"><file name="Config.php" hash="21d13777d955e4e952357f188da6e117"/><file name="Data.php" hash="4085e9b76a48f8a27c4a84cff1a5e043"/></dir><dir name="Model"><dir name="Feed"><file name="Abstract.php" hash="01029311caffdc31a9d828c94802fd11"/><file name="Updates.php" hash="9867bd672d7df5c373fe19cefdc99fc0"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="60ecc4909183b214f2ea955ee728d248"/><file name="config.xml" hash="87222fbc8ce24253d50294ccf6c65dc0"/><file name="system.xml" hash="93caad8f7183536148872a7bb9be28c8"/></dir></dir></dir></target></contents>
|
18 |
<compatible/>
|
19 |
+
<dependencies><required><php><min>5.1.0</min><max>6.2.0</max></php></required></dependencies>
|
20 |
</package>
|
skin/frontend/base/default/css/vpager.css
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
div.category-products{
|
2 |
-
-webkit-transition:
|
3 |
-
-moz-transition:
|
4 |
-
-o-transition:
|
5 |
-
transition:
|
6 |
}
|
7 |
div.page-loading{
|
8 |
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
|
@@ -18,4 +18,5 @@ div.page-loading{
|
|
18 |
|
19 |
/* Good browsers */
|
20 |
opacity: 0.5;
|
|
|
21 |
}
|
1 |
div.category-products{
|
2 |
+
-webkit-transition: all 300ms ease-in 200ms; /* property duration timing-function delay */
|
3 |
+
-moz-transition: all 300ms ease-in 200ms;
|
4 |
+
-o-transition: all 300ms ease-in 200ms;
|
5 |
+
transition: all 300ms ease-in 200ms;
|
6 |
}
|
7 |
div.page-loading{
|
8 |
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
|
18 |
|
19 |
/* Good browsers */
|
20 |
opacity: 0.5;
|
21 |
+
background: transparent url("../images/pager-anim.gif") repeat-x 0 0;
|
22 |
}
|
skin/frontend/base/default/js/vpager.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
|
1 |
+
var Vpager=Class.create();Vpager.prototype={initialize:function(){this.request=null;this.url=null;this.pop=false;document.observe("dom:loaded",this.olinks.bind(this));window.onpopstate=function(event){if(event&&event.state){this.pop=true;this.riff(location.href)}}.bind(this)},riff:function(u){this.showSpinner(false);this.url=u.sub("ajax=1&","").sub("&ajax=1","");var params={};if(!u.include("ajax=1")){params={"ajax":1}}if(this.request!==null){this.request.abort()}this.request=new Ajax.Request(u,{method:'get',parameters:params,onSuccess:this.glist.bind(this),onComplete:this.olinks.bind(this)})},getResult:function(event){event.preventDefault();sEle=Event.element(event);url='';tag=sEle.tagName.toLowerCase();if(tag=="input"){url=sEle.next().value}else if(tag=="select"&&sEle.value){url=sEle.value}else if(tag=="a"&&sEle.href){url=sEle.href}else{sEle=Event.findElement(event,'a');url=sEle.href}if(url!="#"||url!==''){this.riff(url)}return},olinks:function(){$$('.pages li a','.view-mode a','.sorter a').invoke('observe','click',this.getResult.bind(this));$$('.limiter select','.sorter select').invoke('removeAttribute','onchange');$$('.limiter select','.sorter select').invoke('observe','change',this.getResult.bind(this));$$('.block-layered-nav a').invoke('observe','click',this.getResult.bind(this));$$('.block-layered-nav input').invoke('observe','click',this.getResult.bind(this))},rlinks:function(){$$('.pages li a','.view-mode a','.sorter a').invoke('stopObserving','click');$$('.limiter select','.sorter select').invoke('stopObserving','change');$$('.block-layered-nav a').invoke('stopObserving','click');$$('.block-layered-nav input').invoke('stopObserving','click')},glist:function(transport){this.rlinks();ft=transport.responseText;if(typeof(history.pushState)=='function'){if(this.pop===false){history.pushState({url:this.url},document.title,this.url)}else{this.pop=false}}var bagEle=new Element('div');bagEle.update(ft);var plist=bagEle.select('div#ajax-list-container')[0];var lnav=bagEle.select('div#ajax-nav-container')[0];$$('.category-products').each(function(item){Element.replace(item,plist.innerHTML)});$$('.block-layered-nav').each(function(item){Element.replace(item,lnav.innerHTML)});document.body.fire('list:loaded')},showSpinner:function(flag){$$('.category-products').each(function(item){item.addClassName('page-loading')});$$('.block-layered-nav').each(function(item){item.addClassName('page-loading')})}};Object.extend(Ajax);Ajax.Request.prototype.abort=function(){this.transport.onreadystatechange=Prototype.emptyFunction;this.transport.abort();Ajax.activeRequestCount--};var ajaxPager=new Vpager();
|