text_1.xml 9.4 KB
<?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>-->		
            <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>-->			
			
		</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_text/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_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/text/dropzone.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>		-->
		</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>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_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>		
			<!--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/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>