i am using 2 column left layout for contact us page i want to hide categories only from left side ! also i want to change URL of contacts to mycustom contact page URL thanks
1 Answer
1. How to remove block:
1.1. You can remove any block from page by block name
Find your block name. And update contacts.xml
layout for your theme
app/design/frontend/[your_package]/[your_theme]/layout/contacts.xml
Find the following section <contacts_index_index translate="label">
and add <remove name="[your_block_name]" />
where [your_block_name] is block name for your categories list.
1.2. Or add it to app/design/frontend/[your_package]/[your_theme]/layout/local.xml
<contacts_index_index>
<remove name="[your_block_name]" />
</contacts_index_index>
2. How to use custom url:
- In the Catalog menu click on URL Rewrite Management.
- Click the Add URL Rewrite button.
- Choose to add a Custom type.
- Enter "contacts" for ID Path and Target Path.
- Enter "contact-us" for the Request Path.
- Click the Save button.
-
Hi thanks Neklo (2) Worked but first removing block not working ! can i go through local.xml ?– ZubyCommented May 26, 2016 at 10:00
-