Version Notes
For changes, please see fishpig.co.uk/magento/extensions/ibanners/#changelog
Download this release
Release Info
| Developer | fishpig |
| Extension | Fishpigs_iBanners |
| Version | 1.2.4.1 |
| Comparing to | |
| See all releases | |
Code changes from version 1.2.4.0 to 1.2.4.1
- app/code/community/Fishpig/IBanners/Controller/Adminhtml/Abstract.php +21 -0
- app/code/community/Fishpig/IBanners/FPAdmin/Block/Adminhtml/Extend.php +52 -6
- app/code/community/Fishpig/IBanners/FPAdmin/etc/config.xml +44 -37
- app/code/community/Fishpig/IBanners/FPAdmin/template/large.phtml +1 -1
- app/code/community/Fishpig/IBanners/FPAdmin/template/small.phtml +1 -1
- app/code/community/Fishpig/IBanners/controllers/Adminhtml/IBanners/BannerController.php +1 -1
- app/code/community/Fishpig/IBanners/controllers/Adminhtml/IBanners/GroupController.php +1 -1
- app/code/community/Fishpig/IBanners/controllers/Adminhtml/IBannersController.php +1 -1
- app/code/community/Fishpig/IBanners/etc/config.xml +1 -1
- package.xml +5 -5
app/code/community/Fishpig/IBanners/Controller/Adminhtml/Abstract.php
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
/**
|
| 3 |
+
* @category Fishpig
|
| 4 |
+
* @package Fishpig_iBanners
|
| 5 |
+
* @license http://fishpig.co.uk/license.txt
|
| 6 |
+
* @author Ben Tideswell <help@fishpig.co.uk>
|
| 7 |
+
*/
|
| 8 |
+
|
| 9 |
+
abstract class Fishpig_iBanners_Controller_Adminhtml_Abstract extends Mage_Adminhtml_Controller_Action
|
| 10 |
+
{
|
| 11 |
+
/**
|
| 12 |
+
* Determine ACL permissions
|
| 13 |
+
*
|
| 14 |
+
* @return bool
|
| 15 |
+
*/
|
| 16 |
+
protected function _isAllowed()
|
| 17 |
+
{
|
| 18 |
+
return Mage::getSingleton('admin/session')->isAllowed('cms/ibanners');
|
| 19 |
+
}
|
| 20 |
+
|
| 21 |
+
}
|
app/code/community/Fishpig/IBanners/FPAdmin/Block/Adminhtml/Extend.php
CHANGED
|
@@ -64,7 +64,7 @@ implements Mage_Adminhtml_Block_Widget_Tab_Interface
|
|
| 64 |
* @param array $pref = array()
|
| 65 |
* @return false|array
|
| 66 |
*/
|
| 67 |
-
public function getExtensions($count = 0, array $pref = array())
|
| 68 |
{
|
| 69 |
if (!isset($pref[0])) {
|
| 70 |
$pref = array_keys($pref);
|
|
@@ -79,11 +79,23 @@ implements Mage_Adminhtml_Block_Widget_Tab_Interface
|
|
| 79 |
unset($pool[$code]);
|
| 80 |
}
|
| 81 |
|
| 82 |
-
if ($count > 0 && count($winners) >= $count) {
|
| 83 |
break;
|
| 84 |
}
|
| 85 |
}
|
| 86 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 87 |
while(count($winners) < $count && count($pool) > 0) {
|
| 88 |
$code = key($pool);
|
| 89 |
|
|
@@ -118,7 +130,7 @@ implements Mage_Adminhtml_Block_Widget_Tab_Interface
|
|
| 118 |
|
| 119 |
foreach($config as $code => $extension) {
|
| 120 |
$extension['module'] = $code;
|
| 121 |
-
$reqMultistore = isset($extension
|
| 122 |
|
| 123 |
if (!isset($_SERVER['IS_FISHPIG']) && in_array($code, $installedModules)) {
|
| 124 |
continue;
|
|
@@ -206,14 +218,14 @@ implements Mage_Adminhtml_Block_Widget_Tab_Interface
|
|
| 206 |
}
|
| 207 |
|
| 208 |
/**
|
| 209 |
-
* Retrieve the short
|
| 210 |
*
|
| 211 |
* @param array $e
|
| 212 |
* @return string
|
| 213 |
*/
|
| 214 |
-
public function
|
| 215 |
{
|
| 216 |
-
return $this->_getField($e, '
|
| 217 |
}
|
| 218 |
|
| 219 |
/**
|
|
@@ -405,6 +417,40 @@ implements Mage_Adminhtml_Block_Widget_Tab_Interface
|
|
| 405 |
|
| 406 |
return '#';
|
| 407 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 408 |
}
|
| 409 |
|
| 410 |
// End of compilation fix
|
| 64 |
* @param array $pref = array()
|
| 65 |
* @return false|array
|
| 66 |
*/
|
| 67 |
+
public function getExtensions($count = 0, array $pref = array(), $rand = false)
|
| 68 |
{
|
| 69 |
if (!isset($pref[0])) {
|
| 70 |
$pref = array_keys($pref);
|
| 79 |
unset($pool[$code]);
|
| 80 |
}
|
| 81 |
|
| 82 |
+
if (!$rand && $count > 0 && count($winners) >= $count) {
|
| 83 |
break;
|
| 84 |
}
|
| 85 |
}
|
| 86 |
|
| 87 |
+
if ($rand) {
|
| 88 |
+
$winners = $this->shuffleArray($winners);
|
| 89 |
+
|
| 90 |
+
if ($count > 0 && count($winners) > $count) {
|
| 91 |
+
$xcount = count($winners);
|
| 92 |
+
|
| 93 |
+
while($xcount-- > $count) {
|
| 94 |
+
array_pop($winners);
|
| 95 |
+
}
|
| 96 |
+
}
|
| 97 |
+
}
|
| 98 |
+
|
| 99 |
while(count($winners) < $count && count($pool) > 0) {
|
| 100 |
$code = key($pool);
|
| 101 |
|
| 130 |
|
| 131 |
foreach($config as $code => $extension) {
|
| 132 |
$extension['module'] = $code;
|
| 133 |
+
$reqMultistore = isset($extension['require_multistore']) ? (int)$extension['require_multistore'] : null;
|
| 134 |
|
| 135 |
if (!isset($_SERVER['IS_FISHPIG']) && in_array($code, $installedModules)) {
|
| 136 |
continue;
|
| 218 |
}
|
| 219 |
|
| 220 |
/**
|
| 221 |
+
* Retrieve the short definition of the extension
|
| 222 |
*
|
| 223 |
* @param array $e
|
| 224 |
* @return string
|
| 225 |
*/
|
| 226 |
+
public function getShortDefinition(array $e)
|
| 227 |
{
|
| 228 |
+
return $this->_getField($e, 'short_definition');
|
| 229 |
}
|
| 230 |
|
| 231 |
/**
|
| 417 |
|
| 418 |
return '#';
|
| 419 |
}
|
| 420 |
+
|
| 421 |
+
/**
|
| 422 |
+
* Legacy fix that stops the HTML output from displaying
|
| 423 |
+
*
|
| 424 |
+
* @param string $fileName
|
| 425 |
+
* @return string
|
| 426 |
+
*/
|
| 427 |
+
public function fetchView($fileName)
|
| 428 |
+
{
|
| 429 |
+
return is_file($fileName)
|
| 430 |
+
? parent::fetchView($fileName)
|
| 431 |
+
: '';
|
| 432 |
+
}
|
| 433 |
+
|
| 434 |
+
/**
|
| 435 |
+
* Shuffle an array and preserve the keys
|
| 436 |
+
*
|
| 437 |
+
* @param array $a
|
| 438 |
+
* @return array
|
| 439 |
+
*/
|
| 440 |
+
public function shuffleArray(array $a)
|
| 441 |
+
{
|
| 442 |
+
$keys = array_keys($a);
|
| 443 |
+
|
| 444 |
+
shuffle($keys);
|
| 445 |
+
|
| 446 |
+
$random = array();
|
| 447 |
+
|
| 448 |
+
foreach ($keys as $key) {
|
| 449 |
+
$random[$key] = $a[$key];
|
| 450 |
+
}
|
| 451 |
+
|
| 452 |
+
return $random;
|
| 453 |
+
}
|
| 454 |
}
|
| 455 |
|
| 456 |
// End of compilation fix
|
app/code/community/Fishpig/IBanners/FPAdmin/etc/config.xml
CHANGED
|
@@ -7,98 +7,105 @@
|
|
| 7 |
<image>bolt.png</image>
|
| 8 |
<title>Bolt</title>
|
| 9 |
<subtitle>Full Page Cache</subtitle>
|
| 10 |
-
<
|
| 11 |
-
</Fishpig_Bolt>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
<Fishpig_NoBots>
|
| 13 |
<url><![CDATA[magento/extensions/block-robots-stop-spam/]]></url>
|
| 14 |
<image>nobots.png</image>
|
| 15 |
<title>NoBots</title>
|
| 16 |
<subtitle>Stop Magento Spam Bots</subtitle>
|
| 17 |
-
<
|
| 18 |
-
</Fishpig_NoBots>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
<Fishpig_CrossLink>
|
| 20 |
<url><![CDATA[magento/extensions/seo-internal-links/]]></url>
|
| 21 |
<image>crosslink.png</image>
|
| 22 |
<title>Crosslink</title>
|
| 23 |
<subtitle>SEO Internal Links</subtitle>
|
| 24 |
-
<
|
| 25 |
</Fishpig_CrossLink>
|
| 26 |
-
<Fishpig_Opti>
|
| 27 |
-
<url><![CDATA[magento/extensions/optimisation-minification/]]></url>
|
| 28 |
-
<image>opti.png</image>
|
| 29 |
-
<title>Opti</title>
|
| 30 |
-
<subtitle>Minify Magento</subtitle>
|
| 31 |
-
<short_description>Opti automatically minifies your HTML, CSS and Javascript and works on any server.</short_description>
|
| 32 |
-
</Fishpig_Opti>
|
| 33 |
<Fishpig_AttributeSplashPro>
|
| 34 |
<url><![CDATA[magento/extensions/attribute-splash-pro/]]></url>
|
| 35 |
<image>splash-pro.png</image>
|
| 36 |
-
<title>
|
| 37 |
<subtitle>SEO Landing Pages</subtitle>
|
| 38 |
-
<
|
| 39 |
</Fishpig_AttributeSplashPro>
|
| 40 |
<Fishpig_BasketShipping>
|
| 41 |
<url><![CDATA[magento/extensions/bolt-full-page-cache/]]></url>
|
| 42 |
<image>basket-shipping.png</image>
|
| 43 |
<title>Basket Shipping</title>
|
| 44 |
<subtitle>Automatically set the Shipping Method</subtitle>
|
| 45 |
-
<
|
| 46 |
</Fishpig_BasketShipping>
|
| 47 |
<Fishpig_Wordpress_Addon_Multisite>
|
| 48 |
<url><![CDATA[magento/wordpress-integration/multisite/]]></url>
|
| 49 |
<image>wordpress-multisite.png</image>
|
| 50 |
<title>WordPress Integration</title>
|
| 51 |
<subtitle>Multi-Store Blog Integration</subtitle>
|
| 52 |
-
<
|
| 53 |
<require_multistore>1</require_multistore>
|
| 54 |
<depends><Fishpig_Wordpress /></depends>
|
| 55 |
</Fishpig_Wordpress_Addon_Multisite>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 56 |
<Fishpig_Wordpress>
|
| 57 |
<url><![CDATA[magento/wordpress-integration/]]></url>
|
| 58 |
<image>wordpress.png</image>
|
| 59 |
<title>WordPress Integration</title>
|
| 60 |
<subtitle>WordPress blog integration</subtitle>
|
| 61 |
-
<
|
| 62 |
<require_multistore>0</require_multistore>
|
| 63 |
</Fishpig_Wordpress>
|
| 64 |
-
<
|
| 65 |
-
<url><![CDATA[magento/wordpress-integration/
|
| 66 |
-
<image>
|
| 67 |
-
<title>
|
| 68 |
-
<subtitle>
|
| 69 |
-
<
|
| 70 |
<depends><Fishpig_Wordpress /></depends>
|
| 71 |
-
</
|
| 72 |
-
<Fishpig_Wordpress_Addon_Root>
|
| 73 |
-
<url><![CDATA[magento/wordpress-integration/root/]]></url>
|
| 74 |
-
<image>root.gif</image>
|
| 75 |
-
<title>Root</title>
|
| 76 |
-
<subtitle>Blog URL's from the Root</subtitle>
|
| 77 |
-
<short_description>Remove the blog sub-directory from your integrated blog URLs.</short_description>
|
| 78 |
-
<depends><Fishpig_Wordpress /></depends>
|
| 79 |
-
</Fishpig_Wordpress_Addon_Root>
|
| 80 |
<Fishpig_Wordpress_Addon_IntegratedSearch>
|
| 81 |
<url><![CDATA[magento/wordpress-integration/integrated-search/]]></url>
|
| 82 |
<image>integrated-search.png</image>
|
| 83 |
<title>Integrated Search</title>
|
| 84 |
<subtitle>Magento and WordPress search</subtitle>
|
| 85 |
-
<
|
| 86 |
<depends><Fishpig_Wordpress /></depends>
|
| 87 |
</Fishpig_Wordpress_Addon_IntegratedSearch>
|
| 88 |
<Fishpig_AttributeSplash_Addon_XmlSitemap>
|
| 89 |
<url><![CDATA[magento/extensions/attribute-splash-pages/xml-sitemap/]]></url>
|
| 90 |
<image>splash-pages.png</image>
|
| 91 |
-
<title>Attribute
|
| 92 |
<subtitle>XML Sitemap</subtitle>
|
| 93 |
-
<
|
| 94 |
<depends><Fishpig_AttributeSplash /></depends>
|
| 95 |
</Fishpig_AttributeSplash_Addon_XmlSitemap>
|
| 96 |
<Fishpig_AttributeSplash_Addon_QuickCreate>
|
| 97 |
<url><![CDATA[magento/extensions/attribute-splash-pages/quick-create/]]></url>
|
| 98 |
<image>splash-pages.png</image>
|
| 99 |
-
<title>Attribute
|
| 100 |
<subtitle>Quick Create</subtitle>
|
| 101 |
-
<
|
| 102 |
<depends><Fishpig_AttributeSplash /></depends>
|
| 103 |
</Fishpig_AttributeSplash_Addon_QuickCreate>
|
| 104 |
</extend>
|
| 7 |
<image>bolt.png</image>
|
| 8 |
<title>Bolt</title>
|
| 9 |
<subtitle>Full Page Cache</subtitle>
|
| 10 |
+
<short_definition>Add enterprise level caching to Magento community with Bolt, Magento's fastest Full Page Cache extension.</short_definition>
|
| 11 |
+
</Fishpig_Bolt>
|
| 12 |
+
<Fishpig_Opti>
|
| 13 |
+
<url><![CDATA[magento/extensions/optimisation-minification/]]></url>
|
| 14 |
+
<image>opti.png</image>
|
| 15 |
+
<title>Opti</title>
|
| 16 |
+
<subtitle>Minify Magento</subtitle>
|
| 17 |
+
<short_definition>Opti automatically minifies your HTML, CSS and Javascript and works on any server.</short_definition>
|
| 18 |
+
</Fishpig_Opti>
|
| 19 |
<Fishpig_NoBots>
|
| 20 |
<url><![CDATA[magento/extensions/block-robots-stop-spam/]]></url>
|
| 21 |
<image>nobots.png</image>
|
| 22 |
<title>NoBots</title>
|
| 23 |
<subtitle>Stop Magento Spam Bots</subtitle>
|
| 24 |
+
<short_definition>NoBots automatically blocks spam bots from your website giving you less spam and a faster server.</short_definition>
|
| 25 |
+
</Fishpig_NoBots>
|
| 26 |
+
<Fishpig_FSeo>
|
| 27 |
+
<url><![CDATA[magento/extensions/seo/]]></url>
|
| 28 |
+
<image>fseo.png</image>
|
| 29 |
+
<title>SEO</title>
|
| 30 |
+
<subtitle>Layered Navigation</subtitle>
|
| 31 |
+
<short_definition>Add SEO URLs to your layered navigation for Magento Categories and Splash Pages</short_definition>
|
| 32 |
+
</Fishpig_FSeo>
|
| 33 |
<Fishpig_CrossLink>
|
| 34 |
<url><![CDATA[magento/extensions/seo-internal-links/]]></url>
|
| 35 |
<image>crosslink.png</image>
|
| 36 |
<title>Crosslink</title>
|
| 37 |
<subtitle>SEO Internal Links</subtitle>
|
| 38 |
+
<short_definition>Automatically cross link your products, categories, splash pages, CMS pages, blog posts and categories using Crosslinks.</short_definition>
|
| 39 |
</Fishpig_CrossLink>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
<Fishpig_AttributeSplashPro>
|
| 41 |
<url><![CDATA[magento/extensions/attribute-splash-pro/]]></url>
|
| 42 |
<image>splash-pro.png</image>
|
| 43 |
+
<title>AttributeSplash Pro</title>
|
| 44 |
<subtitle>SEO Landing Pages</subtitle>
|
| 45 |
+
<short_definition>Create SEO landing pages quickly and easily using AttributeSplash Pro. Decide which products you want to display based on multiple attribute filters, category filters and price filters.</short_definition>
|
| 46 |
</Fishpig_AttributeSplashPro>
|
| 47 |
<Fishpig_BasketShipping>
|
| 48 |
<url><![CDATA[magento/extensions/bolt-full-page-cache/]]></url>
|
| 49 |
<image>basket-shipping.png</image>
|
| 50 |
<title>Basket Shipping</title>
|
| 51 |
<subtitle>Automatically set the Shipping Method</subtitle>
|
| 52 |
+
<short_definition>Automatically set the shipping method as soon as your customer hits your shopping cart.</short_definition>
|
| 53 |
</Fishpig_BasketShipping>
|
| 54 |
<Fishpig_Wordpress_Addon_Multisite>
|
| 55 |
<url><![CDATA[magento/wordpress-integration/multisite/]]></url>
|
| 56 |
<image>wordpress-multisite.png</image>
|
| 57 |
<title>WordPress Integration</title>
|
| 58 |
<subtitle>Multi-Store Blog Integration</subtitle>
|
| 59 |
+
<short_definition>Integrate a WordPress blog into your Magento theme in minutes with this free extension.</short_definition>
|
| 60 |
<require_multistore>1</require_multistore>
|
| 61 |
<depends><Fishpig_Wordpress /></depends>
|
| 62 |
</Fishpig_Wordpress_Addon_Multisite>
|
| 63 |
+
<Fishpig_Wordpress_Addon_Root>
|
| 64 |
+
<url><![CDATA[magento/wordpress-integration/root/]]></url>
|
| 65 |
+
<image>root.gif</image>
|
| 66 |
+
<title>Root</title>
|
| 67 |
+
<subtitle>Use WordPress to create your CMS pages</subtitle>
|
| 68 |
+
<short_definition>Remove the blog sub-directory from your integrated blog URLs.</short_definition>
|
| 69 |
+
<depends><Fishpig_Wordpress /></depends>
|
| 70 |
+
</Fishpig_Wordpress_Addon_Root>
|
| 71 |
<Fishpig_Wordpress>
|
| 72 |
<url><![CDATA[magento/wordpress-integration/]]></url>
|
| 73 |
<image>wordpress.png</image>
|
| 74 |
<title>WordPress Integration</title>
|
| 75 |
<subtitle>WordPress blog integration</subtitle>
|
| 76 |
+
<short_definition>Manage multiple blogs from a single WordPress Admin and integrate each blog with a different Magento store view</short_definition>
|
| 77 |
<require_multistore>0</require_multistore>
|
| 78 |
</Fishpig_Wordpress>
|
| 79 |
+
<Fishpig_Wordpress_Addon_CS>
|
| 80 |
+
<url><![CDATA[magento/wordpress-integration/customer-synchronisation/]]></url>
|
| 81 |
+
<image>cs.png</image>
|
| 82 |
+
<title>Customer Synchronisation</title>
|
| 83 |
+
<subtitle>Single Sign-on</subtitle>
|
| 84 |
+
<short_definition>Synchronise WordPress users and Magento customers and provide a single login for your customers.</short_definition>
|
| 85 |
<depends><Fishpig_Wordpress /></depends>
|
| 86 |
+
</Fishpig_Wordpress_Addon_CS>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 87 |
<Fishpig_Wordpress_Addon_IntegratedSearch>
|
| 88 |
<url><![CDATA[magento/wordpress-integration/integrated-search/]]></url>
|
| 89 |
<image>integrated-search.png</image>
|
| 90 |
<title>Integrated Search</title>
|
| 91 |
<subtitle>Magento and WordPress search</subtitle>
|
| 92 |
+
<short_definition>Integrate your Magento and WordPress search systems automatically and make searching your site easier for your customers.</short_definition>
|
| 93 |
<depends><Fishpig_Wordpress /></depends>
|
| 94 |
</Fishpig_Wordpress_Addon_IntegratedSearch>
|
| 95 |
<Fishpig_AttributeSplash_Addon_XmlSitemap>
|
| 96 |
<url><![CDATA[magento/extensions/attribute-splash-pages/xml-sitemap/]]></url>
|
| 97 |
<image>splash-pages.png</image>
|
| 98 |
+
<title>Attribute AttributeSplash</title>
|
| 99 |
<subtitle>XML Sitemap</subtitle>
|
| 100 |
+
<short_definition>Add an XML sitemap for your AttributeSplash Pages and AttributeSplash Group so search engines can index your pages.</short_definition>
|
| 101 |
<depends><Fishpig_AttributeSplash /></depends>
|
| 102 |
</Fishpig_AttributeSplash_Addon_XmlSitemap>
|
| 103 |
<Fishpig_AttributeSplash_Addon_QuickCreate>
|
| 104 |
<url><![CDATA[magento/extensions/attribute-splash-pages/quick-create/]]></url>
|
| 105 |
<image>splash-pages.png</image>
|
| 106 |
+
<title>Attribute AttributeSplash</title>
|
| 107 |
<subtitle>Quick Create</subtitle>
|
| 108 |
+
<short_definition>Quickly create AttributeSplash Pages for any attributes with this extension and save yourself from hours of manual work.</short_definition>
|
| 109 |
<depends><Fishpig_AttributeSplash /></depends>
|
| 110 |
</Fishpig_AttributeSplash_Addon_QuickCreate>
|
| 111 |
</extend>
|
app/code/community/Fishpig/IBanners/FPAdmin/template/large.phtml
CHANGED
|
@@ -18,7 +18,7 @@
|
|
| 18 |
<span><?php echo $this->escapeHtml($this->getSubTitle($extension)) ?></span>
|
| 19 |
</a>
|
| 20 |
</h2>
|
| 21 |
-
<p><?php echo $this->
|
| 22 |
<div><a href="<?php echo $this->getTrackedUrl($extension, $this->getModule(), 'view-more') ?>" target="_blank"><?php echo $this->__('View Add-On') ?></a></div>
|
| 23 |
</div>
|
| 24 |
</li>
|
| 18 |
<span><?php echo $this->escapeHtml($this->getSubTitle($extension)) ?></span>
|
| 19 |
</a>
|
| 20 |
</h2>
|
| 21 |
+
<p><?php echo $this->getShortDefinition($extension) ?></p>
|
| 22 |
<div><a href="<?php echo $this->getTrackedUrl($extension, $this->getModule(), 'view-more') ?>" target="_blank"><?php echo $this->__('View Add-On') ?></a></div>
|
| 23 |
</div>
|
| 24 |
</li>
|
app/code/community/Fishpig/IBanners/FPAdmin/template/small.phtml
CHANGED
|
@@ -17,7 +17,7 @@
|
|
| 17 |
<strong><?php echo $this->escapeHtml($this->getTitle($extension)) ?></strong> <span><?php echo $this->escapeHtml($this->getSubTitle($extension)) ?></span>
|
| 18 |
</a>
|
| 19 |
</h2>
|
| 20 |
-
<p><?php echo $this->
|
| 21 |
</div>
|
| 22 |
</li>
|
| 23 |
<?php endforeach; ?>
|
| 17 |
<strong><?php echo $this->escapeHtml($this->getTitle($extension)) ?></strong> <span><?php echo $this->escapeHtml($this->getSubTitle($extension)) ?></span>
|
| 18 |
</a>
|
| 19 |
</h2>
|
| 20 |
+
<p><?php echo $this->getShortDefinition($extension) ?> <a href="<?php echo $this->getTrackedUrl($extension, $this->getModule(), 'view-more') ?>" target="_blank">More info</a></p>
|
| 21 |
</div>
|
| 22 |
</li>
|
| 23 |
<?php endforeach; ?>
|
app/code/community/Fishpig/IBanners/controllers/Adminhtml/IBanners/BannerController.php
CHANGED
|
@@ -6,7 +6,7 @@
|
|
| 6 |
* @author Ben Tideswell <help@fishpig.co.uk>
|
| 7 |
*/
|
| 8 |
|
| 9 |
-
class Fishpig_iBanners_Adminhtml_iBanners_BannerController extends
|
| 10 |
{
|
| 11 |
/**
|
| 12 |
* Redirect to iBanners dashboard
|
| 6 |
* @author Ben Tideswell <help@fishpig.co.uk>
|
| 7 |
*/
|
| 8 |
|
| 9 |
+
class Fishpig_iBanners_Adminhtml_iBanners_BannerController extends Fishpig_iBanners_Controller_Adminhtml_Abstract
|
| 10 |
{
|
| 11 |
/**
|
| 12 |
* Redirect to iBanners dashboard
|
app/code/community/Fishpig/IBanners/controllers/Adminhtml/IBanners/GroupController.php
CHANGED
|
@@ -6,7 +6,7 @@
|
|
| 6 |
* @author Ben Tideswell <help@fishpig.co.uk>
|
| 7 |
*/
|
| 8 |
|
| 9 |
-
class Fishpig_iBanners_Adminhtml_iBanners_GroupController extends
|
| 10 |
{
|
| 11 |
/**
|
| 12 |
* Redirect to iBanners dashboard
|
| 6 |
* @author Ben Tideswell <help@fishpig.co.uk>
|
| 7 |
*/
|
| 8 |
|
| 9 |
+
class Fishpig_iBanners_Adminhtml_iBanners_GroupController extends Fishpig_iBanners_Controller_Adminhtml_Abstract
|
| 10 |
{
|
| 11 |
/**
|
| 12 |
* Redirect to iBanners dashboard
|
app/code/community/Fishpig/IBanners/controllers/Adminhtml/IBannersController.php
CHANGED
|
@@ -6,7 +6,7 @@
|
|
| 6 |
* @author Ben Tideswell <help@fishpig.co.uk>
|
| 7 |
*/
|
| 8 |
|
| 9 |
-
class Fishpig_iBanners_Adminhtml_iBannersController extends
|
| 10 |
{
|
| 11 |
public function indexAction()
|
| 12 |
{
|
| 6 |
* @author Ben Tideswell <help@fishpig.co.uk>
|
| 7 |
*/
|
| 8 |
|
| 9 |
+
class Fishpig_iBanners_Adminhtml_iBannersController extends Fishpig_iBanners_Controller_Adminhtml_Abstract
|
| 10 |
{
|
| 11 |
public function indexAction()
|
| 12 |
{
|
app/code/community/Fishpig/IBanners/etc/config.xml
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
<config>
|
| 3 |
<modules>
|
| 4 |
<Fishpig_iBanners>
|
| 5 |
-
<version>1.2.4.
|
| 6 |
</Fishpig_iBanners>
|
| 7 |
</modules>
|
| 8 |
<global>
|
| 2 |
<config>
|
| 3 |
<modules>
|
| 4 |
<Fishpig_iBanners>
|
| 5 |
+
<version>1.2.4.1</version>
|
| 6 |
</Fishpig_iBanners>
|
| 7 |
</modules>
|
| 8 |
<global>
|
package.xml
CHANGED
|
@@ -1,18 +1,18 @@
|
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Fishpigs_iBanners</name>
|
| 4 |
-
<version>1.2.4.
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license uri="http://fishpig.co.uk/license.txt">FishPig EULA</license>
|
| 7 |
<channel>community</channel>
|
| 8 |
<extends/>
|
| 9 |
<summary>Create multiple banner slideshows for your site.</summary>
|
| 10 |
<description>Create multiple banner slideshows for your site.</description>
|
| 11 |
-
<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="IBanners"><dir name="Block"><dir name="Adminhtml"><dir name="Banner"><dir name="Edit"><file name="Form.php" hash="e9cd0d7436d36048706bc474704d2b82"/><dir name="Tab"><file name="Form.php" hash="a6ab04d3bb183e32935e3e285fbdabd5"/></dir><file name="Tabs.php" hash="60a82a390e8580594885bceb19a13460"/></dir><file name="Edit.php" hash="93807e5b677fd064e49c547551507202"/><file name="Grid.php" hash="193cf462223dc0a24069c85001baf6d9"/><dir name="Helper"><file name="Image.php" hash="da1821e82b38af686705efb53f5a1ca9"/></dir></dir><file name="Banner.php" hash="181c9778d624e104ab3f8e729c58b3f7"/><file name="Dashboard.php" hash="e4e5bfd422325aeb4810022e72dbb61c"/><file name="Extend.php" hash="065897186d7dd97b354cdd4863b75b1d"/><dir name="Form"><dir name="Renderer"><file name="Useconfig.php" hash="df579ff6a4a783ed17d6c5bc6118e171"/></dir></dir><dir name="Group"><dir name="Edit"><file name="Form.php" hash="5b8f4f8649e974f80ea21de7f323788e"/><dir name="Tab"><file name="Banners.php" hash="f13f72d714e73ba5481fe488b369c879"/><file name="Form.php" hash="67ab47bbe207e41b7542cddc15401590"/></dir><file name="Tabs.php" hash="d57a68d75dde73b39127dc8a932b858e"/></dir><file name="Edit.php" hash="1f3ca94777f0eb8a3363d245d9c5bc9d"/><file name="Grid.php" hash="4f91dc562530e2713fe4bceed61bce46"/></dir><file name="Group.php" hash="6a6ea8ad3f9e1e25dcf0411fa5347b9c"/></dir><file name="View.php" hash="5dd113d04a13f11f4d267916313dc473"/></dir><dir name="FPAdmin"><dir name="Block"><dir name="Adminhtml"><file name="Extend.php" hash="
|
| 16 |
<compatible/>
|
| 17 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
| 18 |
</package>
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Fishpigs_iBanners</name>
|
| 4 |
+
<version>1.2.4.1</version>
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license uri="http://fishpig.co.uk/license.txt">FishPig EULA</license>
|
| 7 |
<channel>community</channel>
|
| 8 |
<extends/>
|
| 9 |
<summary>Create multiple banner slideshows for your site.</summary>
|
| 10 |
<description>Create multiple banner slideshows for your site.</description>
|
| 11 |
+
<notes>For changes, please see fishpig.co.uk/magento/extensions/ibanners/#changelog</notes>
|
| 12 |
<authors><author><name>fishpig</name><user>fishpig</user><email>ben@fishpig.co.uk</email></author></authors>
|
| 13 |
+
<date>2015-07-10</date>
|
| 14 |
+
<time>08:44:02</time>
|
| 15 |
+
<contents><target name="magecommunity"><dir name="Fishpig"><dir name="IBanners"><dir name="Block"><dir name="Adminhtml"><dir name="Banner"><dir name="Edit"><file name="Form.php" hash="e9cd0d7436d36048706bc474704d2b82"/><dir name="Tab"><file name="Form.php" hash="a6ab04d3bb183e32935e3e285fbdabd5"/></dir><file name="Tabs.php" hash="60a82a390e8580594885bceb19a13460"/></dir><file name="Edit.php" hash="93807e5b677fd064e49c547551507202"/><file name="Grid.php" hash="193cf462223dc0a24069c85001baf6d9"/><dir name="Helper"><file name="Image.php" hash="da1821e82b38af686705efb53f5a1ca9"/></dir></dir><file name="Banner.php" hash="181c9778d624e104ab3f8e729c58b3f7"/><file name="Dashboard.php" hash="e4e5bfd422325aeb4810022e72dbb61c"/><file name="Extend.php" hash="065897186d7dd97b354cdd4863b75b1d"/><dir name="Form"><dir name="Renderer"><file name="Useconfig.php" hash="df579ff6a4a783ed17d6c5bc6118e171"/></dir></dir><dir name="Group"><dir name="Edit"><file name="Form.php" hash="5b8f4f8649e974f80ea21de7f323788e"/><dir name="Tab"><file name="Banners.php" hash="f13f72d714e73ba5481fe488b369c879"/><file name="Form.php" hash="67ab47bbe207e41b7542cddc15401590"/></dir><file name="Tabs.php" hash="d57a68d75dde73b39127dc8a932b858e"/></dir><file name="Edit.php" hash="1f3ca94777f0eb8a3363d245d9c5bc9d"/><file name="Grid.php" hash="4f91dc562530e2713fe4bceed61bce46"/></dir><file name="Group.php" hash="6a6ea8ad3f9e1e25dcf0411fa5347b9c"/></dir><file name="View.php" hash="5dd113d04a13f11f4d267916313dc473"/></dir><dir name="Controller"><dir name="Adminhtml"><file name="Abstract.php" hash="8ac27928c37172777bf94c75bf3af06f"/></dir></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="9bd019ca2dd19d3830729dea01cae6ca"/></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="aeaa36a9c56477944b190b63442fc89d"/><file name="Image.php" hash="92a06beda3aefa58577dd91556001115"/></dir><dir name="Model"><file name="Banner.php" hash="eb4e6aa9c2ce9c849ebc773c88615456"/><file name="Group.php" hash="095c22eb1f93aafb57effca8709f5338"/><dir name="Mysql4"><dir name="Banner"><file name="Collection.php" hash="511a3aceff96f430a5fa44a3a7ff2b05"/></dir><file name="Banner.php" hash="81752a0ab34bde996d9472ac67272472"/><dir name="Group"><file name="Collection.php" hash="ab6a49e01708c118052a696a0e09184c"/></dir><file name="Group.php" hash="65169f143695653cafa08a3aeca28904"/></dir><dir name="System"><dir name="Config"><dir name="Source"><dir name="Carousel"><file name="Effect.php" hash="b615ef28aa59aed914dd95a0242cfc9e"/><file name="Transition.php" hash="290f6abe41d0d44f72f8188a77f8e475"/></dir><dir name="Controls"><file name="Position.php" hash="fe9d0c6845fd0fc28603baee7b053c32"/></dir></dir></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><dir name="IBanners"><file name="BannerController.php" hash="5b5d33bc563547eb57892078d6ecd6e7"/><file name="GroupController.php" hash="8735467b19b04c0a0cd83dd874c535a6"/></dir><file name="IBannersController.php" hash="b812da7c9f71ae242086a83d61a007c5"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="2b7421933971edba033e7287580c3183"/><file name="config.xml" hash="cab4b53541b43dd68c78b8779d7cb949"/><file name="system.xml" hash="e99f8867801b68adb8a0e0cd0e136685"/></dir><file name="license.txt" hash="257eae92a36bdaaf9584fbf8ba76d1c6"/><file name="notes.txt" hash="f93d194e1cd736f17d42fc72d4bf2331"/><dir name="sql"><dir name="ibanners_setup"><file name="mysql4-install-0.1.0.php" hash="62e4961272f2d697595002b006e72731"/><file name="mysql4-upgrade-0.5.2-0.5.3.php" hash="2e85887fb121d988357a45785d9f06df"/><file name="mysql4-upgrade-0.5.4-0.5.5.php" hash="a16fd4c674ed65eed1c7cee851960d28"/><file name="mysql4-upgrade-0.5.5-0.5.6.php" hash="a002305ec4b958c7213309d874b349f8"/><file name="mysql4-upgrade-0.9.0-0.9.1.php" hash="b970018526e15b6fc938b1866c5bfd81"/><file name="mysql4-upgrade-0.9.1-0.9.2.php" hash="07ba18c243e573655e43c64ee1a0d876"/><file name="mysql4-upgrade-1.0.4-1.0.5.php" hash="7f1cb0ec0dca8a5a4cd07ea3e9444cf7"/><file name="mysql4-upgrade-1.0.5-1.0.6.php" hash="2a430094f423b90adead0fcc6defc26e"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="ibanners.xml" hash="49afe944f6ccfc7033b86c7cb719c361"/></dir><dir name="template"><dir name="ibanners"><file name="getcode.phtml" hash="79cd6c31a32d21071fa5c7645f629053"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="ibanners.xml" hash="a68d69986eef07a540f3313cee0a0e7d"/></dir><dir name="template"><dir name="ibanners"><file name="default.phtml" hash="677f081bb8e40f62771abec88aac857c"/></dir></dir></dir></dir></dir></target><target name="mageweb"><dir name="js"><dir name="fishpig"><file name="carousel.min.js" hash="cfd7a8d08a6dca87e4211a400877716e"/></dir></dir><dir name="app"><dir name="etc"><dir name="modules"><file name="Fishpig_iBanners.xml" hash="0b9289cca030da9b13e84ab183f18892"/></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><file name="ibanners.css" hash="f39554b3dcdaad686da4093e59b4efef"/></dir><dir name="images"><dir name="ibanners"><file name="arrow-left.png" hash="a587a6ef8ed482ce83b468b2f8b90008"/><file name="arrow-right.png" hash="001286015205ecf53766877a1d92a784"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><file name="ibanners.css" hash="328b9e66068670364e620f6e5b194ce5"/></dir></dir></dir></target></contents>
|
| 16 |
<compatible/>
|
| 17 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
| 18 |
</package>
|
