Narfstudios_ProductNavigation - Version 1.0.6

Version Notes

Add fix for double template output on product page

Download this release

Release Info

Developer Magento Core Team
Extension Narfstudios_ProductNavigation
Version 1.0.6
Comparing to
See all releases


Code changes from version 1.0.4 to 1.0.6

app/code/community/Narfstudios/ProductNavigation/Helper/.Data.php.swp ADDED
Binary file
app/code/community/Narfstudios/ProductNavigation/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Narfstudios_ProductNavigation>
5
- <version>1.0.3</version>
6
  </Narfstudios_ProductNavigation>
7
  </modules>
8
  <global>
2
  <config>
3
  <modules>
4
  <Narfstudios_ProductNavigation>
5
+ <version>1.0.6</version>
6
  </Narfstudios_ProductNavigation>
7
  </modules>
8
  <global>
app/design/frontend/base/default/layout/productnavigation.xml CHANGED
@@ -1,73 +1,72 @@
1
  <?xml version="1.0"?>
2
  <layout version="0.1.0">
3
  <catalog_product_view>
4
- <reference name="content">
5
- <block type="catalog/product_view" name="product.info" template="productnavigation/catalog/product/view.phtml">
6
- <action method="addReviewSummaryTemplate"><type>default</type><template>review/helper/summary.phtml</template></action>
7
- <action method="addReviewSummaryTemplate"><type>short</type><template>review/helper/summary_short.phtml</template></action>
8
- <action method="addReviewSummaryTemplate"><type>...</type><template>...</template></action>
9
 
10
  <block type="ProductNavigation/catalog_product_view" name="product.horizontal.navigation" as="horizontal_navigation" template="productnavigation/catalog/product/view/navigation.phtml"/>
11
- <block type="catalog/product_view_media" name="product.info.media" as="media" template="catalog/product/view/media.phtml"/>
12
- <block type="core/text_list" name="alert.urls" as="alert_urls" translate="label">
13
- <label>Alert Urls</label>
14
- </block>
15
 
16
- <action method="setTierPriceTemplate"><template>catalog/product/view/tierprices.phtml</template></action>
17
 
18
- <block type="catalog/product_list_upsell" name="product.info.upsell" as="upsell_products" template="catalog/product/list/upsell.phtml">
19
- <action method="setColumnCount"><columns>4</columns></action>
20
- <action method="setItemLimit"><type>upsell</type><limit>4</limit></action>
21
- </block>
22
 
23
- <block type="catalog/product_view_additional" name="product.info.additional" as="product_additional_data" />
24
- <block type="catalog/product_view_description" name="product.description" as="description" template="catalog/product/view/description.phtml">
25
- <action method="addToParentGroup"><group>detailed_info</group></action>
26
- </block>
27
- <block type="catalog/product_view_attributes" name="product.attributes" as="additional" template="catalog/product/view/attributes.phtml">
28
- <action method="addToParentGroup"><group>detailed_info</group></action>
29
- </block>
30
- <block type="catalog/product_view" name="product.info.addto" as="addto" template="catalog/product/view/addto.phtml"/>
31
- <block type="catalog/product_view" name="product.info.addtocart" as="addtocart" template="catalog/product/view/addtocart.phtml"/>
32
 
33
- <block type="core/text_list" name="product.info.extrahint" as="extrahint" translate="label">
34
- <label>Product View Extra Hint</label>
35
- </block>
36
 
37
- <block type="catalog/product_view" name="product.info.options.wrapper" as="product_options_wrapper" template="catalog/product/view/options/wrapper.phtml" translate="label">
38
- <label>Info Column Options Wrapper</label>
39
- <block type="core/template" name="options_js" template="catalog/product/view/options/js.phtml"/>
40
- <block type="catalog/product_view_options" name="product.info.options" as="product_options" template="catalog/product/view/options.phtml">
41
- <action method="addOptionRenderer"><type>text</type><block>catalog/product_view_options_type_text</block><template>catalog/product/view/options/type/text.phtml</template></action>
42
- <action method="addOptionRenderer"><type>file</type><block>catalog/product_view_options_type_file</block><template>catalog/product/view/options/type/file.phtml</template></action>
43
- <action method="addOptionRenderer"><type>select</type><block>catalog/product_view_options_type_select</block><template>catalog/product/view/options/type/select.phtml</template></action>
44
- <action method="addOptionRenderer"><type>date</type><block>catalog/product_view_options_type_date</block><template>catalog/product/view/options/type/date.phtml</template></action>
45
- </block>
46
- <block type="core/html_calendar" name="html_calendar" as="html_calendar" template="page/js/calendar.phtml"/>
47
- </block>
48
- <block type="catalog/product_view" name="product.info.options.wrapper.bottom" as="product_options_wrapper_bottom" template="catalog/product/view/options/wrapper/bottom.phtml" translate="label">
49
- <label>Bottom Block Options Wrapper</label>
50
- <action method="insert"><block>product.tierprices</block></action>
51
- <block type="catalog/product_view" name="product.clone_prices" as="prices" template="catalog/product/view/price_clone.phtml"/>
52
- <action method="append"><block>product.info.addtocart</block></action>
53
- <action method="append"><block>product.info.addto</block></action>
54
  </block>
 
 
 
 
 
 
 
55
 
56
- <block type="core/template_facade" name="product.info.container1" as="container1">
57
- <action method="setDataByKey"><key>alias_in_layout</key><value>container1</value></action>
58
- <action method="setDataByKeyFromRegistry"><key>options_container</key><key_in_registry>product</key_in_registry></action>
59
- <action method="append"><block>product.info.options.wrapper</block></action>
60
- <action method="append"><block>product.info.options.wrapper.bottom</block></action>
61
- </block>
62
- <block type="core/template_facade" name="product.info.container2" as="container2">
63
- <action method="setDataByKey"><key>alias_in_layout</key><value>container2</value></action>
64
- <action method="setDataByKeyFromRegistry"><key>options_container</key><key_in_registry>product</key_in_registry></action>
65
- <action method="append"><block>product.info.options.wrapper</block></action>
66
- <action method="append"><block>product.info.options.wrapper.bottom</block></action>
67
- </block>
68
- <action method="unsetCallChild"><child>container1</child><call>ifEquals</call><if>0</if><key>alias_in_layout</key><key>options_container</key></action>
69
- <action method="unsetCallChild"><child>container2</child><call>ifEquals</call><if>0</if><key>alias_in_layout</key><key>options_container</key></action>
70
- </block>
71
  </reference>
72
  </catalog_product_view>
73
  </layout>
1
  <?xml version="1.0"?>
2
  <layout version="0.1.0">
3
  <catalog_product_view>
4
+ <reference name="product.info">
5
+ <action method="setTemplate"><template>productnavigation/catalog/product/view.phtml</template></action>
6
+ <action method="addReviewSummaryTemplate"><type>default</type><template>review/helper/summary.phtml</template></action>
7
+ <action method="addReviewSummaryTemplate"><type>short</type><template>review/helper/summary_short.phtml</template></action>
8
+ <action method="addReviewSummaryTemplate"><type>...</type><template>...</template></action>
9
 
10
  <block type="ProductNavigation/catalog_product_view" name="product.horizontal.navigation" as="horizontal_navigation" template="productnavigation/catalog/product/view/navigation.phtml"/>
11
+ <block type="catalog/product_view_media" name="product.info.media" as="media" template="catalog/product/view/media.phtml"/>
12
+ <block type="core/text_list" name="alert.urls" as="alert_urls" translate="label">
13
+ <label>Alert Urls</label>
14
+ </block>
15
 
16
+ <action method="setTierPriceTemplate"><template>catalog/product/view/tierprices.phtml</template></action>
17
 
18
+ <block type="catalog/product_list_upsell" name="product.info.upsell" as="upsell_products" template="catalog/product/list/upsell.phtml">
19
+ <action method="setColumnCount"><columns>4</columns></action>
20
+ <action method="setItemLimit"><type>upsell</type><limit>4</limit></action>
21
+ </block>
22
 
23
+ <block type="catalog/product_view_additional" name="product.info.additional" as="product_additional_data" />
24
+ <block type="catalog/product_view_description" name="product.description" as="description" template="catalog/product/view/description.phtml">
25
+ <action method="addToParentGroup"><group>detailed_info</group></action>
26
+ </block>
27
+ <block type="catalog/product_view_attributes" name="product.attributes" as="additional" template="catalog/product/view/attributes.phtml">
28
+ <action method="addToParentGroup"><group>detailed_info</group></action>
29
+ </block>
30
+ <block type="catalog/product_view" name="product.info.addto" as="addto" template="catalog/product/view/addto.phtml"/>
31
+ <block type="catalog/product_view" name="product.info.addtocart" as="addtocart" template="catalog/product/view/addtocart.phtml"/>
32
 
33
+ <block type="core/text_list" name="product.info.extrahint" as="extrahint" translate="label">
34
+ <label>Product View Extra Hint</label>
35
+ </block>
36
 
37
+ <block type="catalog/product_view" name="product.info.options.wrapper" as="product_options_wrapper" template="catalog/product/view/options/wrapper.phtml" translate="label">
38
+ <label>Info Column Options Wrapper</label>
39
+ <block type="core/template" name="options_js" template="catalog/product/view/options/js.phtml"/>
40
+ <block type="catalog/product_view_options" name="product.info.options" as="product_options" template="catalog/product/view/options.phtml">
41
+ <action method="addOptionRenderer"><type>text</type><block>catalog/product_view_options_type_text</block><template>catalog/product/view/options/type/text.phtml</template></action>
42
+ <action method="addOptionRenderer"><type>file</type><block>catalog/product_view_options_type_file</block><template>catalog/product/view/options/type/file.phtml</template></action>
43
+ <action method="addOptionRenderer"><type>select</type><block>catalog/product_view_options_type_select</block><template>catalog/product/view/options/type/select.phtml</template></action>
44
+ <action method="addOptionRenderer"><type>date</type><block>catalog/product_view_options_type_date</block><template>catalog/product/view/options/type/date.phtml</template></action>
45
+ </block>
46
+ <block type="core/html_calendar" name="html_calendar" as="html_calendar" template="page/js/calendar.phtml"/>
 
 
 
 
 
 
 
47
  </block>
48
+ <block type="catalog/product_view" name="product.info.options.wrapper.bottom" as="product_options_wrapper_bottom" template="catalog/product/view/options/wrapper/bottom.phtml" translate="label">
49
+ <label>Bottom Block Options Wrapper</label>
50
+ <action method="insert"><block>product.tierprices</block></action>
51
+ <block type="catalog/product_view" name="product.clone_prices" as="prices" template="catalog/product/view/price_clone.phtml"/>
52
+ <action method="append"><block>product.info.addtocart</block></action>
53
+ <action method="append"><block>product.info.addto</block></action>
54
+ </block>
55
 
56
+ <block type="core/template_facade" name="product.info.container1" as="container1">
57
+ <action method="setDataByKey"><key>alias_in_layout</key><value>container1</value></action>
58
+ <action method="setDataByKeyFromRegistry"><key>options_container</key><key_in_registry>product</key_in_registry></action>
59
+ <action method="append"><block>product.info.options.wrapper</block></action>
60
+ <action method="append"><block>product.info.options.wrapper.bottom</block></action>
61
+ </block>
62
+ <block type="core/template_facade" name="product.info.container2" as="container2">
63
+ <action method="setDataByKey"><key>alias_in_layout</key><value>container2</value></action>
64
+ <action method="setDataByKeyFromRegistry"><key>options_container</key><key_in_registry>product</key_in_registry></action>
65
+ <action method="append"><block>product.info.options.wrapper</block></action>
66
+ <action method="append"><block>product.info.options.wrapper.bottom</block></action>
67
+ </block>
68
+ <action method="unsetCallChild"><child>container1</child><call>ifEquals</call><if>0</if><key>alias_in_layout</key><key>options_container</key></action>
69
+ <action method="unsetCallChild"><child>container2</child><call>ifEquals</call><if>0</if><key>alias_in_layout</key><key>options_container</key></action>
 
70
  </reference>
71
  </catalog_product_view>
72
  </layout>
app/etc/modules/Narfstudios_ProductNavigation.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Narfstudios_ProductNavigation>
5
- <version>1.0.3</version>
6
  <active>true</active>
7
  <codePool>community</codePool>
8
  <depends>
2
  <config>
3
  <modules>
4
  <Narfstudios_ProductNavigation>
5
+ <version>1.0.6</version>
6
  <active>true</active>
7
  <codePool>community</codePool>
8
  <depends>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Narfstudios_ProductNavigation</name>
4
- <version>1.0.4</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
@@ -28,11 +28,11 @@ Configure the templates if you want to change the look and the position of the n
28
  I do not see a navigation. What can I do?&#xD;
29
  Check if there is a file called sitemap-optimizer.xml in your sitemap folder&lt;/li&gt;&#xD;
30
  Check if the navigation templates are configured correctly</description>
31
- <notes>Fix with magento-core dependency</notes>
32
  <authors><author><name>Sven Haertwig</name><user>auto-converted</user><email>s.haertwig@narf-studios.de</email></author></authors>
33
  <date>2011-11-04</date>
34
- <time>09:11:38</time>
35
- <contents><target name="magecommunity"><dir name="Narfstudios"><dir name="ProductNavigation"><dir name="Block"><dir name="Catalog"><dir name="Product"><file name="View.php" hash="4ed771e64ed34bdfc9a68c2bceafd176"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="9cdd38284e9113332f02e4b6691db95c"/></dir><dir name="Model"><file name="Sitemap.php" hash="e23dd2009858f8e61b3b013c50aeda71"/></dir><dir name="etc"><file name="config.xml" hash="2ecd54bad7aac3a58dbe14e92ed3043f"/></dir></dir><dir name="Base"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Form"><file name="Fieldset.php" hash="610f581fb8b77c45b0ff399bada9255b"/></dir><file name="Form.php" hash="568924ddd2f6be037ec13a4b49b45cd6"/></dir></dir></dir></dir><dir name="Model"><file name="Feed.php" hash="a0cb6222f90df6b680a5ce78b57a67aa"/></dir><dir name="etc"><file name="config.xml" hash="1d12923f47c31c61df571009eb95f3ca"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="productnavigation"><dir name="catalog"><dir name="product"><dir name="view"><file name="navigation.phtml" hash="8150b686331b81d2575e59f10b9fd6fb"/></dir><file name="view.phtml" hash="cb6f5e8febbbc711fb8afb9b1522f9e3"/></dir></dir></dir></dir><dir name="layout"><file name="productnavigation.xml" hash="4abd2d15b99e58b3c0bc95c86dd5e8ee"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Narfstudios_ProductNavigation.xml" hash="b9558898a7a8c0e950906905266955e6"/><file name="Narfstudios_Base.xml" hash="27335eabd894339509cce33d5f99cae6"/></dir></target><target name="magelocale"><dir name="de_DE"><file name="Narfstudios_ProductNavigation.csv" hash="608581f26289881f61ff2464e057f384"/></dir><dir name="de_CH"><file name="Narfstudios_ProductNavigation.csv" hash="608581f26289881f61ff2464e057f384"/></dir><dir name="de_AT"><file name="Narfstudios_ProductNavigation.csv" hash="608581f26289881f61ff2464e057f384"/></dir></target></contents>
36
  <compatible/>
37
  <dependencies/>
38
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Narfstudios_ProductNavigation</name>
4
+ <version>1.0.6</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
28
  I do not see a navigation. What can I do?&#xD;
29
  Check if there is a file called sitemap-optimizer.xml in your sitemap folder&lt;/li&gt;&#xD;
30
  Check if the navigation templates are configured correctly</description>
31
+ <notes>Add fix for double template output on product page</notes>
32
  <authors><author><name>Sven Haertwig</name><user>auto-converted</user><email>s.haertwig@narf-studios.de</email></author></authors>
33
  <date>2011-11-04</date>
34
+ <time>13:45:43</time>
35
+ <contents><target name="magecommunity"><dir name="Narfstudios"><dir name="ProductNavigation"><dir name="Block"><dir name="Catalog"><dir name="Product"><file name="View.php" hash="4ed771e64ed34bdfc9a68c2bceafd176"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="9cdd38284e9113332f02e4b6691db95c"/><file name=".Data.php.swp" hash="428b36d04afc333dbb5d63c370477001"/></dir><dir name="Model"><file name="Sitemap.php" hash="e23dd2009858f8e61b3b013c50aeda71"/></dir><dir name="etc"><file name="config.xml" hash="5c137a26ece6e446d58d1734a230dec7"/></dir></dir><dir name="Base"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Form"><file name="Fieldset.php" hash="610f581fb8b77c45b0ff399bada9255b"/></dir><file name="Form.php" hash="568924ddd2f6be037ec13a4b49b45cd6"/></dir></dir></dir></dir><dir name="Model"><file name="Feed.php" hash="a0cb6222f90df6b680a5ce78b57a67aa"/></dir><dir name="etc"><file name="config.xml" hash="1d12923f47c31c61df571009eb95f3ca"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="productnavigation"><dir name="catalog"><dir name="product"><dir name="view"><file name="navigation.phtml" hash="8150b686331b81d2575e59f10b9fd6fb"/></dir><file name="view.phtml" hash="cb6f5e8febbbc711fb8afb9b1522f9e3"/></dir></dir></dir></dir><dir name="layout"><file name="productnavigation.xml" hash="5ef2370e679e0700e94eca216b5c9fc6"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Narfstudios_ProductNavigation.xml" hash="0c7200d60e2a0649d0379eacdadc8c4f"/><file name="Narfstudios_Base.xml" hash="27335eabd894339509cce33d5f99cae6"/></dir></target><target name="magelocale"><dir name="de_DE"><file name="Narfstudios_ProductNavigation.csv" hash="608581f26289881f61ff2464e057f384"/></dir><dir name="de_CH"><file name="Narfstudios_ProductNavigation.csv" hash="608581f26289881f61ff2464e057f384"/></dir><dir name="de_AT"><file name="Narfstudios_ProductNavigation.csv" hash="608581f26289881f61ff2464e057f384"/></dir></target></contents>
36
  <compatible/>
37
  <dependencies/>
38
  </package>