manv_testimonial - Version 1.1.2

Version Notes

Testimonials extension in magento shows faces name and messages Testimonials With Testimonials your store.

Download this release

Release Info

Developer Manvendra Sharma
Extension manv_testimonial
Version 1.1.2
Comparing to
See all releases


Code changes from version 1.1.1 to 1.1.2

app/code/local/Manv/Testimonials/Block/04.12.2013.Index.php DELETED
@@ -1,37 +0,0 @@
1
- <?php
2
-
3
- class Manv_Testimonials_Block_Index extends Mage_Core_Block_Template{
4
-
5
-
6
-
7
- public function ShowTestimonialsRecords()
8
- {
9
- $w = Mage::getSingleton('core/resource')->getConnection('core_write');
10
- $results = $w->query('SELECT * FROM manv_testimonials');
11
- return $results;
12
-
13
- }
14
-
15
- public function getTestimonialsEnabled()
16
- {
17
- return Mage::getStoreConfig('manv/manv_group/manv_select',Mage::app()->getStore());
18
- }
19
- public function getTestimonialsImageWidth()
20
- {
21
- return Mage::getStoreConfig('manv/manv_group/manv_width',Mage::app()->getStore());
22
- }
23
- public function getTestimonialsImageHeight()
24
- {
25
- return Mage::getStoreConfig('manv/manv_group/manv_height',Mage::app()->getStore());
26
- }
27
- public function getTestimonialsView()
28
- {
29
- return Mage::getStoreConfig('manv/manv_group/manv_view',Mage::app()->getStore());
30
- }
31
- public function getTestimonialsImages()
32
- {
33
- return Mage::getStoreConfig('manv/manv_group/manv_image',Mage::app()->getStore());
34
- }
35
-
36
-
37
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Manv/Testimonials/Block/04.12.2013.Left.php DELETED
@@ -1,35 +0,0 @@
1
- <?php
2
- class Manv_Testimonials_Block_Left extends Mage_Core_Block_Template{
3
-
4
- public function ShowTestimonialsRecords()
5
- {
6
- $w = Mage::getSingleton('core/resource')->getConnection('core_write');
7
- $results = $w->query('SELECT * FROM manv_testimonials');
8
- return $results;
9
-
10
- }
11
-
12
- public function getTestimonialsEnabled()
13
- {
14
- return Mage::getStoreConfig('manv/manv_group/manv_select',Mage::app()->getStore());
15
- }
16
- public function getTestimonialsImageWidth()
17
- {
18
- return Mage::getStoreConfig('manv/manv_group/manv_width',Mage::app()->getStore());
19
- }
20
- public function getTestimonialsImageHeight()
21
- {
22
- return Mage::getStoreConfig('manv/manv_group/manv_height',Mage::app()->getStore());
23
- }
24
- public function getTestimonialsView()
25
- {
26
- return Mage::getStoreConfig('manv/manv_group/manv_view',Mage::app()->getStore());
27
- }
28
- public function getTestimonialsImages()
29
- {
30
- return Mage::getStoreConfig('manv/manv_group/manv_image',Mage::app()->getStore());
31
- }
32
-
33
-
34
-
35
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Manv/Testimonials/Block/Adminhtml/Testimonials/Grid.php CHANGED
@@ -32,6 +32,14 @@ class Manv_Testimonials_Block_Adminhtml_Testimonials_Grid extends Mage_Adminhtml
32
  "header" => Mage::helper("testimonials")->__("name"),
33
  "index" => "name",
34
  ));
 
 
 
 
 
 
 
 
35
  $this->addExportType('*/*/exportCsv', Mage::helper('sales')->__('CSV'));
36
  $this->addExportType('*/*/exportExcel', Mage::helper('sales')->__('Excel'));
37
 
@@ -59,4 +67,4 @@ class Manv_Testimonials_Block_Adminhtml_Testimonials_Grid extends Mage_Adminhtml
59
  }
60
 
61
 
62
- }
32
  "header" => Mage::helper("testimonials")->__("name"),
33
  "index" => "name",
34
  ));
35
+ $this->addColumn("message", array(
36
+ "header" => Mage::helper("testimonials")->__("message"),
37
+ "index" => "message",
38
+ ));
39
+ $this->addColumn("pic", array(
40
+ "header" => Mage::helper("testimonials")->__("pic"),
41
+ "index" => "pic",
42
+ ));
43
  $this->addExportType('*/*/exportCsv', Mage::helper('sales')->__('CSV'));
44
  $this->addExportType('*/*/exportExcel', Mage::helper('sales')->__('Excel'));
45
 
67
  }
68
 
69
 
70
+ }
app/code/local/Manv/Testimonials/etc/04.02.2014.system.xml DELETED
@@ -1,82 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <config>
3
- <tabs>
4
- <manv translate="label" module="testimonials">
5
- <label>Testimonials</label>
6
- <sort_order>100</sort_order>
7
- </manv>
8
- </tabs>
9
- <sections>
10
- <manv translate="label" module="testimonials">
11
- <label>manv testimonials</label>
12
- <tab>manv</tab>
13
- <sort_order>1000</sort_order>
14
- <show_in_default>1</show_in_default>
15
- <show_in_website>1</show_in_website>
16
- <show_in_store>1</show_in_store>
17
- <groups>
18
- <manv_group translate="label" module="testimonials">
19
- <label>Settings</label>
20
- <frontend_type>text</frontend_type>
21
- <sort_order>1000</sort_order>
22
- <show_in_default>1</show_in_default>
23
- <show_in_website>1</show_in_website>
24
- <show_in_store>1</show_in_store>
25
- <fields>
26
- <manv_select translate="label">
27
- <label>Enable Testimonials </label>
28
- <comment>enable testimonials to your site Yes/No </comment>
29
- <frontend_type>select</frontend_type>
30
- <sort_order>1</sort_order>
31
- <show_in_default>1</show_in_default>
32
- <show_in_website>1</show_in_website>
33
- <show_in_store>1</show_in_store>
34
- <source_model>adminhtml/system_config_source_yesno</source_model>
35
- </manv_select>
36
-
37
- <manv_width translate="label">
38
- <label>Image Width: </label>
39
- <comment><![CDATA[in px]]></comment>
40
- <frontend_type>text</frontend_type>
41
- <sort_order>2</sort_order>
42
- <show_in_default>1</show_in_default>
43
- <show_in_website>1</show_in_website>
44
- <show_in_store>1</show_in_store>
45
- </manv_width>
46
-
47
- <manv_style translate="label">
48
- <label>Slide Style : </label>
49
- <comment><![CDATA[in px]]></comment>
50
- <frontend_type>select</frontend_type>
51
- <sort_order>4</sort_order>
52
- <show_in_default>1</show_in_default>
53
- <show_in_website>1</show_in_website>
54
- <show_in_store>1</show_in_store>
55
- <source_model>testimonials/style</source_model>
56
- </manv_style>
57
-
58
- <manv_height translate="label">
59
- <label>Image Height: </label>
60
- <comment><![CDATA[in px]]></comment>
61
- <frontend_type>text</frontend_type>
62
- <sort_order>3</sort_order>
63
- <show_in_default>1</show_in_default>
64
- <show_in_website>1</show_in_website>
65
- <show_in_store>1</show_in_store>
66
- </manv_height>
67
- <manv_image translate="label">
68
- <label>Show face Images: </label>
69
- <comment>enable Images to your testimonials Yes/No </comment>
70
- <frontend_type>select</frontend_type>
71
- <sort_order>1</sort_order>
72
- <show_in_default>1</show_in_default>
73
- <show_in_website>1</show_in_website>
74
- <show_in_store>1</show_in_store>
75
- <source_model>adminhtml/system_config_source_yesno</source_model>
76
- </manv_image>
77
- </fields>
78
- </manv_group>
79
- </groups>
80
- </manv>
81
- </sections>
82
- </config>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Manv/Testimonials/etc/04.12.2013.system.xml DELETED
@@ -1,79 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <config>
3
- <tabs>
4
- <manv translate="label" module="testimonials">
5
- <label>Testimonials</label>
6
- <sort_order>100</sort_order>
7
- </manv>
8
- </tabs>
9
- <sections>
10
- <manv translate="label" module="testimonials">
11
- <label>manv testimonials</label>
12
- <tab>manv</tab>
13
- <sort_order>1000</sort_order>
14
- <show_in_default>1</show_in_default>
15
- <show_in_website>1</show_in_website>
16
- <show_in_store>1</show_in_store>
17
- <groups>
18
- <manv_group translate="label" module="testimonials">
19
- <label>Settings</label>
20
- <frontend_type>text</frontend_type>
21
- <sort_order>1000</sort_order>
22
- <show_in_default>1</show_in_default>
23
- <show_in_website>1</show_in_website>
24
- <show_in_store>1</show_in_store>
25
- <fields>
26
- <manv_select translate="label">
27
- <label>Enable Testimonials </label>
28
- <comment>enable testimonials to your site Yes/No </comment>
29
- <frontend_type>select</frontend_type>
30
- <sort_order>1</sort_order>
31
- <show_in_default>1</show_in_default>
32
- <show_in_website>1</show_in_website>
33
- <show_in_store>1</show_in_store>
34
- <source_model>adminhtml/system_config_source_yesno</source_model>
35
- </manv_select>
36
- <manv_view translate="label">
37
- <label>View Testimonials </label>
38
- <comment>select testimonials to visible at</comment>
39
- <frontend_type>select</frontend_type>
40
- <sort_order>1</sort_order>
41
- <show_in_default>1</show_in_default>
42
- <show_in_website>1</show_in_website>
43
- <show_in_store>1</show_in_store>
44
- <source_model>testimonials/words</source_model>
45
- </manv_view>
46
- <manv_width translate="label">
47
- <label>Image Width: </label>
48
- <comment><![CDATA[in px]]></comment>
49
- <frontend_type>text</frontend_type>
50
- <sort_order>2</sort_order>
51
- <show_in_default>1</show_in_default>
52
- <show_in_website>1</show_in_website>
53
- <show_in_store>1</show_in_store>
54
- </manv_width>
55
- <manv_height translate="label">
56
- <label>Image Height: </label>
57
- <comment><![CDATA[in px]]></comment>
58
- <frontend_type>text</frontend_type>
59
- <sort_order>3</sort_order>
60
- <show_in_default>1</show_in_default>
61
- <show_in_website>1</show_in_website>
62
- <show_in_store>1</show_in_store>
63
- </manv_height>
64
- <manv_image translate="label">
65
- <label>Show face Images: </label>
66
- <comment>enable Images to your testimonials Yes/No </comment>
67
- <frontend_type>select</frontend_type>
68
- <sort_order>1</sort_order>
69
- <show_in_default>1</show_in_default>
70
- <show_in_website>1</show_in_website>
71
- <show_in_store>1</show_in_store>
72
- <source_model>adminhtml/system_config_source_yesno</source_model>
73
- </manv_image>
74
- </fields>
75
- </manv_group>
76
- </groups>
77
- </manv>
78
- </sections>
79
- </config>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Manv/Testimonials/etc/10.12.2013.system.xml DELETED
@@ -1,91 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <config>
3
- <tabs>
4
- <manv translate="label" module="testimonials">
5
- <label>Testimonials</label>
6
- <sort_order>100</sort_order>
7
- </manv>
8
- </tabs>
9
- <sections>
10
- <manv translate="label" module="testimonials">
11
- <label>manv testimonials</label>
12
- <tab>manv</tab>
13
- <sort_order>1000</sort_order>
14
- <show_in_default>1</show_in_default>
15
- <show_in_website>1</show_in_website>
16
- <show_in_store>1</show_in_store>
17
- <groups>
18
- <manv_group translate="label" module="testimonials">
19
- <label>Settings</label>
20
- <frontend_type>text</frontend_type>
21
- <sort_order>1000</sort_order>
22
- <show_in_default>1</show_in_default>
23
- <show_in_website>1</show_in_website>
24
- <show_in_store>1</show_in_store>
25
- <fields>
26
- <manv_select translate="label">
27
- <label>Enable Testimonials </label>
28
- <comment>enable testimonials to your site Yes/No </comment>
29
- <frontend_type>select</frontend_type>
30
- <sort_order>1</sort_order>
31
- <show_in_default>1</show_in_default>
32
- <show_in_website>1</show_in_website>
33
- <show_in_store>1</show_in_store>
34
- <source_model>adminhtml/system_config_source_yesno</source_model>
35
- </manv_select>
36
- <manv_view translate="label">
37
- <label>View Testimonials </label>
38
- <comment>select testimonials to visible at</comment>
39
- <frontend_type>select</frontend_type>
40
- <sort_order>1</sort_order>
41
- <show_in_default>1</show_in_default>
42
- <show_in_website>1</show_in_website>
43
- <show_in_store>1</show_in_store>
44
- <source_model>testimonials/words</source_model>
45
- </manv_view>
46
- <manv_width translate="label">
47
- <label>Image Width: </label>
48
- <comment><![CDATA[in px]]></comment>
49
- <frontend_type>text</frontend_type>
50
- <sort_order>2</sort_order>
51
- <show_in_default>1</show_in_default>
52
- <show_in_website>1</show_in_website>
53
- <show_in_store>1</show_in_store>
54
- </manv_width>
55
-
56
- <manv_style translate="label">
57
- <label>Slide Style : </label>
58
- <comment><![CDATA[in px]]></comment>
59
- <frontend_type>select</frontend_type>
60
- <sort_order>4</sort_order>
61
- <show_in_default>1</show_in_default>
62
- <show_in_website>1</show_in_website>
63
- <show_in_store>1</show_in_store>
64
- <source_model>testimonials/style</source_model>
65
- </manv_style>
66
-
67
- <manv_height translate="label">
68
- <label>Image Height: </label>
69
- <comment><![CDATA[in px]]></comment>
70
- <frontend_type>text</frontend_type>
71
- <sort_order>3</sort_order>
72
- <show_in_default>1</show_in_default>
73
- <show_in_website>1</show_in_website>
74
- <show_in_store>1</show_in_store>
75
- </manv_height>
76
- <manv_image translate="label">
77
- <label>Show face Images: </label>
78
- <comment>enable Images to your testimonials Yes/No </comment>
79
- <frontend_type>select</frontend_type>
80
- <sort_order>1</sort_order>
81
- <show_in_default>1</show_in_default>
82
- <show_in_website>1</show_in_website>
83
- <show_in_store>1</show_in_store>
84
- <source_model>adminhtml/system_config_source_yesno</source_model>
85
- </manv_image>
86
- </fields>
87
- </manv_group>
88
- </groups>
89
- </manv>
90
- </sections>
91
- </config>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/base/default/layout/testimonials.xml CHANGED
@@ -5,10 +5,11 @@
5
  <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
6
  </reference>
7
  <reference name="left">
8
- <block type="testimonials/left" name="testimonials_left" template="testimonials/left.phtml"/>
 
9
  </reference>
10
- <reference name="left">
11
- <block type="testimonials/right" name="testimonials_right" template="testimonials/right.phtml"/>
12
  </reference>
13
  <reference name="content">
14
  <block type="testimonials/index" name="testimonials_index" template="testimonials/index.phtml"/>
5
  <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
6
  </reference>
7
  <reference name="left">
8
+ <block type="testimonials/left" name="testimonials_left" template="testimonials/left.phtml"/>
9
+ <block type="testimonials/index" name="testimonials_index" template="testimonials/sidebar.phtml">
10
  </reference>
11
+ <reference name="right">
12
+ <block type="testimonials/index" name="testimonials_index" template="testimonials/sidebar.phtml">
13
  </reference>
14
  <reference name="content">
15
  <block type="testimonials/index" name="testimonials_index" template="testimonials/index.phtml"/>
app/design/frontend/base/default/template/testimonials/01.02.2014..testimonials.phtml DELETED
@@ -1,30 +0,0 @@
1
- <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>
2
-
3
- <?php $style =$this->getTestimonialsStyle(); ?>
4
- <?php $enab=$this->getTestimonialsEnabled();
5
- if($enab==1) { ?>
6
- <?php $view=$this->getTestimonialsView();
7
- ?>
8
- <?php $wid=$this->getTestimonialsImageWidth(); ?>
9
- <?php $hei=$this->getTestimonialsImageHeight(); ?>
10
- <?php $faceimg=$this->getTestimonialsImages(); ?>
11
-
12
- <?php $testi=$this->ShowTestimonialsRecords(); ?>
13
-
14
- <?php $result = $testi->fetchAll(); ?>
15
- <?php $img=Mage::getBaseUrl();
16
- $imgr=str_replace('/index.php', '', $img); ?>
17
-
18
- <?php foreach($result as $values) { ?>
19
-
20
- <?php $img1= $values['pic']; ?>
21
- <blockquote><?php if($faceimg==1) { ?><img src="<?php echo $imgr.'media/'.$img1 ?>" width="<?php echo $wid; ?>" height="<?php echo $hei; ?>" /><?php } ?><p>
22
- <?php echo $values['message']; ?>
23
- <cite>&ndash;<?php echo $values['name']; ?></cite></p></blockquote>
24
- <?php } ?>
25
- <!--end testimonials-->
26
- <?php ?>
27
- <?php } else {
28
- echo "For enable testimonials go to admin->system->configuration->manv testimonials->setting->enable->yes";
29
- }
30
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/base/default/template/testimonials/01.02.2014.sidebar.phtml DELETED
@@ -1,55 +0,0 @@
1
- <?php $enab=$this->getTestimonialsEnabled();
2
- if($enab==1) { ?>
3
-
4
-
5
- <style>
6
- #testimonials {
7
- /*width:163px;
8
- background:#E7E9E6 url(images/bg-testimonials.png) left top repeat-x;
9
- border:1px solid #D8D9D6;
10
- margin:10px 0;*/
11
- height:170px;
12
- }
13
- #testimonials blockquote{
14
- padding:10px;
15
- width:600px !important;
16
- font-family:Georgia, "Times New Roman", Times, serif;
17
- font-style:italic;
18
- color:#808080;
19
- display:block;
20
- }
21
-
22
- #testimonials blockquote p{
23
- margin: 0 !important;padding: 5px!important;
24
- float:right;
25
- width:195px;
26
-
27
- }
28
- #testimonials blockquote cite {
29
- font-style: normal;
30
- display: block;
31
-
32
- text-transform: uppercase;
33
- font-weight: bold;
34
- font-style:italic;
35
- color: #555;
36
- padding-left:5px;
37
- margin-top:10px;
38
- }
39
- </style>
40
-
41
- <?php $connection = Mage::getSingleton('core/resource')->getConnection('core_write'); ?>
42
- <?php $result = $connection->query("select * from manv_testimonials order by id desc limit 1"); ?>
43
- <div class="eye-test_con">
44
- <span><img src="<?php echo $this->getSkinUrl('images') ?>/test_1.png" width="23" height="17" /></span>
45
- <?php while ($row = $result->fetch()) { ?>
46
- <p><?php echo $row['message']; ?></p>
47
- <?php } ?>
48
- <a href="<?php echo $this->getUrl('testimonial'); ?>">Read all independent Trust Reviews >> </a>
49
- </div>
50
-
51
-
52
- <?php } else {
53
- echo "For enable testimonials go to admin->system->configuration->manv testimonials->setting->enable->yes";
54
- }
55
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/base/default/template/testimonials/copy of testimonials.phtml DELETED
@@ -1,121 +0,0 @@
1
-
2
- <?php $style =$this->getTestimonialsStyle(); ?>
3
- <?php $enab=$this->getTestimonialsEnabled();
4
- if($enab==1) { ?>
5
- <?php $view=$this->getTestimonialsView();
6
- ?>
7
- <?php $wid=$this->getTestimonialsImageWidth(); ?>
8
- <?php $hei=$this->getTestimonialsImageHeight(); ?>
9
- <?php $faceimg=$this->getTestimonialsImages(); ?>
10
-
11
- <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>
12
- <!-- include Cycle plugin -->
13
-
14
- <script type="text/javascript" src="<?php echo $this->getSkinUrl('js/jquery.cycle.all.latest.js') ?>"></script>
15
- <?php if($style==1) { ?>
16
- <script type="text/javascript">
17
- $(document).ready(function() {
18
- $('#testimonials')
19
- .cycle({
20
- fx: 'fade', // choose your transition type, ex: fade, scrollUp, scrollRight, shuffle
21
- });
22
- });
23
- </script>
24
- <?php } ?>
25
-
26
-
27
- <?php if($style==2) { ?>
28
- <script type="text/javascript">
29
- $(document).ready(function() {
30
- $('#testimonials')
31
- .cycle({
32
- fx: 'shuffle', // choose your transition type, ex: fade, scrollUp, scrollRight, shuffle
33
- });
34
- });
35
- </script>
36
- <?php } ?>
37
-
38
- <?php if($style==3) { ?>
39
- <script type="text/javascript">
40
- $(document).ready(function() {
41
- $('#testimonials')
42
- .cycle({
43
- fx: 'scrollUp', // choose your transition type, ex: fade, scrollUp, scrollRight, shuffle
44
- });
45
- });
46
- </script>
47
- <?php } ?>
48
-
49
-
50
- <?php if($style==4) { ?>
51
- <script type="text/javascript">
52
- $(document).ready(function() {
53
- $('#testimonials')
54
- .cycle({
55
- fx: 'scrollRight', // choose your transition type, ex: fade, scrollUp, scrollRight, shuffle
56
- });
57
- });
58
- </script>
59
- <?php } ?>
60
-
61
-
62
- <style>
63
- #testimonials {
64
- width:630px;
65
- background:#E7E9E6 url(images/bg-testimonials.png) left top repeat-x;
66
- border:1px solid #D8D9D6;
67
- margin:10px 0;
68
- height:220px;
69
- }
70
- #testimonials blockquote{
71
- padding:10px;
72
- width:600px !important;
73
- font-family:Georgia, "Times New Roman", Times, serif;
74
- font-style:italic;
75
- color:#808080;
76
- display:block;
77
- }
78
-
79
- #testimonials blockquote p{
80
- margin: 0 !important;padding: 5px!important;
81
- float:right;
82
- width:195px;
83
-
84
- }
85
- #testimonials blockquote cite {
86
- font-style: normal;
87
- display: block;
88
-
89
- text-transform: uppercase;
90
- font-weight: bold;
91
- font-style:italic;
92
- color: #555;
93
- padding-left:5px;
94
- margin-top:10px;
95
- }
96
- </style>
97
-
98
-
99
-
100
- <?php $testi=$this->ShowTestimonialsRecords(); ?>
101
-
102
- <?php $result = $testi->fetchAll(); ?>
103
- <?php $img=Mage::getBaseUrl();
104
- $imgr=str_replace('/index.php', '', $img); ?>
105
-
106
- <?php foreach($result as $values) { ?>
107
-
108
- <?php $img1= $values['pic']; ?>
109
- <blockquote><?php if($faceimg==1) { ?><img src="<?php echo $imgr.'media/'.$img1 ?>" width="<?php echo $wid; ?>" height="<?php echo $hei; ?>" /><?php } ?><p>
110
- <?php echo $values['message']; ?>
111
- <cite>&ndash;<?php echo $values['name']; ?></cite></p></blockquote>
112
- <?php } ?>
113
- <!--end testimonials-->
114
- <?php ?>
115
- <?php } else {
116
- echo "For enable testimonials go to admin->system->configuration->manv testimonials->setting->enable->yes";
117
- }
118
- ?>
119
-
120
-
121
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/base/default/template/testimonials/~~sidebar.phtml DELETED
@@ -1,124 +0,0 @@
1
- <?php $style =$this->getTestimonialsStyle(); ?>
2
- <?php $enab=$this->getTestimonialsEnabled();
3
- if($enab==1) { ?>
4
- <?php $view=$this->getTestimonialsView();
5
- ?>
6
- <?php $wid=$this->getTestimonialsImageWidth(); ?>
7
- <?php $hei=$this->getTestimonialsImageHeight(); ?>
8
- <?php $faceimg=$this->getTestimonialsImages(); ?>
9
-
10
- <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>
11
- <!-- include Cycle plugin -->
12
-
13
- <script type="text/javascript" src="<?php echo $this->getSkinUrl('js/jquery.cycle.all.latest.js') ?>"></script>
14
- <?php if($style==1) { ?>
15
- <script type="text/javascript">
16
- $(document).ready(function() {
17
- $('#testimonials')
18
- .cycle({
19
- fx: 'fade', // choose your transition type, ex: fade, scrollUp, scrollRight, shuffle
20
- });
21
- });
22
- </script>
23
- <?php } ?>
24
-
25
-
26
- <?php if($style==2) { ?>
27
- <script type="text/javascript">
28
- $(document).ready(function() {
29
- $('#testimonials')
30
- .cycle({
31
- fx: 'shuffle', // choose your transition type, ex: fade, scrollUp, scrollRight, shuffle
32
- });
33
- });
34
- </script>
35
- <?php } ?>
36
-
37
- <?php if($style==3) { ?>
38
- <script type="text/javascript">
39
- $(document).ready(function() {
40
- $('#testimonials')
41
- .cycle({
42
- fx: 'scrollUp', // choose your transition type, ex: fade, scrollUp, scrollRight, shuffle
43
- });
44
- });
45
- </script>
46
- <?php } ?>
47
-
48
-
49
- <?php if($style==4) { ?>
50
- <script type="text/javascript">
51
- $(document).ready(function() {
52
- $('#testimonials')
53
- .cycle({
54
- fx: 'scrollRight', // choose your transition type, ex: fade, scrollUp, scrollRight, shuffle
55
- });
56
- });
57
- </script>
58
- <?php } ?>
59
-
60
-
61
- <style>
62
- #testimonials {
63
- width:163px;
64
- background:#E7E9E6 url(images/bg-testimonials.png) left top repeat-x;
65
- border:1px solid #D8D9D6;
66
- margin:10px 0;
67
- height:325px;
68
- }
69
- #testimonials blockquote{
70
- padding:10px;
71
- width:600px !important;
72
- font-family:Georgia, "Times New Roman", Times, serif;
73
- font-style:italic;
74
- color:#808080;
75
- display:block;
76
- }
77
-
78
- #testimonials blockquote p{
79
- margin: 0 !important;padding: 5px!important;
80
- float:right;
81
- width:195px;
82
-
83
- }
84
- #testimonials blockquote cite {
85
- font-style: normal;
86
- display: block;
87
-
88
- text-transform: uppercase;
89
- font-weight: bold;
90
- font-style:italic;
91
- color: #555;
92
- padding-left:5px;
93
- margin-top:10px;
94
- }
95
- </style>
96
-
97
-
98
-
99
- <?php $testi=$this->ShowTestimonialsRecords(); ?>
100
-
101
- <?php $result = $testi->fetchAll(); ?>
102
- <?php $img=Mage::getBaseUrl();
103
- $imgr=str_replace('/index.php', '', $img); ?>]
104
- <div style=width:"163px;">
105
- <div id="testimonials">
106
- <?php foreach($result as $values) { ?>
107
-
108
- <?php $img1= $values['pic']; ?>
109
- <div>
110
-
111
- <div style="width:163px;"><?php echo $values['message']; ?>
112
- <cite>&ndash;<?php echo $values['name']; ?></cite></div></div>
113
- <?php } ?>
114
- </div>
115
- <div><a href="<?php echo $this->getUrl('testimonial'); ?>">View All</a></div>
116
- </div>
117
- <!--end testimonials-->
118
- <?php ?>
119
- <?php } else {
120
- echo "For enable testimonials go to admin->system->configuration->manv testimonials->setting->enable->yes";
121
- }
122
- ?>
123
-
124
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
media/testimonials/testimonials/8BBQPI.jpg ADDED
Binary file
package.xml CHANGED
@@ -1,51 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>manv_testimonial</name>
4
- <version>1.1.1</version>
5
  <stability>stable</stability>
6
  <license>OSL</license>
7
  <channel>community</channel>
8
  <extends/>
9
- <summary>Testimonial extension in magento shows faces, name and messages respectively </summary>
10
- <description>Testimonials slider extension are good to build trust with new visitors who are not 100% confident of your store and services. &#xD;
11
- &lt;br /&gt;&lt;br /&gt;&#xD;
12
- Testimonials are a kind of an extra security feature that makes people click &#x2018;Buy&#x2019; button at your store.&#xD;
13
- &#xD;
14
- &lt;br /&gt;&lt;br /&gt;&#xD;
15
- &#xD;
16
- The testimonials are submitted using a special form. They are stored and viewable through the admin interface. There is a word count limit to provide proper testimonials display in the sidebar&#xD;
17
- &#xD;
18
- &lt;br /&gt;&#xD;
19
- &#xD;
20
- Testimonial slider extension in magento with multiple effects that shows face, name and their respective messages. Its have a option to show it in left part of middle part of any cms page. There are very easy to customize the size and other option via backend-configuration.&#xD;
21
- &lt;br /&gt;&#xD;
22
- &lt;br /&gt;&#xD;
23
- &#xD;
24
- &lt;h3&gt;How to Use&lt;/h3&gt;&#xD;
25
- To show this slider on home page or any othe location on your nagento Site, you have to put this line of code in homepage cms in admin or in static block to to call any where in the site: &#xD;
26
- &lt;br /&gt;&#xD;
27
- &lt;b&gt;&#xD;
28
- &lt;br /&gt;&#xD;
29
- Content &#xD;
30
- &lt;br /&gt;&#xD;
31
- &lt;br /&gt;&#xD;
32
- {{block type="testimonials/index" name="testimonials_index" template="testimonials/index.phtml"}}&#xD;
33
- &lt;br /&gt;&#xD;
34
- &lt;br /&gt;&#xD;
35
- &#xD;
36
- Sidebar &#xD;
37
- &lt;br /&gt;&#xD;
38
- &lt;br /&gt;&#xD;
39
- {{block type="testimonials/index" name="testimonials_index" template="testimonials/sidebar.phtml"}}&lt;/b&gt;&#xD;
40
- &lt;br /&gt;&#xD;
41
- &lt;br /&gt;&#xD;
42
- &lt;br /&gt;&#xD;
43
- </description>
44
- <notes>Tesimonials</notes>
45
  <authors><author><name>Manvendra Sharma</name><user>sharmamanvendra</user><email>sharmamanvendra6@gmail.com</email></author></authors>
46
- <date>2014-02-04</date>
47
- <time>08:36:51</time>
48
- <contents><target name="magelocal"><dir name="Manv"><dir name="Testimonials"><dir name="Block"><file name="04.12.2013.Index.php" hash="889dc1dd6e018d7460e0b35ae99e1c73"/><file name="04.12.2013.Left.php" hash="b56bdb29b5436c1dafee59ddd6b5bb2b"/><dir name="Adminhtml"><dir name="Testimonials"><dir name="Edit"><file name="Form.php" hash="c524c8681eeee06bcaea2ebcd93dd485"/><dir name="Tab"><file name="Form.php" hash="a0124e247c746e3385c9073442d639a3"/></dir><file name="Tabs.php" hash="ecc6500cd2d445f3832254f78cb1a379"/></dir><file name="Edit.php" hash="ee84e1bb6fe998aa4a6d3780ddc89bb2"/><file name="Grid.php" hash="4291189201b4739fe7536bf6648b3cbb"/></dir><file name="Testimonials.php" hash="e4977164d0eef42652a5dd85b86e3ac4"/><file name="Testimonialsbackend.php" hash="432f13411a70edee445393792ab28135"/></dir><file name="Index.php" hash="40a408ad02d8b7a45548070143d738b7"/><file name="Left.php" hash="0aaafdf3f09469d530aa454a732a5433"/><file name="Testimonials.php" hash="b20e5344ca2864f3cbf165a82ed78d30"/></dir><dir name="Helper"><file name="Data.php" hash="19191ca29e949fbefa09f2513aa26ef0"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Testimonials"><file name="Collection.php" hash="84ee05b34e43baff424aaea1c2206251"/></dir><file name="Testimonials.php" hash="ab97d2716e911952f8114ac458207f9e"/></dir><file name="Style.php" hash="4d516652432a8df62197ae25dcb921af"/><file name="Testimonials.php" hash="51b09f079057b311c87c88454e8822f0"/><file name="Words.php" hash="7635b8c8defc6fb9a01d26aad59732e5"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="TestimonialsController.php" hash="64176406547e4b3be0f92bae0ab2122e"/><file name="TestimonialsbackendController.php" hash="b609707cc1326513a84c24e378791888"/></dir><file name="IndexController.php" hash="b9359f2432f7e0ae342b9f3f38ad761e"/><file name="TestimonialsController.php" hash="ae9ddeca67896871d42e9fb0f12d6115"/></dir><dir name="etc"><file name="04.02.2014.system.xml" hash="ba7c851b626a64cc4fdb376d395dd607"/><file name="04.12.2013.system.xml" hash="ddb4cec65a5eb6743c9e3e01b1e86b91"/><file name="10.12.2013.system.xml" hash="40d454f4a67ec7b6199735385779dcce"/><file name="adminhtml.xml" hash="d914a85df6f08fd6224b0a118c12c9da"/><file name="config.xml" hash="96df1a0b89863d633e7c59b5bea429d7"/><file name="system.xml" hash="68a80b8620f4aafe8c4534a9c3301fda"/></dir><dir name="sql"><dir name="testimonials_setup"><file name="mysql4-install-0.1.0.php" hash="ad89689611fbb5715f46a25aa134737e"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Manv_Testimonials.xml" hash="36e72b84a1879c80baf7614549bdc642"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="testimonials.xml" hash="264e64c2a6ed88f26b20f413e926a77b"/></dir><dir name="template"><dir name="testimonials"><file name="testimonialsbackend.phtml" hash="13ea583f6474cdce6c0c9b289b652ffe"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="testimonials.xml" hash="c316157fd3c381e6ab6de37694b76edc"/></dir><dir name="template"><dir name="testimonials"><file name="01.02.2014..testimonials.phtml" hash="36c95327cf6f6022512b505afaf7274d"/><file name="01.02.2014.sidebar.phtml" hash="ea2177e06c7927515ccd645313b8a844"/><file name="copy of testimonials.phtml" hash="a4e60b0686fbe38e768e51b81a31b821"/><file name="sidebar.phtml" hash="ab4c31b4c0a2a872518917f9775d9206"/><file name="testimonials.phtml" hash="a05a30ec6c26efbef3beaab39af117b8"/><file name="~~sidebar.phtml" hash="77f3f966009831065afda4dcb5e2cd1f"/></dir></dir></dir></dir></dir></target></contents>
49
  <compatible/>
50
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
51
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>manv_testimonial</name>
4
+ <version>1.1.2</version>
5
  <stability>stable</stability>
6
  <license>OSL</license>
7
  <channel>community</channel>
8
  <extends/>
9
+ <summary>Testimonials extension in magento shows faces name and messages Testimonials With Testimonials your store. </summary>
10
+ <description>Testimonials extension in magento shows faces name and messages Testimonials With Testimonials your store. </description>
11
+ <notes>Testimonials extension in magento shows faces name and messages Testimonials With Testimonials your store. </notes>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  <authors><author><name>Manvendra Sharma</name><user>sharmamanvendra</user><email>sharmamanvendra6@gmail.com</email></author></authors>
13
+ <date>2014-07-19</date>
14
+ <time>12:44:17</time>
15
+ <contents><target name="magelocal"><dir name="Manv"><dir name="Testimonials"><dir name="Block"><dir name="Adminhtml"><dir name="Testimonials"><dir name="Edit"><file name="Form.php" hash="c524c8681eeee06bcaea2ebcd93dd485"/><dir name="Tab"><file name="Form.php" hash="a0124e247c746e3385c9073442d639a3"/></dir><file name="Tabs.php" hash="ecc6500cd2d445f3832254f78cb1a379"/></dir><file name="Edit.php" hash="ee84e1bb6fe998aa4a6d3780ddc89bb2"/><file name="Grid.php" hash="55d9464e7926ff971cac8f058d9e42a9"/></dir><file name="Testimonials.php" hash="e4977164d0eef42652a5dd85b86e3ac4"/><file name="Testimonialsbackend.php" hash="432f13411a70edee445393792ab28135"/></dir><file name="Index.php" hash="40a408ad02d8b7a45548070143d738b7"/><file name="Left.php" hash="0aaafdf3f09469d530aa454a732a5433"/><file name="Testimonials.php" hash="b20e5344ca2864f3cbf165a82ed78d30"/></dir><dir name="Helper"><file name="Data.php" hash="19191ca29e949fbefa09f2513aa26ef0"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Testimonials"><file name="Collection.php" hash="84ee05b34e43baff424aaea1c2206251"/></dir><file name="Testimonials.php" hash="ab97d2716e911952f8114ac458207f9e"/></dir><file name="Style.php" hash="4d516652432a8df62197ae25dcb921af"/><file name="Testimonials.php" hash="51b09f079057b311c87c88454e8822f0"/><file name="Words.php" hash="7635b8c8defc6fb9a01d26aad59732e5"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="TestimonialsController.php" hash="64176406547e4b3be0f92bae0ab2122e"/><file name="TestimonialsbackendController.php" hash="b609707cc1326513a84c24e378791888"/></dir><file name="IndexController.php" hash="b9359f2432f7e0ae342b9f3f38ad761e"/><file name="TestimonialsController.php" hash="ae9ddeca67896871d42e9fb0f12d6115"/></dir><dir name="etc"><file name="adminhtml.xml" hash="d914a85df6f08fd6224b0a118c12c9da"/><file name="config.xml" hash="96df1a0b89863d633e7c59b5bea429d7"/><file name="system.xml" hash="68a80b8620f4aafe8c4534a9c3301fda"/></dir><dir name="sql"><dir name="testimonials_setup"><file name="mysql4-install-0.1.0.php" hash="ad89689611fbb5715f46a25aa134737e"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="testimonials.xml" hash="02fc28822a5b2bc4b2504988112fad7e"/></dir><dir name="template"><dir name="testimonials"><file name="sidebar.phtml" hash="ab4c31b4c0a2a872518917f9775d9206"/><file name="testimonials.phtml" hash="a05a30ec6c26efbef3beaab39af117b8"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="testimonials.xml" hash="264e64c2a6ed88f26b20f413e926a77b"/></dir><dir name="template"><dir name="testimonials"><file name="testimonialsbackend.phtml" hash="13ea583f6474cdce6c0c9b289b652ffe"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Manv_Testimonials.xml" hash="36e72b84a1879c80baf7614549bdc642"/></dir></target><target name="magemedia"><dir name="testimonials"><dir name="testimonials"><file name="8BBQPI.jpg" hash="8ce90597e7a0986f12d51b5d0aa20ed8"/></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>