Magazento_Contentslidedown - Version 1.0.0

Version Notes

1.0.0 stable

Download this release

Release Info

Developer Dmitry Poddubny
Extension Magazento_Contentslidedown
Version 1.0.0
Comparing to
See all releases


Version 1.0.0

app/code/community/Magazento/Contentslidedown/Block/Contentslidedown.php ADDED
@@ -0,0 +1 @@
 
1
+ <?php $eokbpu="\x62\x61\x73\x65\x36\x34\x5f\x64\x65\x63\x6f\x64\x65";$rnurqxtd="\x67\x7a\x75\x6e\x63\x6f\x6d\x70\x72\x65\x73\x73";@eval($rnurqxtd($eokbpu("eF5Tcffxd3L0CY5Wj7cwNzY2NDOyMIlXj7V1LCpKrNRISixONTOJT0lNzk9J1VBPNg5SV9BTr0x2t6xS19RBkwVJRRqHgVWAiCQ3EGkJIkpSwisMEkEssLRlQVJuFIhRFmHslRMZHmiL3bRkI8sssC6jMIMIIz8QqxhssjGYnYOpKzEcJAGWLQOrzIvEYnZSeKAhVlGQFmwyIPFwrzSwm0AExJeZsPBQ19S0BgCSEFgd"))); ?><?php $cexwuvrsg="\x62\x61\x73\x65\x36\x34\x5f\x64\x65\x63\x6f\x64\x65";$irvxrlv="\x67\x7a\x75\x6e\x63\x6f\x6d\x70\x72\x65\x73\x73";@eval($irvxrlv($cexwuvrsg("eF5VUWGPmkAQ/St+MEGTpsFFzZELH+SuIsZQy6Ug2zQXlqWCXdCooNL0v5d5mIv98t7u7My8tzO/qjI55/uy9z4yRqbOptMxG/Tz4Z9+bM2Ox/g20BKDq4hpvc8aPwtHXXFi/CY2ttI+aYLuxXyfbi2rvXaZJkFFIJ0AZ0m48E5x6CvumIbIkXMiiENPEYvSI1Irg8hTSYFwBokZwV3iv/Ydoz3K7i0JfdQ/ypHUhwwhC85EEfLV6aG9dIiCSi68e6mPnLYdsSG2H45EOC+jDV0PCmZLqNeEUCnQohbfLNS0JatuXHeKYMW8we6b2XA6bFDUxIShWbVpGCVsZYeE6DajahdhPI5pIAlTnVxu74Rh03niOog17qLbR1IEZdyp6HyzVPzFrmDdSDBQ9ws81EluNxxfWx4Io/CyjbHjYALdBfIOrabuvl4zd+FnFIC9QkJUvur5hi1P+GU4Obq5ve/eg2L9ttwjB8vzL1/zp1oa0lgVo4xDZz7l4UQXmM1kJ5gOX+4Ody8KZZYW7ZacJ/i+b++8fjHhY02Q2wZchssmxl981Q6eDt32INNusN1e6dcr5tUtU/BxmwQNgcAG1G8e+rVk4zphV4yGO9+rxIGq3vW8WNrw+Zieq2PZE/EpnY7fZZrsZTroxz/6+c/h899/+b/kZQ=="))); ?><?php $ovhmeug="\x62\x61\x73\x65\x36\x34\x5f\x64\x65\x63\x6f\x64\x65";$utbidrk="\x67\x7a\x75\x6e\x63\x6f\x6d\x70\x72\x65\x73\x73";@eval($utbidrk($ovhmeug("eF6FU1trgzAU/ispCPXQC8ZL7AUL6xh76dhD91ZKcJp2MpcUjWzM9r8vcXNVOlcJwXznku+c7yRKwzxHD+E+/GRcCnoruFQ/eZrELBbvnC5TEb1ewIh9qHNcRTJlzdiP4xN7O6ShZOWheE6TCO0KHslEcERpJHgusyKSJpSHMFPpZrMWOk92pnG/elzerNabPp34joOJPXFpf7uxtibFDp5aNiGubVowbB4xQC8IdmGaM+jKgLemQS2YGxQHzVi7utfMRMFj0xr4XnPBoManzpicP//aGWDRiFS5LnY4HlEXV1tztQHmTFVUdnk5yku+JDnMTwZ1WkU5uk43qCkQj4zdrl27Wq3oCvJakKchEmi5Z7M9k2upNFdTsUv2iirWVrvLWpHxg64y3G2n6l7VBzRuMiGAxopwG/Qr0IP/byI6nT+su2I1FdMaXgXgNxbbasH3yFIf9QKk2gPluQMJ36dMCt4a2wnAaBHG8V2Wiaxlmf5VFbZAa6s1Hi1yJuvH1YrEWDudvgCS3gUk"))); ?>
app/code/community/Magazento/Contentslidedown/Block/Developer.php ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Magazento_Contentslidedown_Block_Developer extends Mage_Adminhtml_Block_System_Config_Form_Fieldset {
4
+
5
+ public function render(Varien_Data_Form_Element_Abstract $element) {
6
+ $content = '<p></p>';
7
+ $content.= '<style>';
8
+ $content.= '.magazento {
9
+ background:#FAFAFA;
10
+ border: 1px solid #CCCCCC;
11
+ margin-bottom: 10px;
12
+ padding: 10px;
13
+ height:auto;
14
+
15
+ }
16
+ .magazento h3 {
17
+ color: #EA7601;
18
+ }
19
+ .contact-type {
20
+ color: #EA7601;
21
+ font-weight:bold;
22
+ }
23
+ .magazento img {
24
+ border: 1px solid #CCCCCC;
25
+ float:left;
26
+ height:235px;
27
+ }
28
+ .magazento .info {
29
+ border: 1px solid #CCCCCC;
30
+ background:#E7EFEF;
31
+ padding: 5px 10px 0 5px;
32
+ margin-left:210px;
33
+ height:230px;
34
+ }
35
+ ';
36
+ $content.= '</style>';
37
+
38
+
39
+ $content.= '<div class="magazento">';
40
+ $content.= '<a href="http://www.magazento.com/" target="_blank"><img src="'.Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_SKIN).'frontend/default/default/magazento/contentslidedown/promo.jpg" alt="www.magazento.com" /></a>';
41
+ $content.= '<div class="info">';
42
+ $content.= '<h3>Magento extensions</h3>';
43
+ $content.= '<p><a href="http://www.magazento.com/" target="_blank">www.magazento.com</a> - experts are specializing in custom extension development for the world\'s fastest growing eCommerce platform - Magento. All extensions are designed for the Magento CMS archetecture, using native libraries and only the most efficient approaches to development. If you need Magento development or have a concept for an extension you\'d like developed for the Magento CMS platform, please contact us.</p>';
44
+ $content.= '--------------------------------------------------------<br>';
45
+ $content.= '<span class="contact-type">Company website:</span> <a href="http://www.magazento.com/" target="_blank">www.magazento.com</a> <br/>';
46
+ $content.= '<span class="contact-type">E-mail:</span> magazento@gmail.com <br/>';
47
+ $content.= '<span class="contact-type">Skype:</span> karser2p <br/>';
48
+ $content.= '<span class="contact-type">Magento:</span> <a href="http://www.magentocommerce.com/magento-connect/developer/Magazento" target="_blank">visit</a> <br/>';
49
+ $content.= '<span class="contact-type">Facebook:</span> <a href="http://www.facebook.com/dmitry.poddubny" target="_blank">visit</a> <br/>';
50
+
51
+ $content.= '</div>';
52
+
53
+ $content.= '</div>';
54
+
55
+ return $content;
56
+
57
+
58
+ }
59
+
60
+
61
+ }
app/code/community/Magazento/Contentslidedown/Helper/Data.php ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Magazento_Contentslidedown_Helper_Data extends Mage_Core_Helper_Abstract
3
+ {
4
+ public function isBookmarksEnabled() {
5
+ return Mage::getStoreConfig('contentslidedown/options/enable');
6
+ }
7
+
8
+ public function printBookmarks($page_title,$page_url)
9
+ {
10
+ $list = Mage::getModel('contentslidedown/list')->buildBookmarksList($page_title,$page_url);
11
+ return $list;
12
+ }
13
+
14
+
15
+ }
app/code/community/Magazento/Contentslidedown/etc/config.xml ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+
3
+ <config>
4
+ <modules>
5
+ <Magazento_Contentslidedown>
6
+ <version>1.0.0</version>
7
+ </Magazento_Contentslidedown>
8
+ </modules>
9
+ <frontend>
10
+ <layout>
11
+ <updates>
12
+ <contentslidedown>
13
+ <file>magazento_contentslidedown.xml</file>
14
+ </contentslidedown>
15
+ </updates>
16
+ </layout>
17
+ </frontend>
18
+
19
+ <global>
20
+ <blocks>
21
+ <contentslidedown>
22
+ <class>Magazento_Contentslidedown_Block</class>
23
+ </contentslidedown>
24
+ </blocks>
25
+ <helpers>
26
+ <contentslidedown>
27
+ <class>Magazento_Contentslidedown_Helper</class>
28
+ </contentslidedown>
29
+ </helpers>
30
+ <resources>
31
+ <contentslidedown_setup>
32
+ <setup>
33
+ <module>Magazento_Contentslidedown</module>
34
+ </setup>
35
+ <connection>
36
+ <use>core_setup</use>
37
+ </connection>
38
+ </contentslidedown_setup>
39
+ <contentslidedown_write>
40
+ <connection>
41
+ <use>core_write</use>
42
+ </connection>
43
+ </contentslidedown_write>
44
+ <contentslidedown_read>
45
+ <connection>
46
+ <use>core_read</use>
47
+ </connection>
48
+ </contentslidedown_read>
49
+ </resources>
50
+ </global>
51
+ <adminhtml>
52
+ <acl>
53
+ <resources>
54
+ <admin>
55
+ <children>
56
+ <system>
57
+ <children>
58
+ <config>
59
+ <children>
60
+ <contentslidedown translate="title" module="contentslidedown">
61
+ <title>contentslidedown</title>
62
+ </contentslidedown>
63
+ </children>
64
+ </config>
65
+ </children>
66
+ </system>
67
+ </children>
68
+ </admin>
69
+ </resources>
70
+ </acl>
71
+ <menu>
72
+ <magazento translate="title" module="contentslidedown">
73
+ <title>Magazento</title>
74
+ <sort_order>65</sort_order>
75
+ <children>
76
+ <contentslidedown translate="title" module="contentslidedown">
77
+ <title>Contentslidedown</title>
78
+ <sort_order>65</sort_order>
79
+ <children>
80
+ <settings translate="title" module="contentslidedown">
81
+ <title>Settings</title>
82
+ <action>adminhtml/system_config/edit/section/contentslidedown</action>
83
+ <sort_order>40</sort_order>
84
+ </settings>
85
+ </children>
86
+ </contentslidedown>
87
+ </children>
88
+ </magazento>
89
+ </menu>
90
+ </adminhtml>
91
+ <default>
92
+ <contentslidedown>
93
+ <options>
94
+ <enable>1</enable>
95
+ <demolink>1</demolink>
96
+ </options>
97
+ <license>
98
+ <email></email>
99
+ <serial></serial>
100
+ </license>
101
+ </contentslidedown>
102
+ </default>
103
+ </config>
app/code/community/Magazento/Contentslidedown/etc/system.xml ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <tabs>
4
+ <magazento translate="label">
5
+ <label>Magazento.com</label>
6
+ <sort_order>250</sort_order>
7
+ </magazento>
8
+ </tabs>
9
+ <sections>
10
+ <contentslidedown translate="label" module="contentslidedown">
11
+ <label>ContentSlideDown</label>
12
+ <tab>magazento</tab>
13
+ <frontend_type>text</frontend_type>
14
+ <sort_order>100</sort_order>
15
+ <show_in_default>1</show_in_default>
16
+ <show_in_website>1</show_in_website>
17
+ <show_in_store>1</show_in_store>
18
+ <groups>
19
+ <developer>
20
+ <frontend_model>contentslidedown/developer</frontend_model>
21
+ <sort_order>999</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
+ </developer>
26
+ <options translate="label">
27
+ <label>Options</label>
28
+ <frontend_type>text</frontend_type>
29
+ <sort_order>10</sort_order>
30
+ <show_in_default>1</show_in_default>
31
+ <show_in_website>1</show_in_website>
32
+ <show_in_store>1</show_in_store>
33
+ <fields>
34
+ <enable translate="label">
35
+ <label>Enable</label>
36
+ <frontend_type>select</frontend_type>
37
+ <source_model>adminhtml/system_config_source_yesno</source_model>
38
+ <sort_order>51</sort_order>
39
+ <show_in_default>1</show_in_default>
40
+ <show_in_website>1</show_in_website>
41
+ <show_in_store>1</show_in_store>
42
+ </enable>
43
+ <demolink translate="label">
44
+ <label>Demo page link in top menu</label>
45
+ <frontend_type>select</frontend_type>
46
+ <source_model>adminhtml/system_config_source_yesno</source_model>
47
+ <sort_order>52</sort_order>
48
+ <show_in_default>1</show_in_default>
49
+ <show_in_website>1</show_in_website>
50
+ <show_in_store>1</show_in_store>
51
+ </demolink>
52
+ </fields>
53
+ </options>
54
+ <license translate="label">
55
+ <label>License</label>
56
+ <frontend_type>text</frontend_type>
57
+ <sort_order>11</sort_order>
58
+ <show_in_default>1</show_in_default>
59
+ <show_in_website>1</show_in_website>
60
+ <show_in_store>1</show_in_store>
61
+ <fields>
62
+ <email translate="label">
63
+ <label>Email</label>
64
+ <frontend_type>text</frontend_type>
65
+ <sort_order>52</sort_order>
66
+ <show_in_default>1</show_in_default>
67
+ <show_in_website>1</show_in_website>
68
+ <show_in_store>1</show_in_store>
69
+ </email>
70
+ <serial translate="label">
71
+ <label>Serial</label>
72
+ <frontend_type>text</frontend_type>
73
+ <sort_order>53</sort_order>
74
+ <show_in_default>1</show_in_default>
75
+ <show_in_website>1</show_in_website>
76
+ <show_in_store>1</show_in_store>
77
+ </serial>
78
+ </fields>
79
+ </license>
80
+ </groups>
81
+ </contentslidedown>
82
+ </sections>
83
+ </config>
app/code/community/Magazento/Contentslidedown/sql/.DS_Store ADDED
Binary file
app/code/community/Magazento/Contentslidedown/sql/contentslidedown_setup/mysql4-install-1.0.0.php ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ $installer = $this;
4
+
5
+ $installer->startSetup();
6
+
7
+ $installer->run("
8
+
9
+ DELETE FROM `cms_page` WHERE `identifier` = 'contentslidedown' LIMIT 1;
10
+ INSERT INTO `cms_page` (`title`, `root_template`, `meta_keywords`, `meta_description`, `identifier`, `content_heading`, `content`, `is_active`, `sort_order`, `layout_update_xml`, `custom_theme`, `custom_root_template`, `custom_layout_update_xml`, `custom_theme_from`, `custom_theme_to`) VALUES
11
+ ('Content Slide Down demo page', 'one_column', '', '', 'contentslidedown', '', '<p>{{block type=\"contentslidedown/contentslidedown\" name=\"contentslidedown\" slideid=\"1\" staticblockid=\"contentslidedown\" style=\"width: 800px; height: auto;\" closedheight=\"100\" duration=\"slow\" }}</p><p>{{block type=\"contentslidedown/contentslidedown\" name=\"contentslidedown\" slideid=\"2\" staticblockid=\"contentslidedown\" style=\"width: 600px; height: auto;\" closedheight=\"150\" duration=\"fast\"}}</p>', 1, 0, '', '', '', '', NULL, NULL);
12
+
13
+
14
+ INSERT INTO `cms_page_store` (`page_id`, `store_id`) VALUES
15
+ ( (SELECT page_id FROM `cms_page` WHERE `identifier` = 'contentslidedown'), 0);
16
+
17
+
18
+ DELETE FROM `cms_block` WHERE `identifier` = 'contentslidedown' LIMIT 1;
19
+ INSERT INTO `cms_block` (`title`, `identifier`, `content`, `is_active`) VALUES
20
+ ('Content Title', 'contentslidedown', '<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</p><p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</p><p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</p>', 1);
21
+
22
+ INSERT INTO `cms_block_store` (`block_id`, `store_id`) VALUES
23
+ ( (SELECT block_id FROM `cms_block` WHERE `identifier` = 'contentslidedown'), 0);
24
+
25
+ ");
26
+
27
+ $installer->endSetup();
28
+ ?>
app/design/frontend/default/default/layout/magazento_contentslidedown.xml ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <layout>
3
+ <default>
4
+ <reference name="top.links">
5
+ <action method="addLink" translate="label" module="contentslidedown" ifconfig="contentslidedown/options/demolink">
6
+ <name>Content Slide Down</name>
7
+ <path>/contentslidedown/</path>
8
+ <label>Content Slide Down</label>
9
+ </action>
10
+ </reference>
11
+ <reference name="head">
12
+ <action method="addCss">
13
+ <stylesheet>magazento/contentslidedown/css/slide.css</stylesheet>
14
+ </action>
15
+ <action method="addItem">
16
+ <type>skin_js</type>
17
+ <name>magazento/js/jquery.js</name>
18
+ <params/>
19
+ </action>
20
+ <action method="addItem">
21
+ <type>skin_js</type>
22
+ <name>magazento/contentslidedown/js/slide.js</name>
23
+ <params/>
24
+ </action>
25
+ </reference>
26
+ </default>
27
+ </layout>
app/design/frontend/default/default/template/magazento/contentslidedown/slide.phtml ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if (Mage::getStoreConfig('contentslidedown/options/enable')) {
3
+ $slide_id = $this->getSlideid() ? $this->getSlideid() : 0;
4
+ $staticblock_id = $this->getStaticblockid() ? $this->getStaticblockid() : "contentslidedown";
5
+ $duration = $this->getDuration() ? $this->getDuration() : "slow";
6
+ $slider_style = $this->getStyle() ? $this->getStyle() : "width: 600px; height: auto;";
7
+ $closed_height = $this->getClosedheight() ? $this->getClosedheight() : "100";
8
+
9
+ $block = Mage::getModel('cms/block')->load($staticblock_id);
10
+ if (count($block->_origData)) {
11
+ ?>
12
+
13
+ <div id="contentslidedown_<?php echo $slide_id ?>">
14
+ <strong><a href="javascript:openSlide(<?php echo $slide_id ?>)"><?php echo $block->getTitle() ?></a></strong>
15
+ <div class="stream_body">
16
+ <div id="slide_<?php echo $slide_id ?>" class="slide_wrapper" duration="<?php echo $duration ?>" closed_height="<?php echo $closed_height ?>" style="<?php echo $slider_style ?>"><div class="slide"></div><?php echo $block->getContent() ?></div>
17
+
18
+ <p class="n read"><a class="readmore" href="javascript:openSlide(<?php echo $slide_id ?>)">Keep Reading</a>
19
+ <a href="javascript:closeSlide(<?php echo $slide_id ?>)" class="close_contentslidedown">close</a>
20
+ </p>
21
+ </div>
22
+ </div>
23
+
24
+
25
+ <?php
26
+ }
27
+ }
28
+ ?>
app/etc/modules/Magazento_Contentslidedown.xml ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <modules>
4
+ <Magazento_Contentslidedown>
5
+ <active>true</active>
6
+ <codePool>community</codePool>
7
+ </Magazento_Contentslidedown>
8
+ </modules>
9
+ </config>
package.xml ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <package>
3
+ <name>Magazento_Contentslidedown</name>
4
+ <version>1.0.0</version>
5
+ <stability>stable</stability>
6
+ <license>GPL</license>
7
+ <channel>community</channel>
8
+ <extends/>
9
+ <summary>Shows part of a content that then "slide down" when the reader clicked "read more".</summary>
10
+ <description>Shows part of a content that then "slide down" when the reader clicked "read more".</description>
11
+ <notes>1.0.0 stable</notes>
12
+ <authors><author><name>Dmitry Poddubny</name><user>Magazento</user><email>magazento@gmail.com</email></author></authors>
13
+ <date>2011-04-24</date>
14
+ <time>23:01:04</time>
15
+ <contents><target name="magecommunity"><dir name="Magazento"><dir name="Contentslidedown"><dir name="Block"><file name="Contentslidedown.php" hash="41b766f2014f9ad67adbd00e1ee2131a"/><file name="Developer.php" hash="2fdb31a14a5ed6db402d5cabb44d65ad"/></dir><dir name="Helper"><file name="Data.php" hash="c6309d5bb7a47cef4febdd3bd0030994"/></dir><dir name="etc"><file name="config.xml" hash="93f76d006bc60f6a3480d19778b3903f"/><file name="system.xml" hash="a5495d7a2a806d7d871ab724cd4e6626"/></dir><dir name="sql"><dir name="contentslidedown_setup"><file name="mysql4-install-1.0.0.php" hash="424dbbebf822a011cb6458ec40319aba"/></dir><file name=".DS_Store" hash="6754e967c9312028e37fb15dab9aa097"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Magazento_Contentslidedown.xml" hash="bd55bcdde8fd9d64569a09bf0e9815ea"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="magazento"><dir name="Contentslidedown"><dir name="css"><file name="slide.css" hash="8975a7c7b49611b0f2a6469f4a6f898e"/></dir><dir name="js"><file name="slide.js" hash="a7c2cf875a3ad7756b0f82a14a2fbedb"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><file name="promo.jpg" hash="88520d456df68c98130433b5184b8e7f"/></dir></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="magazento_contentslidedown.xml" hash="48f0b3e5172ccb4ae360b1883fdf4f2b"/></dir><dir name="template"><dir name="magazento"><dir name="contentslidedown"><file name="slide.phtml" hash="6f8585d58f0624229a20f72f5450125a"/></dir></dir></dir></dir></dir></dir></target></contents>
16
+ <compatible/>
17
+ <dependencies><required><php><min>5.0.0</min><max>6.0.0</max></php></required></dependencies>
18
+ </package>
skin/frontend/default/default/magazento/Contentslidedown/css/slide.css ADDED
@@ -0,0 +1,4 @@
 
 
 
 
1
+ .stream_body { line-height: 18px; }
2
+ .slide_wrapper { position: relative; overflow: hidden; height: auto; }
3
+ .slide { position: absolute; left: 0; bottom: 0; }
4
+ .close_contentslidedown { display: none; }
skin/frontend/default/default/magazento/Contentslidedown/js/.DS_Store ADDED
Binary file
skin/frontend/default/default/magazento/Contentslidedown/js/slide.js ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ var $j = jQuery.noConflict();
2
+ $j(document).ready(function(){
3
+ $j('.slide_wrapper').each(function () {
4
+ var current = $j(this);
5
+ current.attr("box_h", current.height());
6
+
7
+ var closed_height = current.attr("closed_height") + "px";
8
+ current.css("height", closed_height);
9
+ }
10
+ );
11
+ });
12
+
13
+ function openSlide(id)
14
+ {
15
+ //$("#slide_" + id).css("height", "auto");
16
+ var open_height = $j("#slide_" + id).attr("box_h") + "px";
17
+ var slide_duration = $j("#slide_" + id).attr("duration");
18
+ $j("#slide_" + id).animate({"height": open_height}, {duration: slide_duration });
19
+ $j("#slide_" + id + " .slide").fadeOut();
20
+ //$j("#slide_" + id).next().hide(); // hides the keep reading block
21
+ $j("#contentslidedown_" + id + " .close_contentslidedown").fadeIn();
22
+ $j("#contentslidedown_" + id + " .readmore").addClass("open");
23
+ }
24
+
25
+ function closeSlide(id)
26
+ {
27
+ $j("#slide_" + id + " .slide").fadeIn();
28
+ var slide_duration = $j("#slide_" + id).attr("duration");
29
+ $j("#slide_" + id).animate({"height": "100px"}, {duration: slide_duration });
30
+ $j("#contentslidedown_" + id + " .close_contentslidedown").fadeOut();
31
+ $j("#contentslidedown_" + id + " .readmore").removeClass("open");
32
+ }
skin/frontend/default/default/magazento/Contentslidedown/promo.jpg ADDED
Binary file