Version Notes
This is a stable version
Download this release
Release Info
Developer | Aheadgeeks |
Extension | Greenpackages_News_Blog |
Version | 0.1.3 |
Comparing to | |
See all releases |
Code changes from version 0.1.2 to 0.1.3
app/code/local/GreenPackages/News/etc/config.xml
CHANGED
@@ -59,6 +59,11 @@
|
|
59 |
<sort_order>0</sort_order>
|
60 |
<action>news/adminhtml_news</action>
|
61 |
</items>
|
|
|
|
|
|
|
|
|
|
|
62 |
</children>
|
63 |
</news>
|
64 |
</menu>
|
@@ -69,6 +74,17 @@
|
|
69 |
</all>
|
70 |
<admin>
|
71 |
<children>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
72 |
<GreenPackages_News>
|
73 |
<title>News Module</title>
|
74 |
<sort_order>10</sort_order>
|
@@ -131,4 +147,15 @@
|
|
131 |
</news>
|
132 |
</helpers>
|
133 |
</global>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
134 |
</config>
|
59 |
<sort_order>0</sort_order>
|
60 |
<action>news/adminhtml_news</action>
|
61 |
</items>
|
62 |
+
<manage_settings module="news">
|
63 |
+
<title>Manage Settings</title>
|
64 |
+
<sort_order>1</sort_order>
|
65 |
+
<action>adminhtml/system_config/edit/section/aheadgeeks_options</action>
|
66 |
+
</manage_settings>
|
67 |
</children>
|
68 |
</news>
|
69 |
</menu>
|
74 |
</all>
|
75 |
<admin>
|
76 |
<children>
|
77 |
+
<system>
|
78 |
+
<children>
|
79 |
+
<config>
|
80 |
+
<children>
|
81 |
+
<aheadgeeks_options>
|
82 |
+
<title>Convertware Settings</title>
|
83 |
+
</aheadgeeks_options>
|
84 |
+
</children>
|
85 |
+
</config>
|
86 |
+
</children>
|
87 |
+
</system>
|
88 |
<GreenPackages_News>
|
89 |
<title>News Module</title>
|
90 |
<sort_order>10</sort_order>
|
147 |
</news>
|
148 |
</helpers>
|
149 |
</global>
|
150 |
+
<default>
|
151 |
+
<aheadgeeks_options>
|
152 |
+
<settings>
|
153 |
+
<sidebar_show_left>1</sidebar_show_left>
|
154 |
+
<sidebar_show_right>0</sidebar_show_right>
|
155 |
+
<show_in_toplinks>1</show_in_toplinks>
|
156 |
+
<show_in_accountnavigation>1</show_in_accountnavigation>
|
157 |
+
</settings>
|
158 |
+
|
159 |
+
</aheadgeeks_options>
|
160 |
+
</default>
|
161 |
</config>
|
app/code/local/GreenPackages/News/etc/system.xml
ADDED
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<config>
|
2 |
+
<tabs>
|
3 |
+
<aheadgeeksconfig translate="label" module="news">
|
4 |
+
<label>aheadgeeks Settings</label>
|
5 |
+
<sort_order>100</sort_order>
|
6 |
+
</aheadgeeksconfig>
|
7 |
+
</tabs>
|
8 |
+
<sections>
|
9 |
+
<aheadgeeks_options translate="label" module="news">
|
10 |
+
<label>News Settings</label>
|
11 |
+
<tab>aheadgeeksconfig</tab>
|
12 |
+
<frontend_type>text</frontend_type>
|
13 |
+
<sort_order>100</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 |
+
<settings translate="label">
|
19 |
+
<label>News Settings</label>
|
20 |
+
<frontend_type>text</frontend_type>
|
21 |
+
<sort_order>1</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 |
+
<sidebar_show_left translate="label">
|
27 |
+
<label>Sidebar Show Left</label>
|
28 |
+
<frontend_type>select</frontend_type>
|
29 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
30 |
+
<sort_order>1</sort_order>
|
31 |
+
<show_in_default>1</show_in_default>
|
32 |
+
<show_in_website>0</show_in_website>
|
33 |
+
<show_in_store>0</show_in_store>
|
34 |
+
</sidebar_show_left>
|
35 |
+
<sidebar_show_right translate="label">
|
36 |
+
<label>Sidebar Show Right</label>
|
37 |
+
<frontend_type>select</frontend_type>
|
38 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
39 |
+
<sort_order>2</sort_order>
|
40 |
+
<show_in_default>1</show_in_default>
|
41 |
+
<show_in_website>0</show_in_website>
|
42 |
+
<show_in_store>0</show_in_store>
|
43 |
+
</sidebar_show_right>
|
44 |
+
<show_in_toplinks translate="label">
|
45 |
+
<label>Show In Top Links</label>
|
46 |
+
<frontend_type>select</frontend_type>
|
47 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
48 |
+
<sort_order>3</sort_order>
|
49 |
+
<show_in_default>1</show_in_default>
|
50 |
+
<show_in_website>0</show_in_website>
|
51 |
+
<show_in_store>0</show_in_store>
|
52 |
+
</show_in_toplinks>
|
53 |
+
<show_in_accountnavigation translate="label">
|
54 |
+
<label>Show In Customer Navigation</label>
|
55 |
+
<frontend_type>select</frontend_type>
|
56 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
57 |
+
<sort_order>4</sort_order>
|
58 |
+
<show_in_default>1</show_in_default>
|
59 |
+
<show_in_website>0</show_in_website>
|
60 |
+
<show_in_store>0</show_in_store>
|
61 |
+
</show_in_accountnavigation>
|
62 |
+
</fields>
|
63 |
+
</settings>
|
64 |
+
</groups>
|
65 |
+
</aheadgeeks_options>
|
66 |
+
</sections>
|
67 |
+
</config>
|
app/design/frontend/default/default/layout/news.xml
CHANGED
@@ -9,14 +9,21 @@
|
|
9 |
<action method="addCss"><stylesheet>greenpackages/news/news.css</stylesheet></action>
|
10 |
</reference>
|
11 |
<reference name="top.links">
|
12 |
-
<action method="addLink" translate="label" module="news"><name>News Blog</name><path>news/listado</path><label>News Blog</label><prepare>true</prepare></action>
|
13 |
</reference>
|
14 |
-
<reference name="left">
|
15 |
-
<block type="news/listado" name="news.left"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
</reference>
|
17 |
</default>
|
18 |
<news_listado_index>
|
19 |
-
|
20 |
<action method="setTitle" translate="title" module="news"><title>News Blog</title></action>
|
21 |
</reference>
|
22 |
<reference name="content">
|
@@ -31,4 +38,12 @@
|
|
31 |
<block type="news/detalle" name="news.detalle" template="news/detalle.phtml"/>
|
32 |
</reference>
|
33 |
</news_detalle_index>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
</layout>
|
9 |
<action method="addCss"><stylesheet>greenpackages/news/news.css</stylesheet></action>
|
10 |
</reference>
|
11 |
<reference name="top.links">
|
12 |
+
<action method="addLink" translate="label" module="news" ifconfig="aheadgeeks_options/settings/show_in_toplinks"><name>News Blog</name><path>news/listado</path><label>News Blog</label><prepare>true</prepare></action>
|
13 |
</reference>
|
14 |
+
<reference name="left" >
|
15 |
+
<block ifconfig="aheadgeeks_options/settings/sidebar_show" type="news/listado" name="news.left" >
|
16 |
+
<action method="setTemplate" ifconfig="aheadgeeks_options/settings/sidebar_show_left"><template>news/sidebar.phtml</template></action>
|
17 |
+
</block>
|
18 |
+
</reference>
|
19 |
+
<reference name="right" >
|
20 |
+
<block ifconfig="aheadgeeks_options/settings/sidebar_show" type="news/listado" name="news.right" >
|
21 |
+
<action method="setTemplate" ifconfig="aheadgeeks_options/settings/sidebar_show_right"><template>news/sidebar.phtml</template></action>
|
22 |
+
</block>
|
23 |
</reference>
|
24 |
</default>
|
25 |
<news_listado_index>
|
26 |
+
<reference name="head">
|
27 |
<action method="setTitle" translate="title" module="news"><title>News Blog</title></action>
|
28 |
</reference>
|
29 |
<reference name="content">
|
38 |
<block type="news/detalle" name="news.detalle" template="news/detalle.phtml"/>
|
39 |
</reference>
|
40 |
</news_detalle_index>
|
41 |
+
<customer_account>
|
42 |
+
<!-- Mage_Newsletter -->
|
43 |
+
<reference name="customer_account_navigation" >
|
44 |
+
<action method="addLink" translate="label" module="news" ifconfig="aheadgeeks_options/settings/show_in_accountnavigation"><name>news</name><path>news/listado/</path><label>News Blog</label></action>
|
45 |
+
</reference>
|
46 |
+
<remove name="news.left"/>
|
47 |
+
</customer_account>
|
48 |
+
|
49 |
</layout>
|
app/design/frontend/default/default/template/news/{left.phtml → sidebar.phtml}
RENAMED
File without changes
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Greenpackages_News_Blog</name>
|
4 |
-
<version>0.1.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
|
7 |
<channel>community</channel>
|
@@ -16,9 +16,9 @@ Features:
|
|
16 |
<notes>This is a stable version
|
17 |
</notes>
|
18 |
<authors><author><name>Aheadgeeks</name><user>aheadgeeks</user><email>support@magentogreenpackages.com</email></author></authors>
|
19 |
-
<date>2013-08-
|
20 |
-
<time>17:
|
21 |
-
<contents><target name="magelocal"><dir name="GreenPackages"><dir name="News"><dir name="Block"><dir name="Adminhtml"><dir name="News"><dir name="Edit"><file name="Form.php" hash="d02a858e968838d39ca5d3c93550a90e"/><dir name="Tab"><file name="Form.php" hash="b2daf4b2faeb59bdaa75eb2b11ad9e65"/></dir><file name="Tabs.php" hash="a3070c166fde08cd7c8a7e17a17fba65"/></dir><file name="Edit.php" hash="e2d93a33b583e94f4decdc05e744c2b4"/><file name="Grid.php" hash="e64ea03302404bc2f1bea45ba24f0f6b"/><dir name="Renderer"><file name="Image.php" hash="895665e01ae1ebe61e98574b1d5c0563"/></dir></dir><file name="News.php" hash="e4ef39ee8595110a1e98756d395ad3ae"/></dir><file name="Breadcrumbs.php" hash="4f0e85e5d6fd4371d4096b04c1c2c075"/><file name="Detalle.php" hash="8d4614543d61d34cd8c7c7298453b558"/><file name="Links.php" hash="7169d394fa4393e1d9f2a7242ad85eb2"/><file name="Listado.php" hash="c9741b475a22ca2d4203222e37cd166e"/><file name="News.php" hash="79c5546d975e3e7ceda22212566cc19a"/><file name="Toolbar.php" hash="b4b3274abd3457cbe721efa08ea93266"/></dir><dir name="Helper"><file name="Data.php" hash="5dd6eac5bb029501ca2ca47aa6b46f3e"/></dir><dir name="Model"><dir name="Mysql4"><dir name="News"><file name="Collection.php" hash="b7cf7322f417411388f30adad8d01a64"/></dir><file name="News.php" hash="1cef8dee339ee8e2ec9821a3e0f02697"/></dir><file name="News.php" hash="7e498f5067576f330c0cbce48e71c78e"/><file name="Status.php" hash="b1fd41246e165ff51b249d57a46f6708"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="NewsController.php" hash="0155b126bb570c1876984cbc88928917"/></dir><file name="DetalleController.php" hash="97f1ba1366df5030be59ad7fa5a836da"/><file name="ListadoController.php" hash="2e89ee76f9d33ba67f6bc59cf9dae9d5"/></dir><dir name="etc"><file name="config.xml" hash="
|
22 |
<compatible/>
|
23 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
24 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Greenpackages_News_Blog</name>
|
4 |
+
<version>0.1.3</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
|
7 |
<channel>community</channel>
|
16 |
<notes>This is a stable version
|
17 |
</notes>
|
18 |
<authors><author><name>Aheadgeeks</name><user>aheadgeeks</user><email>support@magentogreenpackages.com</email></author></authors>
|
19 |
+
<date>2013-08-15</date>
|
20 |
+
<time>17:11:10</time>
|
21 |
+
<contents><target name="magelocal"><dir name="GreenPackages"><dir name="News"><dir name="Block"><dir name="Adminhtml"><dir name="News"><dir name="Edit"><file name="Form.php" hash="d02a858e968838d39ca5d3c93550a90e"/><dir name="Tab"><file name="Form.php" hash="b2daf4b2faeb59bdaa75eb2b11ad9e65"/></dir><file name="Tabs.php" hash="a3070c166fde08cd7c8a7e17a17fba65"/></dir><file name="Edit.php" hash="e2d93a33b583e94f4decdc05e744c2b4"/><file name="Grid.php" hash="e64ea03302404bc2f1bea45ba24f0f6b"/><dir name="Renderer"><file name="Image.php" hash="895665e01ae1ebe61e98574b1d5c0563"/></dir></dir><file name="News.php" hash="e4ef39ee8595110a1e98756d395ad3ae"/></dir><file name="Breadcrumbs.php" hash="4f0e85e5d6fd4371d4096b04c1c2c075"/><file name="Detalle.php" hash="8d4614543d61d34cd8c7c7298453b558"/><file name="Links.php" hash="7169d394fa4393e1d9f2a7242ad85eb2"/><file name="Listado.php" hash="c9741b475a22ca2d4203222e37cd166e"/><file name="News.php" hash="79c5546d975e3e7ceda22212566cc19a"/><file name="Toolbar.php" hash="b4b3274abd3457cbe721efa08ea93266"/></dir><dir name="Helper"><file name="Data.php" hash="5dd6eac5bb029501ca2ca47aa6b46f3e"/></dir><dir name="Model"><dir name="Mysql4"><dir name="News"><file name="Collection.php" hash="b7cf7322f417411388f30adad8d01a64"/></dir><file name="News.php" hash="1cef8dee339ee8e2ec9821a3e0f02697"/></dir><file name="News.php" hash="7e498f5067576f330c0cbce48e71c78e"/><file name="Status.php" hash="b1fd41246e165ff51b249d57a46f6708"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="NewsController.php" hash="0155b126bb570c1876984cbc88928917"/></dir><file name="DetalleController.php" hash="97f1ba1366df5030be59ad7fa5a836da"/><file name="ListadoController.php" hash="2e89ee76f9d33ba67f6bc59cf9dae9d5"/></dir><dir name="etc"><file name="config.xml" hash="8382d68af5fc07777f727bf62421ebee"/><file name="system.xml" hash="d420ed92df340f2d856871f1fbbc66fa"/></dir><dir name="sql"><dir name="news_setup"><file name="mysql4-install-0.1.0.php" hash="608c85d42b4aea794e1bab4446a92b7b"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="GreenPackages_News.xml" hash="1a7af92d1616c6206f93d6cd96f0dbf9"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="news.xml" hash="67660e74ee5938d7329704ca837b1a03"/></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="news.xml" hash="58427aae248051f7c4c00eeeb0ed2a92"/></dir><dir name="template"><dir name="news"><file name="detalle.phtml" hash="0d3f0cf68eb9b7b4286dbf19ce1ef580"/><file name="listado.phtml" hash="d75c5e3e25c35c853374f56c854e730b"/><file name="sidebar.phtml" hash="70c181cfb983f1660e6030a6312e2681"/><file name="toolbar.phtml" hash="a169bbdf61685f5afcc327945909c766"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="greenpackages"><dir name="news"><file name="news.css" hash="221c9fe5a389bd694df3f5da4aed32fc"/></dir></dir></dir></dir></dir></target></contents>
|
22 |
<compatible/>
|
23 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
24 |
</package>
|