Samdoit_Mageportfolio - Version 1.0.1

Version Notes

Stable Version tested the compatibility with magento 1.7.2

Download this release

Release Info

Developer Samdoit
Extension Samdoit_Mageportfolio
Version 1.0.1
Comparing to
See all releases


Code changes from version 1.0.0 to 1.0.1

app/code/community/Samdoit/Mageportfolio/Block/Mageportfolio.php CHANGED
@@ -11,7 +11,7 @@ class Samdoit_Mageportfolio_Block_Mageportfolio extends Mage_Core_Block_Template
11
  {
12
  $resource = Mage::getSingleton('core/resource');
13
  $readConnection = $resource->getConnection('core_read');
14
- $query = "SELECT *FROM mageportfolio WHERE status=1";
15
  $pageCollection = $readConnection->fetchAll($query);
16
  return $pageCollection;
17
  }
11
  {
12
  $resource = Mage::getSingleton('core/resource');
13
  $readConnection = $resource->getConnection('core_read');
14
+ $query = "SELECT *FROM ".$resource->getTableName('mageportfolio/mageportfolio')." WHERE status=1";
15
  $pageCollection = $readConnection->fetchAll($query);
16
  return $pageCollection;
17
  }
app/code/community/Samdoit/Mageportfolio/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Samdoit_Mageportfolio>
5
- <version>1.0.0</version>
6
  </Samdoit_Mageportfolio>
7
  </modules>
8
  <frontend>
2
  <config>
3
  <modules>
4
  <Samdoit_Mageportfolio>
5
+ <version>1.0.1</version>
6
  </Samdoit_Mageportfolio>
7
  </modules>
8
  <frontend>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Samdoit_Mageportfolio</name>
4
- <version>1.0.0</version>
5
  <stability>stable</stability>
6
  <license>OSL</license>
7
  <channel>community</channel>
@@ -10,9 +10,9 @@
10
  <description>Magento Portfolio to add your portfolio in magento admin you can view from your front end, you can view the portfolio by http://your-domain/portfolio</description>
11
  <notes>Stable Version tested the compatibility with magento 1.7.2</notes>
12
  <authors><author><name>Samdoit</name><user>samdoit</user><email>arulmanickams@samdoit.com</email></author></authors>
13
- <date>2013-08-20</date>
14
- <time>11:40:01</time>
15
- <contents><target name="mageetc"><dir name="modules"><file name="Samdoit_Mageportfolio.xml" hash="dcb64db6ad3dae0c5159cfdf6bb6577d"/></dir></target><target name="magecommunity"><dir name="Samdoit"><dir name="Mageportfolio"><dir><dir name="Block"><dir name="Adminhtml"><dir name="Mageportfolio"><dir name="Edit"><file name="Form.php" hash="cc698dcf823567d00e4fc8471a582e06"/><dir name="Tab"><file name="Form.php" hash="22534371cd7fac3c324fc89c53b86282"/></dir><file name="Tabs.php" hash="a06c18da85fd0193ba9cc4dd21b6c2a5"/></dir><file name="Edit.php" hash="567bbee4f4600fd829c3d7799eda5260"/><file name="Grid.php" hash="40dc87defc4117a2266b7ee5c99f1cf0"/></dir><file name="Mageportfolio.php" hash="c415927c72ae9e96cf4015648385d469"/></dir><file name="Mageportfolio.php" hash="6066bd107bb7594285f0d02ecc0ba45d"/></dir><dir name="Helper"><file name="Data.php" hash="6ce7a43b4ff0a8db4bcf3083acfcb73b"/></dir><dir name="Model"><file name="Mageportfolio.php" hash="761446fe4bdaad58405af79bac8e5e39"/><dir name="Mysql4"><dir name="Mageportfolio"><file name="Collection.php" hash="44f8c04d09679178a5493387cf2bc259"/></dir><file name="Mageportfolio.php" hash="657f9cf6e7c4d435169fd85934c68552"/></dir><file name="Status.php" hash="daf6330870b4c091b5be510b1d379493"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="MageportfolioController.php" hash="e70d03debbbced4501144e09416625b2"/></dir><file name="IndexController.php" hash="fa482fc73dd8568ae615c237f06f0475"/></dir><dir name="etc"><file name="config.xml" hash="e1b1ce9e7dd98d9b68221ecc36fc505f"/></dir><dir name="sql"><dir name="mageportfolio_setup"><file name="mysql4-install-1.0.0.php" hash="37aa00fead24136e24f356e3c16f3513"/></dir></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="mageportfolio.xml" hash="91ced8de17332ecfdfe307c575ad0de4"/></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="template"><dir name="mageportfolio"><file name="mageportfolio.phtml" hash="aafb21a30bdaccdd469016b80a4d8b83"/></dir></dir><dir name="layout"><file name="mageportfolio.xml" hash="ab2876109f8a2a0bf576da5bc7e0e852"/></dir></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>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Samdoit_Mageportfolio</name>
4
+ <version>1.0.1</version>
5
  <stability>stable</stability>
6
  <license>OSL</license>
7
  <channel>community</channel>
10
  <description>Magento Portfolio to add your portfolio in magento admin you can view from your front end, you can view the portfolio by http://your-domain/portfolio</description>
11
  <notes>Stable Version tested the compatibility with magento 1.7.2</notes>
12
  <authors><author><name>Samdoit</name><user>samdoit</user><email>arulmanickams@samdoit.com</email></author></authors>
13
+ <date>2013-09-10</date>
14
+ <time>09:09:21</time>
15
+ <contents><target name="mageetc"><dir name="modules"><file name="Samdoit_Mageportfolio.xml" hash="dcb64db6ad3dae0c5159cfdf6bb6577d"/></dir></target><target name="magecommunity"><dir name="Samdoit"><dir name="Mageportfolio"><dir><dir name="Block"><dir name="Adminhtml"><dir name="Mageportfolio"><dir name="Edit"><file name="Form.php" hash="cc698dcf823567d00e4fc8471a582e06"/><dir name="Tab"><file name="Form.php" hash="22534371cd7fac3c324fc89c53b86282"/></dir><file name="Tabs.php" hash="a06c18da85fd0193ba9cc4dd21b6c2a5"/></dir><file name="Edit.php" hash="567bbee4f4600fd829c3d7799eda5260"/><file name="Grid.php" hash="40dc87defc4117a2266b7ee5c99f1cf0"/></dir><file name="Mageportfolio.php" hash="c415927c72ae9e96cf4015648385d469"/></dir><file name="Mageportfolio.php" hash="c8f86dfd024b031bef9868997dad9b76"/></dir><dir name="Helper"><file name="Data.php" hash="6ce7a43b4ff0a8db4bcf3083acfcb73b"/></dir><dir name="Model"><file name="Mageportfolio.php" hash="761446fe4bdaad58405af79bac8e5e39"/><dir name="Mysql4"><dir name="Mageportfolio"><file name="Collection.php" hash="44f8c04d09679178a5493387cf2bc259"/></dir><file name="Mageportfolio.php" hash="657f9cf6e7c4d435169fd85934c68552"/></dir><file name="Status.php" hash="daf6330870b4c091b5be510b1d379493"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="MageportfolioController.php" hash="e70d03debbbced4501144e09416625b2"/></dir><file name="IndexController.php" hash="fa482fc73dd8568ae615c237f06f0475"/></dir><dir name="etc"><file name="config.xml" hash="fe8d8e125d67335d91c382d109571ae0"/></dir><dir name="sql"><dir name="mageportfolio_setup"><file name="mysql4-install-1.0.0.php" hash="37aa00fead24136e24f356e3c16f3513"/></dir></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="mageportfolio.xml" hash="91ced8de17332ecfdfe307c575ad0de4"/></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="template"><dir name="mageportfolio"><file name="mageportfolio.phtml" hash="aafb21a30bdaccdd469016b80a4d8b83"/></dir></dir><dir name="layout"><file name="mageportfolio.xml" hash="ab2876109f8a2a0bf576da5bc7e0e852"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="css"><file name="portfolio.css" hash="c029779604d16867300f63518e7b7089"/></dir></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>
skin/frontend/default/default/css/portfolio.css ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ #portfolio-grid li.last, #portfolio-grid li.first { padding-left: 0; }
2
+ #portfolio-grid li { float: left; padding-left:10px; }
3
+ .category { width: 100%; float: left; }