Version Notes
For a list of changes, please see http://fishpig.co.uk/magento/extensions/attribute-splash-pages/#changelog
Download this release
Release Info
Developer | fishpig |
Extension | Fishpigs_Attribute_Splash_Page |
Version | 3.3.8.14 |
Comparing to | |
See all releases |
Code changes from version 3.3.8.12 to 3.3.8.14
app/code/community/Fishpig/AttributeSplash/Block/Group/View.php
CHANGED
@@ -104,10 +104,41 @@ class Fishpig_AttributeSplash_Block_Group_View extends Mage_Core_Block_Template
|
|
104 |
: Mage::getStoreConfig('attributeSplash/group/column_count');
|
105 |
}
|
106 |
|
|
|
|
|
|
|
|
|
|
|
107 |
public function getThumbnailUrl($page)
|
108 |
{
|
109 |
return $this->helper('attributeSplash/image')->init($page, 'thumbnail')
|
110 |
->keepFrame($page->thumbnailShouldKeepFrame())
|
111 |
->resize($page->getThumbnailWidth(), $page->getThumbnailHeight());
|
112 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
113 |
}
|
104 |
: Mage::getStoreConfig('attributeSplash/group/column_count');
|
105 |
}
|
106 |
|
107 |
+
/**
|
108 |
+
* Get the Thumbnail URL for $page
|
109 |
+
*
|
110 |
+
* @return int
|
111 |
+
*/
|
112 |
public function getThumbnailUrl($page)
|
113 |
{
|
114 |
return $this->helper('attributeSplash/image')->init($page, 'thumbnail')
|
115 |
->keepFrame($page->thumbnailShouldKeepFrame())
|
116 |
->resize($page->getThumbnailWidth(), $page->getThumbnailHeight());
|
117 |
}
|
118 |
+
|
119 |
+
/**
|
120 |
+
* If a child block with an alias of 'pager' is set then setup the pager
|
121 |
+
*
|
122 |
+
* @return $this
|
123 |
+
**/
|
124 |
+
protected function _beforeToHtml()
|
125 |
+
{
|
126 |
+
if ($pagerBlock = $this->getChild('pager')) {
|
127 |
+
$this->setPagerBlock($pagerBlock);
|
128 |
+
|
129 |
+
$this->getPagerBlock()->setCollection($this->getSplashPages());
|
130 |
+
}
|
131 |
+
|
132 |
+
return parent::_beforeToHtml();
|
133 |
+
}
|
134 |
+
|
135 |
+
/**
|
136 |
+
* Get the pager HTML if a pager is present
|
137 |
+
*
|
138 |
+
* @return string|null
|
139 |
+
**/
|
140 |
+
public function getPagerHtml()
|
141 |
+
{
|
142 |
+
return $this->hasPagerBlock() ? $this->getPagerBlock()->toHtml() : null;
|
143 |
+
}
|
144 |
}
|
app/code/community/Fishpig/AttributeSplash/etc/config.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Fishpig_AttributeSplash>
|
5 |
-
<version>3.3.8.
|
6 |
</Fishpig_AttributeSplash>
|
7 |
</modules>
|
8 |
<global>
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Fishpig_AttributeSplash>
|
5 |
+
<version>3.3.8.14</version>
|
6 |
</Fishpig_AttributeSplash>
|
7 |
</modules>
|
8 |
<global>
|
app/code/community/Fishpig/AttributeSplash/notes.txt
CHANGED
@@ -6,6 +6,9 @@
|
|
6 |
# Documentation: http://fishpig.co.uk/magento/extensions/attribute-splash-pages/
|
7 |
##
|
8 |
|
|
|
|
|
|
|
9 |
02/09/2015 - 3.3.8.10
|
10 |
- Fixed system.log entry for undefined index.
|
11 |
|
6 |
# Documentation: http://fishpig.co.uk/magento/extensions/attribute-splash-pages/
|
7 |
##
|
8 |
|
9 |
+
01/01/2016 - 3.3.8.14
|
10 |
+
- Added option to have a pager on the group page. To do this, add a pager block as a child block to the 'attributeSplash.view.group' block with an alias of 'pager'. Then add <?php echo $this->getPagerHtml() ?> to the attribute-splash/group/view.phtml template.
|
11 |
+
|
12 |
02/09/2015 - 3.3.8.10
|
13 |
- Fixed system.log entry for undefined index.
|
14 |
|
app/design/frontend/base/default/template/attribute-splash/group/view.phtml
CHANGED
@@ -47,6 +47,9 @@
|
|
47 |
<?php endif ?>
|
48 |
<?php endforeach ?>
|
49 |
<script type="text/javascript">decorateGeneric($$('ul.splash-group-grid'), ['odd','even','first','last'])</script>
|
|
|
|
|
|
|
50 |
</div>
|
51 |
<?php endif; ?>
|
52 |
<?php endif; ?>
|
47 |
<?php endif ?>
|
48 |
<?php endforeach ?>
|
49 |
<script type="text/javascript">decorateGeneric($$('ul.splash-group-grid'), ['odd','even','first','last'])</script>
|
50 |
+
<?php if ($this->hasPagerBlock()): ?>
|
51 |
+
<?php echo $this->getPagerHtml() ?>
|
52 |
+
<?php endif; ?>
|
53 |
</div>
|
54 |
<?php endif; ?>
|
55 |
<?php endif; ?>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Fishpigs_Attribute_Splash_Page</name>
|
4 |
-
<version>3.3.8.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://fishpig.co.uk/license.txt">FishPig EULA</license>
|
7 |
<channel>community</channel>
|
@@ -10,9 +10,9 @@
|
|
10 |
<description>This module allows you to create splash pages (landing pages) for your product attributes. These pages function much like category pages, allowing yo to display products, static blocks or both. The module works with the category navigation and layered navigation and includes fully customisable SEO URL's.</description>
|
11 |
<notes>For a list of changes, please see http://fishpig.co.uk/magento/extensions/attribute-splash-pages/#changelog</notes>
|
12 |
<authors><author><name>fishpig</name><user>fishpig</user><email>ben@fishpig.co.uk</email></author></authors>
|
13 |
-
<date>
|
14 |
-
<time>
|
15 |
-
<contents><target name="magecommunity"><dir name="Fishpig"><dir name="AttributeSplash"><dir name="Block"><dir name="Adminhtml"><file name="Dashboard.php" hash="731dbb40a55071d02bd92e43473109fa"/><file name="Extend.php" hash="b953e4661405165bcf29b59aeda42a3b"/><dir name="Form"><dir name="Field"><file name="Urlkey.php" hash="b3f2e813188d6f8805b2caeb4f834bf6"/></dir></dir><dir name="Group"><dir name="Edit"><file name="Form.php" hash="fc927b79309df561773fe578fb1fad09"/><dir name="Tab"><file name="Abstract.php" hash="96e479a7eca8cb742f27a9eed619d65e"/><file name="Content.php" hash="30d24e08d83bb222f2b1a8169c4f3d48"/><file name="Design.php" hash="1fbc5babddc70729a1dcacb1fabbe034"/><file name="General.php" hash="c7c3d088f4a538c6b4d9a784aab88242"/><file name="Meta.php" hash="7058642a220347deeda6ea431fc054f1"/><file name="Seo.php" hash="a95471b43c44140ea07c24618f8b531e"/></dir><file name="Tabs.php" hash="b03a68cc45f8b68733d1627ab3538411"/></dir><file name="Edit.php" hash="79e7d29d23acd9c72ea37794c8d29231"/><file name="Grid.php" hash="de399b8df83efbc7d2442c9c0dc59ba4"/></dir><file name="Group.php" hash="7804d0272717593ef7afaa2261f7302c"/><dir name="Page"><dir name="Edit"><file name="Form.php" hash="ec8609e766d4e6e7176cc9e0c9e8b6bc"/><file name="Js.php" hash="45e4e33068189377e9bcac1a51b5ba47"/><dir name="Tab"><file name="Abstract.php" hash="577c17bec36fbffc6f8cd3231ba8a243"/><file name="Attributes.php" hash="dab45d890fa5566f8b940ced03ec48b1"/><file name="Content.php" hash="820db5968e8efcd80b8fcc70e74bff34"/><file name="Customfields.php" hash="02e904b03eba46e73bfe58d2a20ebee4"/><file name="Design.php" hash="48dc187093ec327a1877fb1ade16bb33"/><file name="General.php" hash="70c6893aca12ea2561cbf8119f19a799"/><file name="Images.php" hash="e1482076b30cfa9a60b71c5b9b9a68ac"/><file name="Meta.php" hash="c98f7455bfffe42a853d96e03fc38f07"/></dir><file name="Tabs.php" hash="b18424701cdead1e6f2effa5fd0703fb"/></dir><file name="Edit.php" hash="e381e3a218bab4fca9f73e13b38992ec"/><file name="Grid.php" hash="509c695f523f07d01a4932a55f1dbc1f"/><dir name="Helper"><file name="Image.php" hash="562c6c1db32c28dec6b82465515ca0ea"/></dir></dir><file name="Page.php" hash="563f0973d5ca0c292f47f0f58e9537e0"/><file name="Xmlsitemap.php" hash="2dad376de1cbb3315f0c21446f9d1388"/></dir><dir name="Group"><file name="View.php" hash="
|
16 |
<compatible/>
|
17 |
-
<dependencies><required><php><min>5.2.0</min><max>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Fishpigs_Attribute_Splash_Page</name>
|
4 |
+
<version>3.3.8.14</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://fishpig.co.uk/license.txt">FishPig EULA</license>
|
7 |
<channel>community</channel>
|
10 |
<description>This module allows you to create splash pages (landing pages) for your product attributes. These pages function much like category pages, allowing yo to display products, static blocks or both. The module works with the category navigation and layered navigation and includes fully customisable SEO URL's.</description>
|
11 |
<notes>For a list of changes, please see http://fishpig.co.uk/magento/extensions/attribute-splash-pages/#changelog</notes>
|
12 |
<authors><author><name>fishpig</name><user>fishpig</user><email>ben@fishpig.co.uk</email></author></authors>
|
13 |
+
<date>2016-02-01</date>
|
14 |
+
<time>14:43:31</time>
|
15 |
+
<contents><target name="magecommunity"><dir name="Fishpig"><dir name="AttributeSplash"><dir name="Block"><dir name="Adminhtml"><file name="Dashboard.php" hash="731dbb40a55071d02bd92e43473109fa"/><file name="Extend.php" hash="b953e4661405165bcf29b59aeda42a3b"/><dir name="Form"><dir name="Field"><file name="Urlkey.php" hash="b3f2e813188d6f8805b2caeb4f834bf6"/></dir></dir><dir name="Group"><dir name="Edit"><file name="Form.php" hash="fc927b79309df561773fe578fb1fad09"/><dir name="Tab"><file name="Abstract.php" hash="96e479a7eca8cb742f27a9eed619d65e"/><file name="Content.php" hash="30d24e08d83bb222f2b1a8169c4f3d48"/><file name="Design.php" hash="1fbc5babddc70729a1dcacb1fabbe034"/><file name="General.php" hash="c7c3d088f4a538c6b4d9a784aab88242"/><file name="Meta.php" hash="7058642a220347deeda6ea431fc054f1"/><file name="Seo.php" hash="a95471b43c44140ea07c24618f8b531e"/></dir><file name="Tabs.php" hash="b03a68cc45f8b68733d1627ab3538411"/></dir><file name="Edit.php" hash="79e7d29d23acd9c72ea37794c8d29231"/><file name="Grid.php" hash="de399b8df83efbc7d2442c9c0dc59ba4"/></dir><file name="Group.php" hash="7804d0272717593ef7afaa2261f7302c"/><dir name="Page"><dir name="Edit"><file name="Form.php" hash="ec8609e766d4e6e7176cc9e0c9e8b6bc"/><file name="Js.php" hash="45e4e33068189377e9bcac1a51b5ba47"/><dir name="Tab"><file name="Abstract.php" hash="577c17bec36fbffc6f8cd3231ba8a243"/><file name="Attributes.php" hash="dab45d890fa5566f8b940ced03ec48b1"/><file name="Content.php" hash="820db5968e8efcd80b8fcc70e74bff34"/><file name="Customfields.php" hash="02e904b03eba46e73bfe58d2a20ebee4"/><file name="Design.php" hash="48dc187093ec327a1877fb1ade16bb33"/><file name="General.php" hash="70c6893aca12ea2561cbf8119f19a799"/><file name="Images.php" hash="e1482076b30cfa9a60b71c5b9b9a68ac"/><file name="Meta.php" hash="c98f7455bfffe42a853d96e03fc38f07"/></dir><file name="Tabs.php" hash="b18424701cdead1e6f2effa5fd0703fb"/></dir><file name="Edit.php" hash="e381e3a218bab4fca9f73e13b38992ec"/><file name="Grid.php" hash="509c695f523f07d01a4932a55f1dbc1f"/><dir name="Helper"><file name="Image.php" hash="562c6c1db32c28dec6b82465515ca0ea"/></dir></dir><file name="Page.php" hash="563f0973d5ca0c292f47f0f58e9537e0"/><file name="Xmlsitemap.php" hash="2dad376de1cbb3315f0c21446f9d1388"/></dir><dir name="Group"><file name="View.php" hash="90bddc0ab61ca3641239afd33e09e7e3"/></dir><dir name="Layer"><file name="View.php" hash="6912ebb70ef922f595f3dc1a2ce4477f"/></dir><dir name="Page"><dir name="View"><dir name="Product"><file name="List.php" hash="90d4af1ec0a4570f8677927ae71cc42c"/></dir></dir><file name="View.php" hash="dbb394a410de1cb4cb23c1bb45d6212b"/></dir></dir><dir name="Controller"><dir name="Adminhtml"><file name="Abstract.php" hash="cec926ac96555146b3df067ae6704fbe"/></dir><file name="Router.php" hash="ba23f63bcf040f6de68b59e7aa571958"/></dir><dir name="FPAdmin"><dir name="Block"><dir name="Adminhtml"><file name="Extend.php" hash="75e04a5ca9087172cfab1b98cad7b263"/></dir></dir><dir name="etc"><file name="config.xml" hash="b521b9303c7c8199e91cfda651dda1b1"/></dir><dir name="template"><file name="large.phtml" hash="0b2108b293d9dd694b2e31b0d3c84273"/><file name="small.phtml" hash="0aba9ac21006fa9f7811911d352bc89a"/></dir></dir><dir name="Helper"><file name="Data.php" hash="7b72101f7119271cd8d2a18bf64ada34"/><file name="Image.php" hash="ebffad52f40a213d5ec19f3918cd3c15"/></dir><dir name="Model"><file name="Abstract.php" hash="47b4a00adab5cbae347257cdf9c9ee6b"/><file name="Group.php" hash="f131e5dca3b850a025b9b3c96d121be2"/><file name="Indexer.php" hash="41ad895ca63e0ebe96c5cd767f97b1d2"/><file name="Layer.php" hash="917e65bfa003edbb8b408c61fddf7d7a"/><file name="Observer.php" hash="76659169460564fbc869a12c39c3fda3"/><file name="Page.php" hash="247a78c4095843e24015accc207b98eb"/><dir name="Resource"><file name="Abstract.php" hash="e95a46fd676650126b9709ef5c156a86"/><dir name="Collection"><file name="Abstract.php" hash="47b5eca5bd1a3753fafce198bf803f16"/></dir><dir name="Group"><file name="Collection.php" hash="b6a383408392624d962a0b71f5c94116"/></dir><file name="Group.php" hash="2aaf88ce5f041db66d5a0dfb6c163a1f"/><dir name="Page"><file name="Collection.php" hash="389e342252a9066cf4da11c80937a233"/></dir><file name="Page.php" hash="93d237432a066cac9bb3d2f5e219b116"/></dir><dir name="System"><dir name="Config"><dir name="Source"><dir name="Attribute"><file name="Abstract.php" hash="9ddfa2eb83e6ec8d257bcd2d6977f384"/><file name="Splashable.php" hash="40fa08332ff34bc41e201c31b96d51fd"/><file name="Splashed.php" hash="946174a3acd8a0c8ea31c19d1d304f59"/></dir><file name="Layout.php" hash="f51ca8be6325f2e62a181c891b14cbfe"/></dir></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><dir name="AttributeSplash"><file name="GroupController.php" hash="01427ff74943bd8481a33dfc1b6e6f52"/><file name="PageController.php" hash="603555062a96300bcdd2c566c0885ec1"/></dir><file name="AttributeSplashController.php" hash="5dbc124b77cbab293ab6b92deb27419b"/></dir><file name="GroupController.php" hash="9f25aa2a2019e3027370af6270fa1d38"/><file name="PageController.php" hash="87eed36981d16489060989397c80a9a9"/><file name="SitemapController.php" hash="09d50b324c03ad40c68a1aafbe42f279"/></dir><dir name="etc"><file name="adminhtml.xml" hash="759d7ffa40031d14f5667fe60e0ad007"/><file name="config.xml" hash="567fbe2253c4c63fcd8a048bef0e2dc2"/><file name="system.xml" hash="08cf41c7cfc59c289e1b3277abfacb90"/></dir><file name="license.txt" hash="e8fb4ab53f05a8b4b7fea01d7d0df63b"/><file name="notes.txt" hash="1fd50382cf4af78c56e9d723ab01e734"/><dir name="sql"><dir name="attributeSplash_setup"><file name="mysql4-upgrade-1.9.16-1.9.17.php" hash="b17056fe56a55367f3a4c78c47a16095"/><file name="mysql4-upgrade-1.9.5-1.9.6.php" hash="4ab561651fa49776d53ed07c415119fe"/><file name="mysql4-upgrade-2.0.1-2.0.2.php" hash="c9af6039d4d620f8b40a245fb35af458"/><file name="mysql4-upgrade-2.0.12-2.0.13.php" hash="44e236b5c00275822f2766fb3aade050"/><file name="mysql4-upgrade-2.0.5-2.0.6.php" hash="da04923844a460181eb042ee865e898a"/><file name="mysql4-upgrade-2.0.6-2.0.7.php" hash="58f2c8462027ef87c6d002c2e7816762"/><file name="mysql4-upgrade-2.0.8-2.0.9.php" hash="b78dc758c2d8f11eb80e31652f92b317"/><file name="mysql4-upgrade-2.0.9-2.0.10.php" hash="d376bc97a149ff0ddac6b09b3eb466c4"/><file name="mysql4-upgrade-2.2.0.5-2.2.0.6.php" hash="b25fd508bc5cdc5058f1f88b02752c18"/><file name="mysql4-upgrade-2.2.0.7-2.2.0.8.php" hash="83cb47a19873315987be7811d9ace297"/><file name="mysql4-upgrade-2.2.0.8-2.2.0.9.php" hash="800a55579155ccae338b55b94a21106c"/><file name="mysql4-upgrade-2.2.1.0-2.2.1.1.php" hash="ccc977f076d9e2aef34a2aa02e3212b3"/><file name="mysql4-upgrade-2.2.1.1-2.2.1.2.php" hash="1f4021bd5efd583a9478790bddd77acc"/><file name="mysql4-upgrade-3.0.1.10-3.0.1.11.php" hash="687d031221740324a60fccb26fd12fea"/><file name="mysql4-upgrade-3.0.1.9-3.0.1.10.php" hash="f95f086b8a6856a0cff4d7a9defb9656"/><file name="mysql4-upgrade-3.0.4.0-3.0.5.0.php" hash="fe33155d0140875eba7b204a969bcc62"/><file name="mysql4-upgrade-3.1.1.0-3.1.2.0.php" hash="6ea402356d9faa250d5231725f8944b1"/><file name="mysql4-upgrade-3.3.3.0-3.3.4.0.php" hash="52d4acdb41e63f5b0a6f207048547569"/><file name="mysql4-upgrade-3.3.6.2-3.3.6.3.php" hash="003475ce5b5f3495a4433b827f3d54cb"/><file name="mysql4-upgrade-3.3.8.11-3.3.8.12.php" hash="1518d10ebed9cfabec1ef7bb9acf220f"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="attribute-splash.xml" hash="d7a57972d4a657c1d9acf77dade557c9"/></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="attribute-splash.xml" hash="6810e9a7e3135f390dc03c6f8beb067d"/></dir><dir name="template"><dir name="attribute-splash"><dir><dir name="group"><file name="view.phtml" hash="d4f3be1b65ed5d209a116153822c43ba"/></dir><dir name="page"><file name="view.phtml" hash="7cf47164bc5d140de566294a93942677"/></dir></dir></dir></dir></dir></dir></dir></target><target name="mage"><dir name="app"><dir name="etc"><dir name="modules"><file name="Fishpig_AttributeSplash.xml" hash="80fa9d54cefcd44305240d05508a56ee"/></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><file name="attribute-splash.css" hash="c3b1103f0174a7b17496aaf75a2b4e78"/></dir></dir></dir></dir></target></contents>
|
16 |
<compatible/>
|
17 |
+
<dependencies><required><php><min>5.2.0</min><max>8.0.0</max></php></required></dependencies>
|
18 |
</package>
|