Version Notes
Responsive banner slider extension with different type of banner style Fully responsive banner slider
Download this release
Release Info
Developer | Manvendra Sharma |
Extension | Responsivebannerslider |
Version | 2.1.1 |
Comparing to | |
See all releases |
Code changes from version 2.0.1 to 2.1.1
- app/code/community/Mage/Adminhtml/Model/System/Config/Source/Diyoptions13952293441.php +19 -0
- app/code/community/Manv/Responsivebannerslider/etc/copy of system.xml +75 -0
- app/design/frontend/base/default/template/responsivebannerslider/copy of index.phtml +1 -0
- app/design/frontend/base/default/template/responsivebannerslider/index.phtml +4 -4
- package.xml +6 -6
app/code/community/Mage/Adminhtml/Model/System/Config/Source/Diyoptions13952293441.php
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
class Mage_Adminhtml_Model_System_Config_Source_Diyoptions13952293441
|
3 |
+
{
|
4 |
+
|
5 |
+
/**
|
6 |
+
* Options getter
|
7 |
+
*
|
8 |
+
* @return array
|
9 |
+
*/
|
10 |
+
public function toOptionArray()
|
11 |
+
{
|
12 |
+
return array(
|
13 |
+
|
14 |
+
array('value' => 1, 'label'=>Mage::helper('adminhtml')->__('Fade (Responsive)')),
|
15 |
+
array('value' => 2, 'label'=>Mage::helper('adminhtml')->__('Slide (Responsive)')),
|
16 |
+
);
|
17 |
+
}
|
18 |
+
|
19 |
+
}
|
app/code/community/Manv/Responsivebannerslider/etc/copy of system.xml
ADDED
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<config>
|
3 |
+
<tabs>
|
4 |
+
<mksresponsibetab translate="label" module="responsivebannerslider">
|
5 |
+
<label>MKS RESPONSIVE BANNER</label>
|
6 |
+
<sort_order>0</sort_order>
|
7 |
+
</mksresponsibetab>
|
8 |
+
</tabs>
|
9 |
+
<sections>
|
10 |
+
<generalsetting translate="label" module="responsivebannerslider">
|
11 |
+
<label>General Setting</label>
|
12 |
+
<tab>mksresponsibetab</tab>
|
13 |
+
<frontend_type>text</frontend_type>
|
14 |
+
<sort_order>0</sort_order>
|
15 |
+
<show_in_default>1</show_in_default>
|
16 |
+
<show_in_website>1</show_in_website>
|
17 |
+
<show_in_store>1</show_in_store>
|
18 |
+
<groups>
|
19 |
+
<mksresponsivegroup translate="label">
|
20 |
+
<label>Banner Setting</label>
|
21 |
+
<frontend_type>text</frontend_type>
|
22 |
+
<sort_order>0</sort_order>
|
23 |
+
<show_in_default>1</show_in_default>
|
24 |
+
<show_in_website>1</show_in_website>
|
25 |
+
<show_in_store>1</show_in_store>
|
26 |
+
<fields>
|
27 |
+
<pauseonhover translate="label">
|
28 |
+
<label>Pause OnHover</label>
|
29 |
+
<frontend_type>text</frontend_type>
|
30 |
+
<sort_order>4</sort_order>
|
31 |
+
<show_in_default>1</show_in_default>
|
32 |
+
<show_in_website>1</show_in_website>
|
33 |
+
<show_in_store>1</show_in_store>
|
34 |
+
</pauseonhover>
|
35 |
+
<styletype translate="label">
|
36 |
+
<label>Style Type</label>
|
37 |
+
<frontend_type>select</frontend_type>
|
38 |
+
<source_model>adminhtml/system_config_source_Diyoptions13952293441</source_model>
|
39 |
+
<sort_order>1</sort_order>
|
40 |
+
<show_in_default>1</show_in_default>
|
41 |
+
<show_in_website>1</show_in_website>
|
42 |
+
<show_in_store>1</show_in_store>
|
43 |
+
</styletype>
|
44 |
+
<bannerloop translate="label">
|
45 |
+
<label>Banner Loop</label>
|
46 |
+
<frontend_type>text</frontend_type>
|
47 |
+
<sort_order>3</sort_order>
|
48 |
+
<show_in_default>1</show_in_default>
|
49 |
+
<show_in_website>1</show_in_website>
|
50 |
+
<show_in_store>1</show_in_store>
|
51 |
+
</bannerloop>
|
52 |
+
<slidespeed translate="label">
|
53 |
+
<label>Slide Speed</label>
|
54 |
+
<frontend_type>text</frontend_type>
|
55 |
+
<sort_order>2</sort_order>
|
56 |
+
<show_in_default>1</show_in_default>
|
57 |
+
<show_in_website>1</show_in_website>
|
58 |
+
<show_in_store>1</show_in_store>
|
59 |
+
<comment>1000</comment>
|
60 |
+
</slidespeed>
|
61 |
+
<enable translate="label">
|
62 |
+
<label>Enable</label>
|
63 |
+
<frontend_type>select</frontend_type>
|
64 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
65 |
+
<sort_order>0</sort_order>
|
66 |
+
<show_in_default>1</show_in_default>
|
67 |
+
<show_in_website>1</show_in_website>
|
68 |
+
<show_in_store>1</show_in_store>
|
69 |
+
</enable>
|
70 |
+
</fields>
|
71 |
+
</mksresponsivegroup>
|
72 |
+
</groups>
|
73 |
+
</generalsetting>
|
74 |
+
</sections>
|
75 |
+
</config>
|
app/design/frontend/base/default/template/responsivebannerslider/copy of index.phtml
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
Manv_Responsivebannerslider
|
app/design/frontend/base/default/template/responsivebannerslider/index.phtml
CHANGED
@@ -33,13 +33,13 @@ while($row1 = $sql->fetch())
|
|
33 |
{
|
34 |
$title = $row1["title"];
|
35 |
$description = $row1["description"];
|
36 |
-
$pageurl = $row1["url"];
|
37 |
$urlx = $row1["image"];
|
|
|
38 |
$media_url = Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA);
|
39 |
$imgurl=$media_url.$urlx;
|
40 |
?>
|
41 |
<li style="width: 100%; float: left; margin-right: -100%; position: relative; display: none;" class="slide">
|
42 |
-
<a href="<?php echo $
|
43 |
<img src="<?php echo $imgurl; ?>" alt="<?php echo $title; ?>" title="<?php echo $title; ?>">
|
44 |
<div class="caption dark3">
|
45 |
<h2><?php echo $description; ?></h2>
|
@@ -123,14 +123,14 @@ while($row1 = $sql->fetch())
|
|
123 |
{
|
124 |
$title = $row1["title"];
|
125 |
$description = $row1["description"];
|
126 |
-
$pageurl = $row1["url"];
|
127 |
$urlx = $row1["image"];
|
|
|
128 |
$media_url = Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA);
|
129 |
$imgurl=$media_url.$urlx;
|
130 |
?>
|
131 |
|
132 |
<li class="slide">
|
133 |
-
<a href="<?php echo $
|
134 |
<img src="<?php echo $imgurl; ?>" alt="<?php echo $title; ?>" title="<?php echo $title; ?>">
|
135 |
<div class="caption dark3">
|
136 |
<h2><?php echo $description; ?></h2>
|
33 |
{
|
34 |
$title = $row1["title"];
|
35 |
$description = $row1["description"];
|
|
|
36 |
$urlx = $row1["image"];
|
37 |
+
$bannerurl_xx = $row1["url"];
|
38 |
$media_url = Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA);
|
39 |
$imgurl=$media_url.$urlx;
|
40 |
?>
|
41 |
<li style="width: 100%; float: left; margin-right: -100%; position: relative; display: none;" class="slide">
|
42 |
+
<a href="<?php echo $bannerurl_xx; ?>">
|
43 |
<img src="<?php echo $imgurl; ?>" alt="<?php echo $title; ?>" title="<?php echo $title; ?>">
|
44 |
<div class="caption dark3">
|
45 |
<h2><?php echo $description; ?></h2>
|
123 |
{
|
124 |
$title = $row1["title"];
|
125 |
$description = $row1["description"];
|
|
|
126 |
$urlx = $row1["image"];
|
127 |
+
$bannerurl_xx = $row1["url"];
|
128 |
$media_url = Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA);
|
129 |
$imgurl=$media_url.$urlx;
|
130 |
?>
|
131 |
|
132 |
<li class="slide">
|
133 |
+
<a href="<?php echo $bannerurl_xx; ?>">
|
134 |
<img src="<?php echo $imgurl; ?>" alt="<?php echo $title; ?>" title="<?php echo $title; ?>">
|
135 |
<div class="caption dark3">
|
136 |
<h2><?php echo $description; ?></h2>
|
package.xml
CHANGED
@@ -1,18 +1,18 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Responsivebannerslider</name>
|
4 |
-
<version>2.
|
5 |
<stability>stable</stability>
|
6 |
<license>OSL</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
-
<summary>Responsive banner slider extension with different type of banner style Fully responsive banner slider
|
10 |
-
<description>Responsive banner slider extension with different type of banner style Fully responsive banner slider
|
11 |
-
<notes>
|
12 |
<authors><author><name>Manvendra Sharma</name><user>sharmamanvendra</user><email>sharmamanvendra6@gmail.com</email></author></authors>
|
13 |
<date>2014-07-19</date>
|
14 |
-
<time>
|
15 |
-
<contents><target name="
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Responsivebannerslider</name>
|
4 |
+
<version>2.1.1</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>OSL</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
+
<summary>Responsive banner slider extension with different type of banner style Fully responsive banner slider </summary>
|
10 |
+
<description>Responsive banner slider extension with different type of banner style Fully responsive banner slider </description>
|
11 |
+
<notes>Responsive banner slider extension with different type of banner style Fully responsive banner slider </notes>
|
12 |
<authors><author><name>Manvendra Sharma</name><user>sharmamanvendra</user><email>sharmamanvendra6@gmail.com</email></author></authors>
|
13 |
<date>2014-07-19</date>
|
14 |
+
<time>11:12:09</time>
|
15 |
+
<contents><target name="magecommunity"><dir name="Manv"><dir name="Responsivebannerslider"><dir name="Block"><dir name="Adminhtml"><dir name="Responsivebanner"><dir name="Edit"><file name="Form.php" hash="756dcd5ee19ca4aa25d702ddbc65b01c"/><dir name="Tab"><file name="Form.php" hash="4e61b812fe73831ecdcf8c65aafee5a3"/></dir><file name="Tabs.php" hash="84fb3d895caff0c59c01084997a1d325"/></dir><file name="Edit.php" hash="8ed0c876c53880d952812f5abb0419ad"/><file name="Grid.php" hash="7704de7dfa1459a9c4d039777f1b733b"/></dir><file name="Responsivebanner.php" hash="70d69ef4022d5f2fd53a6332207ba676"/></dir><file name="Index.php" hash="89b7baca0edd5c9aa3ce9e6548388fbe"/></dir><dir name="Helper"><file name="Data.php" hash="5dd419c904f7d9071b8abdcdf2a3865f"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Responsivebanner"><file name="Collection.php" hash="c7febccb0969bf99d55a36c6a8924c28"/></dir><file name="Responsivebanner.php" hash="8b79b2db8c08e86e3864762bb40c61ed"/></dir><file name="Responsivebanner.php" hash="af0fb8fcc1e5baf135c826584ee23497"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="ResponsivebannerController.php" hash="f38660ef96842a6bb442eb25d940fe11"/><dir name="Rss"><file name="RssController.php" hash="b98e84a5563df4f83aaa48883e7ffbdd"/></dir></dir><file name="IndexController.php" hash="6f86a7b318f235cff014d00c6625cf7e"/></dir><dir name="etc"><file name="adminhtml.xml" hash="c44d2173a50ace0dd8b6e8dc6788d5e6"/><file name="config.xml" hash="4445258739f256cd702e178941eba942"/><file name="copy of system.xml" hash="36e37bc23786b5508e91c9663f0ddca8"/><file name="system.xml" hash="23972dae26954e6d075ac1b7538cbd1b"/></dir><dir name="sql"><dir name="responsivebannerslider_setup"><file name="mysql4-install-8.1.1.php" hash="ec872520c926462469530669944ddfe5"/></dir></dir></dir></dir><dir name="Mage"><dir name="Adminhtml"><dir name="Model"><dir name="System"><dir name="Config"><dir name="Source"><file name="Diyoptions13952293441.php" hash="2a2c9716fc97780936a9f8782465c199"/></dir></dir></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="responsivebannerslider.xml" hash="f22c2b846a1f19e8e385015efae181eb"/></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="responsivebannerslider.xml" hash="0c38a2da33a0b42e71b614be4fc1ec2a"/></dir><dir name="template"><dir name="responsivebannerslider"><file name="copy of index.phtml" hash="9d48a0e12372ae174c93e941266fede5"/><file name="index.phtml" hash="4039d38d5e7bbee2e07015dc71d8620a"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Manv_Responsivebannerslider.xml" hash="e96344693c27b256246185282783cfd5"/></dir></target><target name="magemedia"><dir name="responsivebannerslider"><dir name="bannerslider"><file name="_KGrHqZHJC_E_ZueTi29BRvDbovHF_60_35.JPG" hash="36eaa4b4b52c48f20234d8304f4c4efe"/><file name="banner-1.jpg" hash="973491deb872911a69f7bb1f6138036b"/><file name="banner-1_1.jpg" hash="973491deb872911a69f7bb1f6138036b"/><file name="banner-2.jpg" hash="92372dc0f2a9454851bed073a3d164a4"/><file name="banner-3.jpg" hash="f0b4946e792dc573b8b76b5aa8935d3d"/></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="manvresponsiveslider"><dir name="css"><file name="generic-nav.css" hash="f0ea48a8ce441ad10e5c631da5b0ae46"/><file name="grid12.css" hash="4cf760c5e87d6ff6e85f653928cbed07"/><file name="styles-banner.css" hash="5f54dc753c338cd41b1a4df180884a4f"/><file name="styles.css" hash="8e45917ed2dd5d388e76b9147ae6a2eb"/><file name="ultra-slideshow.css" hash="d63a04686f1a3b9652053841dcd7ac9a"/></dir><dir name="img"><file name="01.jpg" hash="49dcb5cee2b86a14b80b6ef59e467bc3"/><file name="01_002.jpg" hash="edc7eff6b3c0b38a429c44c656398358"/><file name="02.jpg" hash="0ec3768570d3774c1805a90d615172b2"/><file name="1.jpg" hash="cb627e40504b966d04a1ab52e0ab749e"/><file name="2.jpg" hash="cb627e40504b966d04a1ab52e0ab749e"/><file name="3.jpg" hash="cb627e40504b966d04a1ab52e0ab749e"/><file name="info.png" hash="43d666757fb907b2ee8f44352d80e9ff"/><file name="logo.png" hash="ec59af60870fe42a62debe4721fdf529"/><file name="pager.png" hash="58b23f4350365ca08912ac608f6d2d9e"/><file name="payment.gif" hash="a8daa18fcb3e3845c56ffbca6d140276"/><file name="slider-arrows.png" hash="4f71b34c53eedc49a534566557dddbef"/></dir><dir name="js"><file name="jquery-1.7.2.min.js" hash="a13f7f208ba534681deadb1ec7a2e54a"/><file name="jquery-1.js" hash="a13f7f208ba534681deadb1ec7a2e54a"/><file name="jquery-noconflict.js" hash="3179f2255b046d5f2e9a71e365287bef"/><file name="jquery.easing.min.js" hash="a6f75e0c043a2a087837e5c113cc6f7a"/><file name="jquery.flexslider.min.js" hash="af24b4669a06656c13457625030ec2b8"/><file name="jquery.slides.min.js" hash="832349b4646a92830507b060a3905aba"/><file name="jquery_003.js" hash="235b4112e5ce03c47395746e677b37ea"/><file name="jquery_004.js" hash="a6f75e0c043a2a087837e5c113cc6f7a"/></dir></dir></dir></dir></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|