Cybernetikz_Background - Version 0.5.0

Version Notes

- Small bugs are fixed

Download this release

Release Info

Developer CyberNetikz
Extension Cybernetikz_Background
Version 0.5.0
Comparing to
See all releases


Code changes from version 0.4.0 to 0.5.0

app/code/local/Cybernetikz/Background/Block/Background.php CHANGED
@@ -62,7 +62,7 @@ class Cybernetikz_Background_Block_Background extends Mage_Core_Block_Template{
62
 
63
 
64
  // If background not found, check default background
65
- if($collection->count() || $collection->count()==0){
66
  $collection = Mage::getResourceModel('background/background_collection');
67
  $collection->addFieldToFilter('page_id',"0");
68
  $collection->addFieldToFilter('bg_type',"default");
62
 
63
 
64
  // If background not found, check default background
65
+ if(!$collection->count() || $collection->count()==0){
66
  $collection = Mage::getResourceModel('background/background_collection');
67
  $collection->addFieldToFilter('page_id',"0");
68
  $collection->addFieldToFilter('bg_type',"default");
app/code/local/Cybernetikz/Background/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Cybernetikz_Background>
5
- <version>0.4.0</version>
6
  </Cybernetikz_Background>
7
  </modules>
8
 
2
  <config>
3
  <modules>
4
  <Cybernetikz_Background>
5
+ <version>0.5.0</version>
6
  </Cybernetikz_Background>
7
  </modules>
8
 
package.xml CHANGED
@@ -1,19 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Cybernetikz_Background</name>
4
- <version>0.4.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL 3.0)</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Upload Unique Background Image for Each CMS &amp; Category Page. Product page will use Category Background Image.</summary>
10
  <description>Background Uploader Magento Extension is made for Store CMS and Category Page Background Image Change. Admin will able to easily change background image for CMS page and Category Page. Admin can upload unique background image. Product page will use there category Background Image.</description>
11
- <notes>- Fully customized background feature are added&#xD;
12
- - Small bugs are fixed</notes>
13
  <authors><author><name>CyberNetikz</name><user>CyberNetikz</user><email>admin@cybernetikz.com</email></author></authors>
14
- <date>2015-07-15</date>
15
- <time>06:16:50</time>
16
- <contents><target name="mageetc"><dir name="modules"><file name="Cybernetikz_Background.xml" hash="62fbb8010ada4e672b36101145c5dc5a"/></dir></target><target name="magelocal"><dir name="Cybernetikz"><dir name="Background"><dir name="Block"><file name="Background.php" hash="0aea03b0b38ecf31d610f71328f0e4c3"/></dir><dir name="Helper"><file name="Data.php" hash="ed004387bb74393082e11af95378ab0f"/></dir><dir name="Model"><file name="Background.php" hash="f6fa810151c1d5eccbfaec96f25930d1"/><dir name="Mysql4"><dir name="Background"><file name="Collection.php" hash="2cc15973dcc9aae2339fcd0f3fe5740d"/></dir><file name="Background.php" hash="2659a9da799392f8b96fa8d90440837c"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="BackgroundController.php" hash="91bfd3d9c7e5a43653f4abbe64e2c303"/></dir></dir><dir name="etc"><file name="config.xml" hash="722379cc1b95361c9b15de9e5e888021"/></dir><dir name="sql"><dir name="background_setup"><file name="mysql4-install-0.1.0.php" hash="b887593bb3c2befd1505e424814259b8"/><file name="mysql4-upgrade-0.3.0-0.4.0.php" hash="e79a91e21d6502e1d765b2fe67741d92"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="background"><file name="edit.phtml" hash="4926d2872518562a6e047f13c9d2013f"/><file name="grid.phtml" hash="a68fc9fbaab31c0e4c8ec2f5d37ad2dd"/><file name="new.phtml" hash="cfcfc27bad59b7d41f0a001e89efb3f2"/></dir></dir><dir name="layout"><file name="background.xml" hash="69d302cfd97e38315b76c058db238eeb"/></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="background.xml" hash="c2df88e1cab087ed24f380be120592a2"/></dir><dir name="template"><dir name="background"><file name="background.phtml" hash="ddac4e7f0fe4ef28720d83e4d544c1b9"/></dir></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="backgroundjs"><file name="jquery-1.10.1.min.js" hash="94ee4d9e6232eda246263c50b469ab4a"/></dir></dir></target></contents>
17
  <compatible/>
18
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
19
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Cybernetikz_Background</name>
4
+ <version>0.5.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL 3.0)</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Upload Unique Background Image for Each CMS &amp; Category Page. Product page will use Category Background Image.</summary>
10
  <description>Background Uploader Magento Extension is made for Store CMS and Category Page Background Image Change. Admin will able to easily change background image for CMS page and Category Page. Admin can upload unique background image. Product page will use there category Background Image.</description>
11
+ <notes>- Small bugs are fixed</notes>
 
12
  <authors><author><name>CyberNetikz</name><user>CyberNetikz</user><email>admin@cybernetikz.com</email></author></authors>
13
+ <date>2015-07-23</date>
14
+ <time>13:44:27</time>
15
+ <contents><target name="mageetc"><dir name="modules"><file name="Cybernetikz_Background.xml" hash="62fbb8010ada4e672b36101145c5dc5a"/></dir></target><target name="magelocal"><dir name="Cybernetikz"><dir name="Background"><dir name="Block"><file name="Background.php" hash="743483090182143360ea13b8b8ff9717"/></dir><dir name="Helper"><file name="Data.php" hash="ed004387bb74393082e11af95378ab0f"/></dir><dir name="Model"><file name="Background.php" hash="f6fa810151c1d5eccbfaec96f25930d1"/><dir name="Mysql4"><dir name="Background"><file name="Collection.php" hash="2cc15973dcc9aae2339fcd0f3fe5740d"/></dir><file name="Background.php" hash="2659a9da799392f8b96fa8d90440837c"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="BackgroundController.php" hash="91bfd3d9c7e5a43653f4abbe64e2c303"/></dir></dir><dir name="etc"><file name="config.xml" hash="0ac55d5838a4ead309cafdf33d5c8266"/></dir><dir name="sql"><dir name="background_setup"><file name="mysql4-install-0.1.0.php" hash="b887593bb3c2befd1505e424814259b8"/><file name="mysql4-upgrade-0.3.0-0.4.0.php" hash="e79a91e21d6502e1d765b2fe67741d92"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="background"><file name="edit.phtml" hash="4926d2872518562a6e047f13c9d2013f"/><file name="grid.phtml" hash="a68fc9fbaab31c0e4c8ec2f5d37ad2dd"/><file name="new.phtml" hash="cfcfc27bad59b7d41f0a001e89efb3f2"/></dir></dir><dir name="layout"><file name="background.xml" hash="69d302cfd97e38315b76c058db238eeb"/></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="background.xml" hash="c2df88e1cab087ed24f380be120592a2"/></dir><dir name="template"><dir name="background"><file name="background.phtml" hash="ddac4e7f0fe4ef28720d83e4d544c1b9"/></dir></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="backgroundjs"><file name="jquery-1.10.1.min.js" hash="94ee4d9e6232eda246263c50b469ab4a"/></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>