Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Left Blocks Position problem
 
ignition3d
Jr. Member
 
Total Posts:  12
Joined:  2012-10-05
Milano
 

mi scuso in anticipo per la stupida domanda… ma sono alle prime armi con magento.
come da immagine allegata, ho i blocchi a sinistra in questo ordine.

- il mio carrello
- confronta prodotti
- catalogo prodotti

io vorrei cambiare l\’ordine di visualizzazione così:

- catalogo prodotti
- il mio carrello
- confronta prodotti

su quale file .XML devo agire? e come li sposto?
non risco a farlo.

questa è una parte del codice che ho nel file “catalog.xml” (secondo me è qui che bisogna agire, ma non so dove mettere mani. ho paura di fare macelli)

<!-- Mage_Catalog -->
        <
reference name="top.menu">
            <
block type="catalog/navigation" name="catalog.topnav" template="catalog/navigation/top.phtml"/>
        </
reference>
        
        <
reference name="left">
            <
block type="catalog/product_compare_sidebar" name="catalog.compare.sidebar" template="catalog/product/compare/sidebar.phtml"/>
            <!--<
block type="core/template" name="left.permanent.callout" template="callouts/left_col.phtml">
                <
action method="setImgSrc"><src>images/media/col_left_callout.jpg</src></action>
                <
action method="setImgAlt" translate="alt" module="catalog"><alt>Our customer service is available 24/7. Call us at (555555-0123.</alt></action>
                <
action method="setLinkUrl"><url>checkout/cart</url></action>
            </
block>-->
        </
reference>
        <
reference name="right">
        </
reference>
        <
reference name="footer_links">
            <
action method="addLink" translate="label title" module="catalog" ifconfig="catalog/seo/site_map"><label>Site Map</label><url helper="catalog/map/getCategoryUrl" /><title>Site Map</title></action>
        </
reference>
        <
block type="catalog/product_price_template" name="catalog_product_price_template" />
    </default>


<!--
Category default layout
-->

    <
catalog_category_default translate="label">
        <
label>Catalog Category (Non-Anchor)</label>
        <
reference name="root">
            <
action method="setTemplate"><template>page/2columns-left.phtml</template></action>
        </
reference>
        <
reference name="left">
            <
block type="catalog/navigation" name="catalog.leftnav" after="currency" template="catalog/navigation/left.phtml"/>
            <
remove name="bestseller.vert.scroller.left"/>
        </
reference>
        <
reference name="content">
            <
block type="catalog/category_view" name="category.products" template="catalog/category/view.phtml">
                <
block type="catalog/product_list" name="product_list" template="catalog/product/list.phtml">
                    <
block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
                        <
block type="page/html_pager" name="product_list_toolbar_pager"/>
                        <!-- 
The following code shows how to set your own pager increments -->
                        <!--
                            <
action method="setDefaultListPerPage"><limit>4</limit></action>
                            <
action method="setDefaultGridPerPage"><limit>9</limit></action>
                            <
action method="addPagerLimit"><mode>list</mode><limit>2</limit></action>
                            <
action method="addPagerLimit"><mode>list</mode><limit>4</limit></action>
                            <
action method="addPagerLimit"><mode>list</mode><limit>6</limit></action>
                            <
action method="addPagerLimit"><mode>list</mode><limit>8</limit></action>
                            <
action method="addPagerLimit" translate="label"><mode>list</mode><limit>all</limit><label>All</label></action>
                        -->
                    </
block>
                    <
action method="addColumnCountLayoutDepend"><layout>empty</layout><count>6</count></action>
                    <
action method="addColumnCountLayoutDepend"><layout>one_column</layout><count>5</count></action>
                    <
action method="addColumnCountLayoutDepend"><layout>two_columns_left</layout><count>4</count></action>
                    <
action method="addColumnCountLayoutDepend"><layout>two_columns_right</layout><count>4</count></action>
                    <
action method="addColumnCountLayoutDepend"><layout>three_columns</layout><count>3</count></action>
                    <
action method="setToolbarBlockName"><name>product_list_toolbar</name></action>
                </
block>
            </
block>
        </
reference>
    </
catalog_category_default>

grazie per l’aiuto.

Image Attachments
left.jpg
 
Magento Community Magento Community
Magento Community
Magento Community
 
MagikSwapna
Sr. Member
 
Total Posts:  97
Joined:  2010-12-14
 

Hello,

Find <block type="catalog/navigation" name="catalog.leftnav" after="currency" template="catalog/navigation/left.phtml"/> under
<reference name="left">---</reference> and replace it with
<block type="catalog/navigation" name="catalog.leftnav" before="-" template="catalog/navigation/left.phtml"/>
Hope this will solve your problem.

 
Magento Community Magento Community
Magento Community
Magento Community
 
ignition3d
Jr. Member
 
Total Posts:  12
Joined:  2012-10-05
Milano
 
MagikSwapna - 04 November 2012 08:08 PM

Hello,

Find <block type="catalog/navigation" name="catalog.leftnav" after="currency" template="catalog/navigation/left.phtml"/> under
<reference name="left">---</reference> and replace it with
<block type="catalog/navigation" name="catalog.leftnav" before="-" template="catalog/navigation/left.phtml"/>
Hope this will solve your problem.

thank you very much for help.
I edited two different files writing this code (before:"-")

- catalog.xml
- verticalmenu.xml

This is becouse I installed an extension.

thanks
Fausto

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top