image.xml
8.98 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
<?xml version="1.0"?>
<layout version="0.1.0">
<!-- in "meinem Benutzerkonto" wird ein weiterer link angezeigt, der über den Controller die neue seite anzeigt -->
<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>
</reference>
<reference name="head">
<action method="addJs"><script>Anc/Image/extlib/dropzone.js</script></action>
<action method="addCss"><stylesheet>css/anc/image/dropzone.css</stylesheet></action>
<action method="addJs"><script>Anc/Image/extlib/jquery.prettyPhoto.js</script></action>
<action method="addCss"><stylesheet>css/anc/image/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/image/dropzone.css</stylesheet></action>
<action method="addCss"><stylesheet>css/anc/lib/ancextension_type.css</stylesheet></action>
<action method="addCss"><stylesheet>css/anc/image/customer_galleriesmanager.css</stylesheet></action>
<action method="addCss"><stylesheet>css/anc/image/prettyPhoto.css</stylesheet></action>
<action method="addJs"><script>Anc/Image/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>
<!--jquery version problematik @since 20140828-->
<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>
</reference>
<reference name="product.info">
</reference>
<reference name="product.info.options">
<!-- @anc_image_eingabetyp -->
<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>
</reference>
</catalog_product_view>
<!-- for the @AncBundleproduct Extension and the sepcial catalog_product_subview @anc_image_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/Image/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.image" template="anc/image/manipulate_catalog_product_subview.phtml"/>
</reference>
<reference name="product.info">
</reference>
<reference name="product.info.options">
<!-- @anc_image_eingabetyp -->
<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>
</reference>
</catalog_product_subview>
<anc_image_customer_gallerysimple>
<reference name="head">
<action method="addJs"><script>Anc/Image/extlib/jquery.prettyPhoto.js</script></action>
</reference>
<reference name="content">
<block type="anc_image/galleriesmanager" name="anc_image_gallerysimple" template="anc/image/customer_gallerysimple.phtml" />
</reference>
</anc_image_customer_gallerysimple>
<anc_image_customer_showncimageform>
<reference name="head">
<!-- <action method="addCss"><stylesheet>css/anc/lib/ancextension_type.css</stylesheet></action>
<action method="addJs"><script>Anc/Image/Form.js</script></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/Image/extlib/dropzone.js</script></action>
<!--<action method="addJs"><script>Anc/Image/Form.js</script></action>-->
<action method="addJs"><script>Anc/Image/extlib/jquery.prettyPhoto.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>-->
<!--jquery version problematik @since 20140828-->
<!--<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_image/galleriesmanager" name="anc_image_showncimageform" template="anc/image/customer_showncimageform.phtml" />
</reference>
</anc_image_customer_showncimageform>
<!-- 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_image_customer_galleriesmanager>
<!-- einbindung von javascript und css -->
<reference name="head">
<action method="addCss"><stylesheet>css/anc/image/customer_galleriesmanager.css</stylesheet></action>
<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/Image/extlib/dropzone.js</script></action>
<action method="addJs"><script>Anc/Image/Type.js</script></action>
<action method="addJs"><script>Anc/Image/extlib/jquery.prettyPhoto.js</script></action>
<!--<action method="addJs"><script>Anc/Image/extlib/dropzone.js</script></action>-->
<!--<action method="addCss"><stylesheet>css/anc/image/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/image/customer_galleriesmanager.phtml liegen
-->
<block type="anc_image/galleriesmanager" name="anc_image_galleriesmanager" template="anc/image/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>
</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_image_customer_galleriesmanager>
</layout>