earlforte-customer-testimonials - Version 0.1.1

Version Notes

stable

Download this release

Release Info

Developer Ravi
Extension earlforte-customer-testimonials
Version 0.1.1
Comparing to
See all releases


Code changes from version 0.1.0 to 0.1.1

app/code/local/Ravi/Testimonials/Model/Mysql4/Test.php ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Ravi_Testimonials_Model_Mysql4_Test extends Mage_Core_Model_Mysql4_Abstract
3
+ {
4
+ protected function _construct()
5
+ {
6
+ $this->_init("testimonials/test", "id");
7
+ }
8
+ }
app/code/local/Ravi/Testimonials/Model/Mysql4/Test/Collection.php ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Ravi_Testimonials_Model_Mysql4_Test_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract
3
+ {
4
+ public function _construct()
5
+ {
6
+ parent::_construct();
7
+ $this->_init('Testimonials/test');
8
+ }
9
+ }
app/code/local/Ravi/Testimonials/Model/Test.php ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Ravi_Testimonials_Model_Test extends Mage_Core_Model_Abstract
4
+ {
5
+ protected function _construct(){
6
+
7
+ $this->_init("testimonials/test");
8
+
9
+ }
10
+
11
+ }
12
+
app/code/local/Ravi/Testimonials/controllers/IndexController.php CHANGED
@@ -36,7 +36,7 @@ if (!Mage::helper('cms/page')->renderPage($pageId)) {
36
  "title" => $this->__("Add Testimonial")
37
  ));
38
 
39
- $this->renderLayout();
40
  }
41
  }
42
  }
36
  "title" => $this->__("Add Testimonial")
37
  ));
38
 
39
+ $this->renderLayout();
40
  }
41
  }
42
  }
app/code/local/Ravi/Testimonials/etc/config.xml CHANGED
@@ -39,6 +39,8 @@
39
  <class>Ravi_Testimonials_Model</class>
40
  <resourceModel>testimonials_mysql4</resourceModel>
41
  </testimonials>
 
 
42
  <testimonials_mysql4>
43
  <class>Ravi_Testimonials_Model_Mysql4</class>
44
  <entities>
@@ -46,9 +48,16 @@
46
  <table>testimonials</table>
47
  </testimonial>
48
  </entities>
 
 
 
 
 
 
49
  </testimonials_mysql4>
50
  </models>
51
  <resources>
 
52
  <testimonials_setup>
53
  <setup>
54
  <module>Ravi_Testimonials</module>
39
  <class>Ravi_Testimonials_Model</class>
40
  <resourceModel>testimonials_mysql4</resourceModel>
41
  </testimonials>
42
+
43
+
44
  <testimonials_mysql4>
45
  <class>Ravi_Testimonials_Model_Mysql4</class>
46
  <entities>
48
  <table>testimonials</table>
49
  </testimonial>
50
  </entities>
51
+ <entities>
52
+ <test>
53
+ <table>test</table>
54
+ </test>
55
+ </entities>
56
+
57
  </testimonials_mysql4>
58
  </models>
59
  <resources>
60
+
61
  <testimonials_setup>
62
  <setup>
63
  <module>Ravi_Testimonials</module>
app/design/frontend/base/default/template/testimonials/index.phtml CHANGED
@@ -1,6 +1,11 @@
1
  <?php
2
  session_start();
3
  ?>
 
 
 
 
 
4
  <form action="<?php echo $this->getAddtestimonialUrl() ?>" method="post" id="add-testimonial" enctype="multipart/form-data">
5
 
6
  <script type="text/javascript">
1
  <?php
2
  session_start();
3
  ?>
4
+ <?php
5
+ $model = Mage::getModel('testimonials/test');
6
+ $data = $model->getCollection()->getData();
7
+ print_r($data);
8
+ ?>
9
  <form action="<?php echo $this->getAddtestimonialUrl() ?>" method="post" id="add-testimonial" enctype="multipart/form-data">
10
 
11
  <script type="text/javascript">
app/locale/en_US/template/email/active_testimonial_template.html DELETED
@@ -1,6 +0,0 @@
1
- <!--@subject @-->
2
- <div>
3
- <h3>Dear {{var firstname}} {{var lastname}}</h3>
4
- <p>Your testimonial is approved by our administrator. You can see your testimonial at our website.</p>
5
- <p>Please use <strong>{{var couponcode}}</strong> couponcode for additional discount in your next purchase.</p>
6
- </div>
 
 
 
 
 
 
media/testimonials/testimonial/Chrysanthemum.jpg DELETED
Binary file
media/testimonials/testimonial/resized/Chrysanthemum.jpg DELETED
Binary file
package.xml CHANGED
@@ -1,12 +1,12 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>earlforte-customer-testimonials</name>
4
- <version>0.1.0</version>
5
  <stability>stable</stability>
6
- <license>OSL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
- <summary> Customer testimonial extension will useful for writing testimonials of your Customer who are happy, unhappy with your services and giving them additional discount on next purchase.</summary>
10
  <description>Overview: Customer testimonial is free extension which provides testimonials writing service to your customers. Customer Testimonials extension is easy to install, easy for configure and easy to manage. &#xD;
11
  Customer testimonials is totally open source. You can modify its code easily for your usage.&#xD;
12
  New feature is Coupon code availability. When customer writes testimonials, Admin can send coupon code for additional discount on next purchase. &#xD;
@@ -34,14 +34,12 @@ You can display testimonial listing on any page or any static block by using bel
34
  Testimonial Banner&#xD;
35
  You can add client testimonial as rotating banner anywhere in static block or cms page by using below script.&#xD;
36
  {{block type="testimonials/index" name="testimonials_index.new" alias="product_homepage" template="testimonials/list-home.phtml"}}&#xD;
37
- &#xD;
38
- &#xD;
39
  </description>
40
- <notes>Stable Version</notes>
41
  <authors><author><name>Ravi</name><user>ravi_bhalodia</user><email>ravipatel939@gmail.com</email></author></authors>
42
- <date>2013-02-02</date>
43
- <time>05:03:11</time>
44
- <contents><target name="magelocal"><dir name="Ravi"><dir name="Testimonials"><dir name="Block"><dir name="Adminhtml"><dir name="Testimonial"><dir name="Edit"><file name="Form.php" hash="26184107b405c006a77c3c68d1b6ed18"/><dir name="Tab"><file name="Form.php" hash="2231d46fc99843862ea8a8558ab375d3"/></dir><file name="Tabs.php" hash="3e9a6cc503a66c3adce61a3a8d158e44"/></dir><file name="Edit.php" hash="62073b2b185febdcfed9cc11d8dd31bb"/><file name="Grid.php" hash="f9b86703213834abb857d638b0e54236"/></dir><file name="Testimonial.php" hash="46420f1b8340273b6c5266739b8ad660"/><file name="Testimonialsbackend.php" hash="8282397c39d0c4ae2a2ca4ec8b84858a"/></dir><file name="Index.php" hash="1228ec7a628b8fa21b2a4650571634fc"/><file name="Left.php" hash="12497041000454e0df7141f4da9e76ae"/><file name="Right.php" hash="23d1fa4461f653ecfc08c9290614ce95"/></dir><dir name="Helper"><file name="Data.php" hash="b3373f727b627380096740ddf83cdecc"/><file name="monofont.ttf" hash="c229d596d48f0f1eea0baf6203f03e9c"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Testimonial"><file name="Collection.php" hash="1aef04c2f030a32e7c849e3650b5f251"/></dir><file name="Testimonial.php" hash="a347fd9156cf47efc4fe92ed6e853c83"/></dir><file name="Observer.php" hash="536370ba334e56693f312addf9928a0c"/><file name="Testimonial.php" hash="798eb5347b39891dbdc0d4f47afdb1d1"/></dir><dir name="controllers"><file name="AddController.php" hash="64b50bedae3f1830537f8e27654b3418"/><dir name="Adminhtml"><dir name="Rss"><file name="RssController.php" hash="b61633897c09cabc2428dac4ffb21dae"/></dir><file name="TestimonialController.php" hash="61ef514e034ee52e2db33757e176ee00"/><file name="TestimonialsbackendController.php" hash="ff24dc7b133155d84c52806c1270d504"/></dir><file name="IndexController.php" hash="3646a04217736620849bb2a0bca53618"/></dir><dir name="etc"><file name="adminhtml.xml" hash="4acf5114c74e58634ae05d8f04076268"/><file name="config.xml" hash="c96da600ec91ab16e717261333706e71"/><file name="system.xml" hash="142409fadee65b2e93a146543fd1ba99"/></dir><dir name="sql"><dir name="testimonials_setup"><file name="mysql4-install-0.1.0.php" hash="8fd7d795313655b85568da4eb12092e8"/></dir></dir></dir></dir><dir name="Mage"><dir name="Adminhtml"><dir name="Model"><dir name="System"><dir name="Config"><dir name="Source"><file name="Diyoptions13590061871.php" hash="ec5d623b4961b1721ff6e6a29141e6b9"/><file name="Diyoptions13590061872.php" hash="c8427919add2354fe7dc8f95d62b3174"/></dir></dir></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="testimonials.xml" hash="3d927747b182e30cfe790aa3f62a2202"/></dir><dir name="template"><dir name="testimonials"><file name="testimonialsbackend.phtml" hash="a17f8f5da3896e80c5b6b8d9bd43fbaf"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="testimonials.xml" hash="d5cc4e5ecd342fde64a4923dad9522d8"/></dir><dir name="template"><dir name="testimonials"><file name="index.phtml" hash="4fce3e4e3ff5f2542453855227ab7023"/><file name="left.phtml" hash="07b7fa000334f8085e943a0bbaeead4f"/><file name="list-home.phtml" hash="20160e59b536b95e0a3a688248e47097"/><file name="list.phtml" hash="95b97b49f64a39b79cff50537cb31a61"/><file name="right.phtml" hash="09f0ba7bff1ca423d1b351b3e4dea83f"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="testimonials"><dir name="css"><dir name="fonts"><file name="BebasNeue-webfont.eot" hash="e9264b2a65e166ef2391249b58f768d1"/><file name="BebasNeue-webfont.svg" hash="6a07c2eada830bf77698256a810680ec"/><file name="BebasNeue-webfont.ttf" hash="09fda78767949f0dd44e43e446ea2b19"/><file name="BebasNeue-webfont.woff" hash="6f04d3d6e28184a5ace603e80b97433e"/><file name="Dharma Type Font License.txt" hash="25dbbe084febf3c7cc8eb04b83b2a054"/></dir><file name="testimonial.css" hash="2e04ccec62d6eb2df75a46534eb5a125"/></dir><dir name="images"><file name="1.png" hash="0435ad0a3d2e13c42deb1767ed31eebb"/><file name="2.png" hash="8dbaa7e41f728de68d00d3a0a63c8243"/><file name="3.png" hash="7982efb3499eebc921026a62220d7636"/><file name="4.png" hash="f674da388c772c1f05070eadcddf8c38"/><file name="ImageAttribution.txt" hash="d1e373705180ae7b400fba7c286be6d4"/><file name="arrows.png" hash="4d2099bf4e8865bae0f5f4c5438191ca"/><file name="bg.png" hash="30b87f688d085159b92f8adbf29c4fad"/><file name="quote-mark.png" hash="42f8f032e6b9312f5fa869335adc95ab"/><file name="waves.gif" hash="eb68e065f04d15b0d9299764bb2e59f7"/></dir><dir name="js"><file name="jquery-1.7.2.min.js" hash="b11ced65f32fedbe9bf81ef9db0f3c94"/><file name="jquery.cslider.js" hash="2e4ddbf3d86dc3aa2d93843f4315afbd"/><file name="jquery.quovolver.js" hash="7f9314c22a37af6813fa6e16995d22a2"/><file name="modernizr.custom.28468.js" hash="63c34c147fc060b4182bd36e05c873ec"/></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><dir name="template"><dir name="email"><file name="active_testimonial_template.html" hash="ef84a40f20530d6b9d328d0b4a0f84ea"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Ravi_Testimonials.xml" hash="67bbc9eb0b7d8d6f739a0ea6c267e4d0"/></dir></target><target name="magemedia"><dir name="testimonials"><dir name="testimonial"><file name="Chrysanthemum.jpg" hash="076e3caed758a1c18c91a0e9cae3368f"/><dir name="resized"><file name="Chrysanthemum.jpg" hash="4c0de02f28124056f61a9948f4e96e00"/></dir></dir></dir></target></contents>
45
  <compatible/>
46
  <dependencies><required><php><min>5.1.0</min><max>5.4.11</max></php></required></dependencies>
47
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>earlforte-customer-testimonials</name>
4
+ <version>0.1.1</version>
5
  <stability>stable</stability>
6
+ <license>OSL</license>
7
  <channel>community</channel>
8
  <extends/>
9
+ <summary>Customer testimonial extension will useful for writing testimonials of your Customer who are happy, unhappy with your services and giving them additional discount on next purchase.</summary>
10
  <description>Overview: Customer testimonial is free extension which provides testimonials writing service to your customers. Customer Testimonials extension is easy to install, easy for configure and easy to manage. &#xD;
11
  Customer testimonials is totally open source. You can modify its code easily for your usage.&#xD;
12
  New feature is Coupon code availability. When customer writes testimonials, Admin can send coupon code for additional discount on next purchase. &#xD;
34
  Testimonial Banner&#xD;
35
  You can add client testimonial as rotating banner anywhere in static block or cms page by using below script.&#xD;
36
  {{block type="testimonials/index" name="testimonials_index.new" alias="product_homepage" template="testimonials/list-home.phtml"}}&#xD;
 
 
37
  </description>
38
+ <notes>stable</notes>
39
  <authors><author><name>Ravi</name><user>ravi_bhalodia</user><email>ravipatel939@gmail.com</email></author></authors>
40
+ <date>2013-02-06</date>
41
+ <time>05:05:41</time>
42
+ <contents><target name="magelocal"><dir name="Ravi"><dir name="Testimonials"><dir name="Block"><dir name="Adminhtml"><dir name="Testimonial"><dir name="Edit"><file name="Form.php" hash="26184107b405c006a77c3c68d1b6ed18"/><dir name="Tab"><file name="Form.php" hash="2231d46fc99843862ea8a8558ab375d3"/></dir><file name="Tabs.php" hash="3e9a6cc503a66c3adce61a3a8d158e44"/></dir><file name="Edit.php" hash="62073b2b185febdcfed9cc11d8dd31bb"/><file name="Grid.php" hash="f9b86703213834abb857d638b0e54236"/></dir><file name="Testimonial.php" hash="46420f1b8340273b6c5266739b8ad660"/><file name="Testimonialsbackend.php" hash="8282397c39d0c4ae2a2ca4ec8b84858a"/></dir><file name="Index.php" hash="1228ec7a628b8fa21b2a4650571634fc"/><file name="Left.php" hash="12497041000454e0df7141f4da9e76ae"/><file name="Right.php" hash="23d1fa4461f653ecfc08c9290614ce95"/></dir><dir name="Helper"><file name="Data.php" hash="b3373f727b627380096740ddf83cdecc"/><file name="monofont.ttf" hash="c229d596d48f0f1eea0baf6203f03e9c"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Test"><file name="Collection.php" hash="d6b535e89edc09bce4155dc625286781"/></dir><file name="Test.php" hash="37b9ecb0834e5688ef5ec98fe708b78a"/><dir name="Testimonial"><file name="Collection.php" hash="1aef04c2f030a32e7c849e3650b5f251"/></dir><file name="Testimonial.php" hash="a347fd9156cf47efc4fe92ed6e853c83"/></dir><file name="Observer.php" hash="536370ba334e56693f312addf9928a0c"/><file name="Test.php" hash="18bc1d540c95254e713d6bdb2e37d442"/><file name="Testimonial.php" hash="798eb5347b39891dbdc0d4f47afdb1d1"/></dir><dir name="controllers"><file name="AddController.php" hash="64b50bedae3f1830537f8e27654b3418"/><dir name="Adminhtml"><dir name="Rss"><file name="RssController.php" hash="b61633897c09cabc2428dac4ffb21dae"/></dir><file name="TestimonialController.php" hash="61ef514e034ee52e2db33757e176ee00"/><file name="TestimonialsbackendController.php" hash="ff24dc7b133155d84c52806c1270d504"/></dir><file name="IndexController.php" hash="e09b3c4af8722a5c423198a446bba2d6"/></dir><dir name="etc"><file name="adminhtml.xml" hash="4acf5114c74e58634ae05d8f04076268"/><file name="config.xml" hash="d940773dfed67258b2ca01552c4afec6"/><file name="system.xml" hash="142409fadee65b2e93a146543fd1ba99"/></dir><dir name="sql"><dir name="testimonials_setup"><file name="mysql4-install-0.1.0.php" hash="8fd7d795313655b85568da4eb12092e8"/></dir></dir></dir></dir><dir name="Mage"><dir name="Adminhtml"><dir name="Model"><dir name="System"><dir name="Config"><dir name="Source"><file name="Diyoptions13590061871.php" hash="ec5d623b4961b1721ff6e6a29141e6b9"/><file name="Diyoptions13590061872.php" hash="c8427919add2354fe7dc8f95d62b3174"/></dir></dir></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="testimonials.xml" hash="3d927747b182e30cfe790aa3f62a2202"/></dir><dir name="template"><dir name="testimonials"><file name="testimonialsbackend.phtml" hash="a17f8f5da3896e80c5b6b8d9bd43fbaf"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="testimonials.xml" hash="d5cc4e5ecd342fde64a4923dad9522d8"/></dir><dir name="template"><dir name="testimonials"><file name="index.phtml" hash="be7901055370bf9bef67077934fbafb1"/><file name="left.phtml" hash="07b7fa000334f8085e943a0bbaeead4f"/><file name="list-home.phtml" hash="20160e59b536b95e0a3a688248e47097"/><file name="list.phtml" hash="95b97b49f64a39b79cff50537cb31a61"/><file name="right.phtml" hash="09f0ba7bff1ca423d1b351b3e4dea83f"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Ravi_Testimonials.xml" hash="67bbc9eb0b7d8d6f739a0ea6c267e4d0"/></dir></target><target name="magemedia"><dir name="."><file name="testimonials" hash=""/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="testimonials"><dir name="css"><dir name="fonts"><file name="BebasNeue-webfont.eot" hash="e9264b2a65e166ef2391249b58f768d1"/><file name="BebasNeue-webfont.svg" hash="6a07c2eada830bf77698256a810680ec"/><file name="BebasNeue-webfont.ttf" hash="09fda78767949f0dd44e43e446ea2b19"/><file name="BebasNeue-webfont.woff" hash="6f04d3d6e28184a5ace603e80b97433e"/><file name="Dharma Type Font License.txt" hash="25dbbe084febf3c7cc8eb04b83b2a054"/></dir><file name="testimonial.css" hash="2e04ccec62d6eb2df75a46534eb5a125"/></dir><dir name="images"><file name="1.png" hash="0435ad0a3d2e13c42deb1767ed31eebb"/><file name="2.png" hash="8dbaa7e41f728de68d00d3a0a63c8243"/><file name="3.png" hash="7982efb3499eebc921026a62220d7636"/><file name="4.png" hash="f674da388c772c1f05070eadcddf8c38"/><file name="ImageAttribution.txt" hash="d1e373705180ae7b400fba7c286be6d4"/><file name="arrows.png" hash="4d2099bf4e8865bae0f5f4c5438191ca"/><file name="bg.png" hash="30b87f688d085159b92f8adbf29c4fad"/><file name="quote-mark.png" hash="42f8f032e6b9312f5fa869335adc95ab"/><file name="waves.gif" hash="eb68e065f04d15b0d9299764bb2e59f7"/></dir><dir name="js"><file name="jquery-1.7.2.min.js" hash="b11ced65f32fedbe9bf81ef9db0f3c94"/><file name="jquery.cslider.js" hash="2e4ddbf3d86dc3aa2d93843f4315afbd"/><file name="jquery.quovolver.js" hash="7f9314c22a37af6813fa6e16995d22a2"/><file name="modernizr.custom.28468.js" hash="63c34c147fc060b4182bd36e05c873ec"/></dir></dir></dir></dir></dir></target></contents>
43
  <compatible/>
44
  <dependencies><required><php><min>5.1.0</min><max>5.4.11</max></php></required></dependencies>
45
  </package>