Help with simple change PLEASE, switch search box to left side how to

View: New views
2 Messages — Rating Filter:   Alert me  

Help with simple change PLEASE, switch search box to left side how to

by usmanaziz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi

I edit the tiles-config.xml to move the searchForm from the current right side to display on the left side.

I make the following changes in the tiles-config.xml:

 <!-- Front end layout for client part -->
    <definition name=".frontendLayout" path="/WEB-INF/pages/layouts/core/frontendLayout.jsp">
        <put name="titleKey" value="" />
        <put name="content" />
        <putList name="leftLayoutBlocksList" container="true" description="Left layout block list">
                <add value=".frontendSwitchLocaleForm" />
                        <add value=".frontend.menu" />
                        <add value=".searchForm" />
        </putList>
        <putList name="leftLayoutIndexedBlocksList" container="true" description="Left layout indexed block list">
                <add value=".frontend.indexedBlock" />
        </putList>
        <putList name="rightLayoutBlocksList" container="true" description="Right layout block list">
                    <add value=".frontendSwitchLocaleForm" />
            </putList>

I have removed the .searchForm entry from the rightLayoutBlocksList and put it in the leftLayoutBlocksList.

When I rebuild and run start-demo.bat the searchForm is still displayed on the right side of the page.
What am I doing wrong? What else do I have to do to get the searchForm to display on the left side above or below the menu? Please help.

Thank you in advance
Usman

Re: Help with simple change PLEASE, switch search box to left side how to

by Roman Puchkovskiy-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Try to go to Global Properties page and execute the 'Discard all changes
made to Tiles containers config through admin console.' operation.

usmanaziz writes:

> Hi
>
> I edit the tiles-config.xml to move the searchForm from the current right
> side to display on the left side.
>
> I make the following changes in the tiles-config.xml:
>
>  <!-- Front end layout for client part -->
>     <definition name=".frontendLayout"
> path="/WEB-INF/pages/layouts/core/frontendLayout.jsp">
>         <put name="titleKey" value="" />
>         <put name="content" />
>         <putList name="leftLayoutBlocksList" container="true"
> description="Left layout block list">
>        <add value=".frontendSwitchLocaleForm" />
> <add value=".frontend.menu" />
> <add value=".searchForm" />
>         </putList>
>         <putList name="leftLayoutIndexedBlocksList" container="true"
> description="Left layout indexed block list">
>        <add value=".frontend.indexedBlock" />
>         </putList>
>         <putList name="rightLayoutBlocksList" container="true"
> description="Right layout block list">

>    <add value=".frontendSwitchLocaleForm" />
>    </putList>
>
> I have removed the .searchForm entry from the rightLayoutBlocksList and put
> it in the leftLayoutBlocksList.
>
> When I rebuild and run start-demo.bat the searchForm is still displayed on
> the right side of the page.
> What am I doing wrong? What else do I have to do to get the searchForm to
> display on the left side above or below the menu? Please help.
>
> Thank you in advance
> Usman
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...