Samdoit_Mageportfolio - Version 1.0.4

Version Notes

Stable Version tested the compatibility with magento 1.8.0

Change log
1.0.0 --> Initial version
1.0.1 --> Small display issue fix
1.0.2 --> Frentend design changes
1.0.3 --> Add Category
1.0.4 --> No result bug fix

Download this release

Release Info

Developer Samdoit
Extension Samdoit_Mageportfolio
Version 1.0.4
Comparing to
See all releases


Code changes from version 1.0.3 to 1.0.4

app/code/community/Samdoit/Mageportfolio/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Samdoit_Mageportfolio>
5
- <version>1.0.3</version>
6
  </Samdoit_Mageportfolio>
7
  </modules>
8
  <frontend>
2
  <config>
3
  <modules>
4
  <Samdoit_Mageportfolio>
5
+ <version>1.0.4</version>
6
  </Samdoit_Mageportfolio>
7
  </modules>
8
  <frontend>
app/design/frontend/default/default/layout/mageportfolio.xml DELETED
@@ -1,17 +0,0 @@
1
- <layout version="0.1.0">
2
- <default>
3
- <reference name="head">
4
- <action method="addItem"><type>skin_css</type><file>css/portfolio.css</file></action>
5
- </reference>
6
- </default>
7
- <mageportfolio_index_index>
8
- <reference name="root">
9
- <action method="setTemplate">
10
- <template>page/1column.phtml</template>
11
- </action>
12
- </reference>
13
- <reference name="content">
14
- <block type="mageportfolio/mageportfolio" name="mageportfolio" template="mageportfolio/mageportfolio.phtml" />
15
- </reference>
16
- </mageportfolio_index_index>
17
- </layout>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/default/default/template/mageportfolio/mageportfolio.phtml CHANGED
@@ -3,6 +3,8 @@ if(!$_REQUEST)
3
  {
4
  //$pageDetail = $this->getMageportfolio();
5
  $pageCategory = $this->getMageportfolio('','category');
 
 
6
  $i=0;
7
  foreach($pageCategory as $key_cat=>$value_cat)
8
  {
@@ -46,11 +48,15 @@ $pageDetail = $this->getMageportfolio('','',$value_cat['category']);
46
  </div>
47
  <?php
48
  }
49
-
50
- echo "<pre>";
51
- print_r($cat_val);
52
- echo "</pre>";
53
-
 
 
 
 
54
  ?>
55
  <?php
56
  }
3
  {
4
  //$pageDetail = $this->getMageportfolio();
5
  $pageCategory = $this->getMageportfolio('','category');
6
+ if(!empty($pageCategory))
7
+ {
8
  $i=0;
9
  foreach($pageCategory as $key_cat=>$value_cat)
10
  {
48
  </div>
49
  <?php
50
  }
51
+ }
52
+ else
53
+ {
54
+ ?>
55
+ <p class="note-msg">
56
+ <?php echo $this->__('You have no Portfolio.') ?>
57
+ </p>
58
+ <?php
59
+ }
60
  ?>
61
  <?php
62
  }
package.xml CHANGED
@@ -1,18 +1,25 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Samdoit_Mageportfolio</name>
4
- <version>1.0.3</version>
5
  <stability>stable</stability>
6
  <license>OSL</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Portfolio easy to create your portfolio detail snapshot content of portfolio and easy to access by admin user</summary>
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:19:24</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="8053f008cc5b120ac1c0d8c32c46acf6"/></dir><file name="Tabs.php" hash="a06c18da85fd0193ba9cc4dd21b6c2a5"/></dir><file name="Edit.php" hash="567bbee4f4600fd829c3d7799eda5260"/><file name="Grid.php" hash="9db21e058591f9962ffdd433ab81724a"/></dir><file name="Mageportfolio.php" hash="c415927c72ae9e96cf4015648385d469"/></dir><file name="Mageportfolio.php" hash="53b41c0ffce2cd47c1dd48f21100cd34"/></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="b9ff746f5270d6e408fe38ea1628d59e"/></dir><dir name="sql"><dir name="mageportfolio_setup"><file name="mysql4-install-1.0.0.php" hash="37aa00fead24136e24f356e3c16f3513"/><file name="mysql4-upgrade-1.0.2-1.0.3.php" hash="c4b4ed7f16a6f01fe7dc9dc86b1206bc"/></dir></dir></dir><file name="README.txt" hash="0eb5d0eb022b6abbf98c27d9fa9361ba"/></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="ca9075cdb29b629fd5f80f508638cab2"/></dir></dir><dir name="layout"><file name="mageportfolio.xml" hash="a45a958770db29aa3c1ffe51cf0597bd"/></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>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Samdoit_Mageportfolio</name>
4
+ <version>1.0.4</version>
5
  <stability>stable</stability>
6
  <license>OSL</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Portfolio easy to create your portfolio detail snapshot content of portfolio and easy to access by admin user</summary>
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.8.0&#xD;
12
+ &#xD;
13
+ Change log&#xD;
14
+ 1.0.0 --&gt; Initial version&#xD;
15
+ 1.0.1 --&gt; Small display issue fix&#xD;
16
+ 1.0.2 --&gt; Frentend design changes&#xD;
17
+ 1.0.3 --&gt; Add Category&#xD;
18
+ 1.0.4 --&gt; No result bug fix</notes>
19
  <authors><author><name>Samdoit</name><user>samdoit</user><email>arulmanickams@samdoit.com</email></author></authors>
20
+ <date>2014-03-19</date>
21
+ <time>17:07:37</time>
22
+ <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="8053f008cc5b120ac1c0d8c32c46acf6"/></dir><file name="Tabs.php" hash="a06c18da85fd0193ba9cc4dd21b6c2a5"/></dir><file name="Edit.php" hash="567bbee4f4600fd829c3d7799eda5260"/><file name="Grid.php" hash="9db21e058591f9962ffdd433ab81724a"/></dir><file name="Mageportfolio.php" hash="c415927c72ae9e96cf4015648385d469"/></dir><file name="Mageportfolio.php" hash="53b41c0ffce2cd47c1dd48f21100cd34"/></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="3f4e278388db4b74d78dc67e47e0f9c4"/></dir><dir name="sql"><dir name="mageportfolio_setup"><file name="mysql4-install-1.0.0.php" hash="37aa00fead24136e24f356e3c16f3513"/><file name="mysql4-upgrade-1.0.2-1.0.3.php" hash="c4b4ed7f16a6f01fe7dc9dc86b1206bc"/></dir></dir></dir><file name="README.txt" hash="0eb5d0eb022b6abbf98c27d9fa9361ba"/></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="5c4ed1e5b2d9e832bfb105e6fdfdf651"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="mageportfolio.xml" hash=""/></dir><dir name="css"><file name="portfolio.css" hash="c029779604d16867300f63518e7b7089"/></dir></dir></dir></dir></target></contents>
23
  <compatible/>
24
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
25
  </package>