Solwin_Manageteam - Version 1.0.1

Version Notes

Manage Team extension is used to display team member's information on the website with ease.

Download this release

Release Info

Developer Sanjay Dabhoya
Extension Solwin_Manageteam
Version 1.0.1
Comparing to
See all releases


Code changes from version 1.0.0 to 1.0.1

app/code/community/Solwin/Manageteam/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Solwin_Manageteam>
5
- <version>1.0.0</version>
6
  </Solwin_Manageteam>
7
  </modules>
8
  <frontend>
2
  <config>
3
  <modules>
4
  <Solwin_Manageteam>
5
+ <version>1.0.1</version>
6
  </Solwin_Manageteam>
7
  </modules>
8
  <frontend>
app/code/community/Solwin/Manageteam/sql/manageteam_setup/{mysql4-install-1.0.0.php → mysql4-install-1.0.1.php} RENAMED
@@ -2,22 +2,19 @@
2
  $installer = $this;
3
  $installer->startSetup();
4
  $sql=<<<SQLTEXT
5
- create table manageteam(manageteam_id int not null auto_increment, name varchar(100),
6
- image varchar(255),
7
- designation varchar(255),
8
- description varchar(255),
9
- status int(11),
10
- facebookurl varchar(255),
11
- googleurl varchar(255),
12
- twitterurl varchar(255),
13
- email varchar(255),
14
- primary key(manageteam_id));
15
 
16
  SQLTEXT;
17
 
18
  $installer->run($sql);
19
- //demo
20
- //Mage::getModel('core/url_rewrite')->setId(null);
21
- //demo
22
  $installer->endSetup();
23
 
2
  $installer = $this;
3
  $installer->startSetup();
4
  $sql=<<<SQLTEXT
5
+ create table manageteam(manageteam_id int not null auto_increment, name varchar(100),
6
+ image varchar(255),
7
+ designation varchar(255),
8
+ description varchar(255),
9
+ status int(11),
10
+ facebookurl varchar(255),
11
+ googleurl varchar(255),
12
+ twitterurl varchar(255),
13
+ email varchar(255),
14
+ primary key(manageteam_id));
15
 
16
  SQLTEXT;
17
 
18
  $installer->run($sql);
 
 
 
19
  $installer->endSetup();
20
 
app/design/frontend/base/default/layout/manageteam.xml CHANGED
@@ -2,7 +2,7 @@
2
  <layout>
3
  <default>
4
  <reference name="top.links">
5
- <action method="addLink">
6
  <label>Our Team</label>
7
  <url helper="manageteam/getManageteamsUrl"/>
8
  <title>Our Team</title>
@@ -15,7 +15,7 @@
15
  <block type="manageteam/index" template="manageteam/toplinks.phtml"/>
16
  </reference>
17
  <reference name="footer_links">
18
- <action method="addLink" translate="label title" module="manageteam" ifconfig="manageteamsection/manageteamgroup/enable">
19
  <label>Our Team</label>
20
  <url helper="manageteam/getManageteamsUrl" />
21
  <title>Our Team</title>
2
  <layout>
3
  <default>
4
  <reference name="top.links">
5
+ <action method="addLink" ifconfig="manageteamsection/manageteamgroup/toplink">
6
  <label>Our Team</label>
7
  <url helper="manageteam/getManageteamsUrl"/>
8
  <title>Our Team</title>
15
  <block type="manageteam/index" template="manageteam/toplinks.phtml"/>
16
  </reference>
17
  <reference name="footer_links">
18
+ <action method="addLink" translate="label title" module="manageteam" ifconfig="manageteamsection/manageteamgroup/footerlink">
19
  <label>Our Team</label>
20
  <url helper="manageteam/getManageteamsUrl" />
21
  <title>Our Team</title>
app/design/frontend/base/default/template/manageteam/index.phtml CHANGED
@@ -5,8 +5,9 @@ $actionName = Mage::app()->getRequest()->getActionName();
5
  $baseUrl = $this->getBaseUrl();
6
  $redirectPath = $baseUrl . $modname . DS . $controllerName . DS . $actionName;
7
  $enable = Mage::getStoreConfig('manageteamsection/manageteamgroup/enable');
 
8
  if ($enable) {
9
- if (!empty($this->getRequest()->getParam('id'))):
10
  $currId = $this->getRequest()->getParam('id');
11
  $collection = Mage::getModel('manageteam/manageteam')->load($currId);
12
  $media_url = Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA);
@@ -117,11 +118,9 @@ if ($enable) {
117
  <a target="_new" href="mailto:<?php echo $teamData->getEmail(); ?>"><img src="<?php echo $this->getSkinUrl('images/manageteam/mail.png') ?>"></a>
118
  <?php endif; ?>
119
  </div>
120
- <?php if ($teamData->getDescription()): ?>
121
- <a class="read-more" href="<?php echo $redirectPath . '/id/' . $teamData->getManageteam_id(); ?>" title="<?php echo $this->htmlEscape($teamData->getName()) ?>">
122
- <?php echo __('Read More'); ?>
123
- </a>
124
- <?php endif; ?>
125
  </li>
126
  <?php endforeach; ?>
127
  <?php
5
  $baseUrl = $this->getBaseUrl();
6
  $redirectPath = $baseUrl . $modname . DS . $controllerName . DS . $actionName;
7
  $enable = Mage::getStoreConfig('manageteamsection/manageteamgroup/enable');
8
+ $currId = $this->getRequest()->getParam('id');
9
  if ($enable) {
10
+ if ($currId != ''):
11
  $currId = $this->getRequest()->getParam('id');
12
  $collection = Mage::getModel('manageteam/manageteam')->load($currId);
13
  $media_url = Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA);
118
  <a target="_new" href="mailto:<?php echo $teamData->getEmail(); ?>"><img src="<?php echo $this->getSkinUrl('images/manageteam/mail.png') ?>"></a>
119
  <?php endif; ?>
120
  </div>
121
+ <a class="read-more" href="<?php echo $redirectPath . '/id/' . $teamData->getManageteam_id(); ?>" title="<?php echo $this->htmlEscape($teamData->getName()) ?>">
122
+ <?php echo __('Read More'); ?>
123
+ </a>
 
 
124
  </li>
125
  <?php endforeach; ?>
126
  <?php
app/etc/modules/Solwin_Manageteam.xml CHANGED
@@ -4,7 +4,7 @@
4
  <Solwin_Manageteam>
5
  <active>true</active>
6
  <codePool>community</codePool>
7
- <version>1.0.0</version>
8
  </Solwin_Manageteam>
9
  </modules>
10
  </config>
4
  <Solwin_Manageteam>
5
  <active>true</active>
6
  <codePool>community</codePool>
7
+ <version>1.0.1</version>
8
  </Solwin_Manageteam>
9
  </modules>
10
  </config>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Solwin_Manageteam</name>
4
- <version>1.0.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
@@ -10,9 +10,9 @@
10
  <description>It manages all the basic details of the team members like employee name, image and description, social profile, email etc from the backend panel and display all employee details in frontend. Add Manage Team link in front end footer that display all team members list.</description>
11
  <notes>Manage Team extension is used to display team member's information on the website with ease.</notes>
12
  <authors><author><name>Sanjay Dabhoya</name><user>solwin</user><email>stdabhoya@yahoo.com</email></author></authors>
13
- <date>2015-08-03</date>
14
- <time>09:55:45</time>
15
- <contents><target name="mageetc"><dir name="modules"><file name="Solwin_Manageteam.xml" hash="6a0a77464285274b74e66ea3e9cfccaa"/></dir></target><target name="magecommunity"><dir name="Solwin"><dir name="Manageteam"><dir name="Block"><dir name="Adminhtml"><dir name="Manageteam"><dir name="Edit"><file name="Form.php" hash="a27ef5db33e44d89619c554a2d5ca748"/><dir name="Tab"><file name="Form.php" hash="db20267748575efc0311a73bb47678d2"/></dir><file name="Tabs.php" hash="f6efd72c6aaba75f2e40f9c841611dbc"/></dir><file name="Edit.php" hash="f79b5476752b82b03b57903ed2e25325"/><file name="Grid.php" hash="c826538cd3babfd75f775bbb52230b27"/></dir><file name="Manageteam.php" hash="a563969ee104cfada2c50dbedd70b0e8"/><dir name="Renderer"><file name="Image.php" hash="56b39c7853ecba12af9b7aab96fd70d1"/></dir></dir><file name="Index.php" hash="e89897b9fcaeee2acaa492e34c9cc161"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="ManageteamController.php" hash="a313071f203c4aff8bf312d36c0e4cc0"/></dir><file name="IndexController.php" hash="de4449a6f50e2cdd423f49980409af84"/></dir><dir name="etc"><file name="adminhtml.xml" hash="dc19fa0c1fb3c3b5f4d49f8c498673b0"/><file name="config.xml" hash="16b9e856245648a2ef1a740efab3a833"/><file name="system.xml" hash="473cec776005406cf83bfa3a79617cdf"/></dir><dir name="Helper"><file name="Data.php" hash="35a2f60bb2abea4a5059ea4454c5419e"/></dir><dir name="Model"><file name="Manageteam.php" hash="7af144e511bac1e7a2f209cac9ce0c97"/><dir name="Mysql4"><dir name="Manageteam"><file name="Collection.php" hash="e5b257066432045bd4b509de4377e1f6"/></dir><file name="Manageteam.php" hash="06d2d50fc1510b5d089089b5460b2d75"/></dir></dir><dir name="sql"><dir name="manageteam_setup"><file name="mysql4-install-1.0.0.php" hash="9677dee5b1876b3e46a694fa1dc87bfb"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="manageteam.xml" hash="da3e600551874cc45c06746d7607188b"/></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="manageteam.xml" hash="7504e47424fbca84444501f098bae4b6"/></dir><dir name="template"><dir name="manageteam"><file name="index.phtml" hash="1dc8fda050686c0de20888c14c485f65"/><file name="toplinks.phtml" hash="572c37ea6852593acebf2cfbdbbbb5f6"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><file name="manageteam.css" hash="8c1359102a448f0e244edc5bf0283938"/></dir><dir name="images"><dir name="manageteam"><file name="facebook.png" hash="79cab086ed8c49a91389c0ba6242aa59"/><file name="google-plus.png" hash="23d4c6ed2e4ad47aceee9db1eb93e6df"/><file name="mail.png" hash="93e80db59ee1ccdd69dad358f80fa15e"/><file name="manageteam.jpg" hash="5899668cf07da547e66436fc87bacc19"/><file name="twitter.png" hash="035a083e619bc79e1c0998bed704047e"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="images"><dir name="manageteam"><file name="manageteam.jpg" hash="5899668cf07da547e66436fc87bacc19"/></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.3.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Solwin_Manageteam</name>
4
+ <version>1.0.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
10
  <description>It manages all the basic details of the team members like employee name, image and description, social profile, email etc from the backend panel and display all employee details in frontend. Add Manage Team link in front end footer that display all team members list.</description>
11
  <notes>Manage Team extension is used to display team member's information on the website with ease.</notes>
12
  <authors><author><name>Sanjay Dabhoya</name><user>solwin</user><email>stdabhoya@yahoo.com</email></author></authors>
13
+ <date>2015-08-05</date>
14
+ <time>07:14:22</time>
15
+ <contents><target name="mageetc"><dir name="modules"><file name="Solwin_Manageteam.xml" hash="f8f89fa02c8714d61e31d4cf1e5de009"/></dir></target><target name="magecommunity"><dir name="Solwin"><dir name="Manageteam"><dir name="Block"><dir name="Adminhtml"><dir name="Manageteam"><dir name="Edit"><file name="Form.php" hash="a27ef5db33e44d89619c554a2d5ca748"/><dir name="Tab"><file name="Form.php" hash="db20267748575efc0311a73bb47678d2"/></dir><file name="Tabs.php" hash="f6efd72c6aaba75f2e40f9c841611dbc"/></dir><file name="Edit.php" hash="f79b5476752b82b03b57903ed2e25325"/><file name="Grid.php" hash="c826538cd3babfd75f775bbb52230b27"/></dir><file name="Manageteam.php" hash="a563969ee104cfada2c50dbedd70b0e8"/><dir name="Renderer"><file name="Image.php" hash="56b39c7853ecba12af9b7aab96fd70d1"/></dir></dir><file name="Index.php" hash="e89897b9fcaeee2acaa492e34c9cc161"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="ManageteamController.php" hash="a313071f203c4aff8bf312d36c0e4cc0"/></dir><file name="IndexController.php" hash="de4449a6f50e2cdd423f49980409af84"/></dir><dir name="etc"><file name="adminhtml.xml" hash="dc19fa0c1fb3c3b5f4d49f8c498673b0"/><file name="config.xml" hash="ca7a3c07d9ed0df79baa397bad3c4703"/><file name="system.xml" hash="473cec776005406cf83bfa3a79617cdf"/></dir><dir name="Helper"><file name="Data.php" hash="35a2f60bb2abea4a5059ea4454c5419e"/></dir><dir name="Model"><file name="Manageteam.php" hash="7af144e511bac1e7a2f209cac9ce0c97"/><dir name="Mysql4"><dir name="Manageteam"><file name="Collection.php" hash="e5b257066432045bd4b509de4377e1f6"/></dir><file name="Manageteam.php" hash="06d2d50fc1510b5d089089b5460b2d75"/></dir></dir><dir name="sql"><dir name="manageteam_setup"><file name="mysql4-install-1.0.1.php" hash="e631da310526dfaf35d05a3917bd0ca3"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="manageteam.xml" hash="da3e600551874cc45c06746d7607188b"/></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="manageteam.xml" hash="83145807d066818a19947fe156048e11"/></dir><dir name="template"><dir name="manageteam"><file name="index.phtml" hash="1cbe241f408cdfeb65d8d39c4e09eddf"/><file name="toplinks.phtml" hash="572c37ea6852593acebf2cfbdbbbb5f6"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><file name="manageteam.css" hash="8c1359102a448f0e244edc5bf0283938"/></dir><dir name="images"><dir name="manageteam"><file name="facebook.png" hash="79cab086ed8c49a91389c0ba6242aa59"/><file name="google-plus.png" hash="23d4c6ed2e4ad47aceee9db1eb93e6df"/><file name="mail.png" hash="93e80db59ee1ccdd69dad358f80fa15e"/><file name="manageteam.jpg" hash="5899668cf07da547e66436fc87bacc19"/><file name="twitter.png" hash="035a083e619bc79e1c0998bed704047e"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="images"><dir name="manageteam"><file name="manageteam.jpg" hash="5899668cf07da547e66436fc87bacc19"/></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.3.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>