text.xml
9.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
<?xml version="1.0"?>
<layout version="0.1.0">
<!-- for the @AncBundleproduct Extension and the sepcial catalog_product_subview @anc_text_eingabetyp -->
<catalog_product_subview translate="label">
<reference name="head">
<action method="addCss"><stylesheet>css/anc/lib/ancextension_type.css</stylesheet></action>
<!--<action method="addCss"><stylesheet>css/anc/image/dropzone.css</stylesheet></action>-->
<!--<action method="addCss"><stylesheet>css/anc/image/prettyPhoto.css</stylesheet></action>-->
<action method="addJs"><script>Anc/Text/Type.js</script></action>
<!-- <action method="addJs"><script>Anc/Image/extlib/dropzone.js</script></action>
<action method="addJs"><script>Anc/Image/extlib/jquery.prettyPhoto.js</script></action>
<action method="addJs"><script>Anc/Lib/croppic/croppic.min.js</script></action>
<action method="addJs"><script>Anc/Lib/Croppic.js</script></action> -->
</reference>
<reference name="content">
<block type="core/template" name="product.subview.text" template="anc/text/manipulate_catalog_product_subview.phtml"/>
</reference>
<reference name="product.info">
</reference>
<reference name="product.info.options">
<!-- @anc_text_eingabetyp -->
<action method="addOptionRenderer">
<type>anctext</type>
<block>anc_text/catalog_product_view_options_type_anctext</block>
<template>anc/text/catalog/product/view/options/type/anctext.phtml</template>
</action>
<action method="addOptionRenderer">
<type>ancimage</type>
<block>anc_image/catalog_product_view_options_type_ancimage</block>
<template>anc/image/catalog/product/view/options/type/ancimage.phtml</template>
</action>
<!-- <action method="addOptionRenderer">
<type>ancaddressimport</type>
<block>anc_addressimport/catalog_product_view_options_type_ancaddressimport</block>
<template>anc/addressimport/catalog/product/view/options/type/ancaddressimport.phtml</template>
</action>
<action method="addOptionRenderer">
<type>ancplaylist</type>
<block>anc_playlist/catalog_product_view_options_type_ancplaylist</block>
<template>anc/playlist/catalog/product/view/options/type/ancplaylist.phtml</template>
</action> -->
</reference>
</catalog_product_subview>
<customer_account>
<reference name="customer_account_navigation">
<!--<action method="addLink"><name>galleriesmanager</name><path>ancimage/customer/galleriesmanager</path><label>Verwalten Sie Ihre Bilder</label><urlParams /></action>-->
<action method="addLink"><name>galleriestextmanager</name><path>anctext/customer/galleriesmanager</path><label>Verwalten Sie Ihre Texte</label><urlParams /></action>
</reference>
<reference name="head">
<!-- <action method="addJs"><script>Anc/Text/extlib/dropzone.js</script></action>
<action method="addCss"><stylesheet>css/anc/text/dropzone.css</stylesheet></action>
<action method="addJs"><script>Anc/Text/extlib/jquery.prettyPhoto.js</script></action>
<action method="addCss"><stylesheet>css/anc/text/prettyPhoto.css</stylesheet></action> -->
</reference>
<reference name="right"></reference>
</customer_account>
<catalog_product_view translate="label">
<reference name="head">
<action method="addCss"><stylesheet>css/anc/text/dropzone.css</stylesheet></action>
<action method="addCss"><stylesheet>css/anc/lib/ancextension_type.css</stylesheet></action>
<action method="addCss"><stylesheet>css/anc/text/customer_galleriesmanager.css</stylesheet></action>
<!--<action method="addCss"><stylesheet>css/anc/text/prettyPhoto.css</stylesheet></action>-->
<action method="addJs"><script>Anc/Text/Type.js</script></action>
<!--<action method="addJs"><script>Anc/Text/extlib/dropzone.js</script></action>-->
<!--<action method="addJs"><script>Anc/Text/extlib/jquery.prettyPhoto.js</script></action>-->
<!--<action method="addJs"><script>Anc/Lib/croppic/croppic.min.js</script></action>-->
<!--<action method="addJs"><script>Anc/Lib/Croppic.js</script></action>-->
<!--<action method="addCss"><stylesheet>css/anc/lib/croppic/croppic.css</stylesheet></action>-->
<action method="addJs"><script>Anc/Text/tinymce/js/tinymce/tinymce.min.js</script></action>
</reference>
<reference name="product.info">
</reference>
<reference name="product.info.options">
<!-- @anc_text_eingabetyp -->
<action method="addOptionRenderer">
<type>anctext</type>
<block>anc_text/catalog_product_view_options_type_anctext</block>
<template>anc/text/catalog/product/view/options/type/anctext.phtml</template>
</action>
</reference>
</catalog_product_view>
<anc_text_customer_gallerysimple>
<reference name="head">
<action method="addJs"><script>Anc/Text/extlib/jquery.prettyPhoto.js</script></action>
</reference>
<reference name="content">
<block type="anc_text/galleriesmanager" name="anc_text_gallerysimple" template="anc/text/customer_gallerysimple.phtml" />
</reference>
</anc_text_customer_gallerysimple>
<anc_text_customer_shownctextform>
<reference name="head">
<action method="addCss"><stylesheet>css/anc/lib/ancextension_type.css</stylesheet></action>
<!--<action method="addJs"><script>Anc/Text/Form.js</script></action>-->
<action method="addCss"><stylesheet>css/anc/text/dropzone.css</stylesheet></action>
<action method="addCss"><stylesheet>css/anc/text/prettyPhoto.css</stylesheet></action>
<action method="addJs"><script>Anc/Text/extlib/dropzone.js</script></action>
<!--<action method="addJs"><script>Anc/Text/Form.js</script></action>-->
<action method="addJs"><script>Anc/Text/extlib/jquery.prettyPhoto.js</script></action>
<action method="addJs"><script>Anc/Text/tinymce/js/tinymce/tinymce.min.js</script></action>
<!--notwendig für einzelansicht nicht aber wenn ajaxmaessig geladen wird-->
<!--<action method="removeItem"><type>js</type><name>jquery/jquery-2.0.2.min.js</name></action>-->
<!--<action method="removeItem"><type>js</type><name>jquery/jqueryui/jquery-ui.min.js</name></action>-->
<!--<action method="removeItem"><type>js</type><name>Anc/Printconfigproduct/tinymce/js/tinymce/tinymce.min.js</name></action>-->
</reference>
<reference name="content">
<block type="anc_text/galleriesmanager" name="anc_text_shownctextform" template="anc/text/customer_shownctextform.phtml" />
</reference>
</anc_text_customer_shownctextform>
<!-- Kürzel_extensionname_contraller_funcion bzw module_controller_action
die controller funktion muss kleingeschrieben sein, nur das A von Action muss groß
Ansicht wird konfiguriert -->
<anc_text_customer_galleriesmanager>
<!-- einbindung von javascript und css -->
<reference name="head">
<action method="addCss"><stylesheet>css/anc/text/customer_galleriesmanager.css</stylesheet></action>
<action method="addCss"><stylesheet>css/anc/lib/ancextension_type.css</stylesheet></action>
<action method="addCss"><stylesheet>css/anc/text/dropzone.css</stylesheet></action>
<action method="addCss"><stylesheet>css/anc/text/prettyPhoto.css</stylesheet></action>
<action method="addJs"><script>Anc/Text/extlib/dropzone.js</script></action>
<action method="addJs"><script>Anc/Text/Type.js</script></action>
<action method="addJs"><script>Anc/Text/extlib/jquery.prettyPhoto.js</script></action>
<action method="addJs"><script>Anc/Text/tinymce/js/tinymce/tinymce.min.js</script></action>
<!--<action method="addJs"><script>Anc/Text/extlib/dropzone.js</script></action>-->
<!--<action method="addCss"><stylesheet>css/anc/text/dropzone.css</stylesheet></action>-->
</reference>
<!-- einbindung des templates -->
<reference name="content">
<!--
type: module/block klasse
name: derzeit egal, so lange (wie gerade der fall) nicht zB mit getChildHtml aufgerufen wird
template: /var/www/Magento/Magento18/app/design/frontend/base/default/template/anc/text/customer_galleriesmanager.phtml liegen
-->
<block type="anc_text/galleriesmanager" name="anc_text_galleriesmanager" template="anc/text/customer_galleriesmanager.phtml" />
</reference>
<reference name="right">
<!--<action method="insert"><name>customer_account_navigation</name></action>-->
<block type="customer/account_navigation" name="customer_account_navigation" before="-" template="customer/account/navigation.phtml">
<action method="addLink" translate="label" module="customer"><name>account</name><path>customer/account/</path><label>Account Dashboard</label></action>
<action method="addLink" translate="label" module="customer"><name>account_edit</name><path>customer/account/edit/</path><label>Account Information</label></action>
<action method="addLink" translate="label" module="customer"><name>address_book</name><path>customer/address/</path><label>Address Book</label></action>
<action method="addLink" translate="label" module="sales"><name>orders</name><path>sales/order/history/</path><label>My Orders</label></action>
<!-- <action method="addLink"><name>galleriesmanager</name><path>ancimage/customer/galleriesmanager</path><label>Verwalten Sie Ihre Bilder</label><urlParams /></action>-->
<action method="addLink"><name>galleriestextmanager</name><path>anctext/customer/galleriesmanager</path><label>Verwalten Sie Ihre Texte</label><urlParams /></action>
</block>
<action method="unsetChild"><name>cart_sidebar</name></action>
<action method="unsetChild"><name>right.reports.product.viewed</name></action>
<remove name="right.poll" />
<remove name="sale.reorder.sidebar" />
<remove name="wishlist_sidebar" />
<action method="unsetChild"><name>right.reports.product.compared</name></action>
<action method="unsetChild"><name>right.permanent.callout</name></action>
</reference>
</anc_text_customer_galleriesmanager>
</layout>