Takeoutdinner
asked on
Magento Redirection -Category>Contact Us to Footer's Contact Us
Hi experts,
I have installed Magento Trial version and am porting our application there.
How can I set Redirection of Category>Contact Us to Footer's Contact Us?
I think it might be in Admin Panel.
Thanks,
I have installed Magento Trial version and am porting our application there.
How can I set Redirection of Category>Contact Us to Footer's Contact Us?
I think it might be in Admin Panel.
Thanks,
ASKER
Hi,
When I click "Contact Us" tab which is generated "Categories", it goes to "http://patti.oncmc.net/index.php/contact-us-1.html". But I want to redirect this to "http://patti.oncmc.net/index.php/contacts/".
How can I do this?
Thanks,
When I click "Contact Us" tab which is generated "Categories", it goes to "http://patti.oncmc.net/index.php/contact-us-1.html". But I want to redirect this to "http://patti.oncmc.net/index.php/contacts/".
How can I do this?
Thanks,
Do a url rewrite like I posted earlier.
Here is documentation for it: http://www.magentocommerce.com/wiki/modules_reference/english/mage_adminhtml/urlrewrite/index
ASKER
Hi,
1. Catalog>Manage Categories>Contact Us>URL key>enter "conatcts">Save
2. Click Contact Us tab
Then it goes "http://patti.oncmc.net/index.php/contacts.html/". But I need to go "http://patti.oncmc.net/index.php/contacts/" - NO ".html" required.
Please advise me.
Thanks,
1. Catalog>Manage Categories>Contact Us>URL key>enter "conatcts">Save
2. Click Contact Us tab
Then it goes "http://patti.oncmc.net/index.php/contacts.html/". But I need to go "http://patti.oncmc.net/index.php/contacts/" - NO ".html" required.
Please advise me.
Thanks,
Hey,
Actually adding a url rewrite will not work because you are setting up the navigation item as a category.
What you can do is just add a link into the top nav template that points to the contacts page.
Edit /app/design/frontend/{your package}/{your theme}/catalog/navigation/ top.phtml
and add a "li" item for the contacts link.
Actually adding a url rewrite will not work because you are setting up the navigation item as a category.
What you can do is just add a link into the top nav template that points to the contacts page.
Edit /app/design/frontend/{your
and add a "li" item for the contacts link.
ASKER
Hi,
I am a beginner of Magento. I added <li></li> codes as below from top.phtml of "\app\design\frontend\base \default\t emplate\ca talog\navi gation".
But I cannot see Contact Us link on the screen. Please advise me what I need to do next.
<div class="nav-container">
<ul id="nav">
<?php echo $_menu ?>
<li>
<a href="~/index.php/contacts /">Contact Us </a>
</li>
</ul>
</div>
I am a beginner of Magento. I added <li></li> codes as below from top.phtml of "\app\design\frontend\base
But I cannot see Contact Us link on the screen. Please advise me what I need to do next.
<div class="nav-container">
<ul id="nav">
<?php echo $_menu ?>
<li>
<a href="~/index.php/contacts
</li>
</ul>
</div>
1. What are your template settings. which theme are you using?
2. Which file did you edit. please include the whole path. this should be dependent on your theme settings.
3. your url is incorrect. it should be "/contacts"
2. Which file did you edit. please include the whole path. this should be dependent on your theme settings.
3. your url is incorrect. it should be "/contacts"
ASKER
1. Theme: I have English, French, and Korean. <li><a href="contacts/">Contact Us </a></li> shows in French and Korean, but not in English.
How can I correct it?
2. website\\app\design\fronte nd\base\de fault\temp late\catal og\navigat ion\top.ph tml
3. "/contacts" ==> Thanks
How can I correct it?
2. website\\app\design\fronte
3. "/contacts" ==> Thanks
1. Those are your locals not themes.
In Admin -> System -> Configuration -> Design (tab), is wehere you would see your design and theme setup.
If you have not changed this them it is using base/default.
If you have not changed the theme/design paths then you are editing the correct file. Do you have caching enabled? Did you clear the cache if it is enabled?
IF all else fails you can enable template hints to display the file path being used for the top nav.
Admin -> system-> config -> developer (tab at very bottom of page). Them change the "Current Configuration Scope" to the store you are looking at. Then in the Debug box set "template path hints to yes and refresh the frontend. Now you will see the template paths for each part of the page. Ensure that you are editing the file that is shown.
In Admin -> System -> Configuration -> Design (tab), is wehere you would see your design and theme setup.
If you have not changed this them it is using base/default.
If you have not changed the theme/design paths then you are editing the correct file. Do you have caching enabled? Did you clear the cache if it is enabled?
IF all else fails you can enable template hints to display the file path being used for the top nav.
Admin -> system-> config -> developer (tab at very bottom of page). Them change the "Current Configuration Scope" to the store you are looking at. Then in the Debug box set "template path hints to yes and refresh the frontend. Now you will see the template paths for each part of the page. Ensure that you are editing the file that is shown.
ASKER
Hi,
Thank you so much for your kind advices. It works fine.
I have a few other questions as follows: If you are willing to advise continuously, I will add point. Please advise me if you are willing to or not.
My next questions will be left/right column management:
1. How can I bring new added tag for customer view
2. How can I hide/view contents (Popular Tags, NewsLetter, image, etc.)
Thanks
Thank you so much for your kind advices. It works fine.
I have a few other questions as follows: If you are willing to advise continuously, I will add point. Please advise me if you are willing to or not.
My next questions will be left/right column management:
1. How can I bring new added tag for customer view
2. How can I hide/view contents (Popular Tags, NewsLetter, image, etc.)
Thanks
ASKER
And Update Footer are's link information
ASKER
Hi,
Thank you so much for your kind advices. It works fine.
I have a few other questions as follows: If you are willing to advise continuously, I will add point. Please advise me if you are willing to or not.
My next questions will be left/right column management:
1. How can I bring new added tag for customer view
2. How can I hide/view contents (Popular Tags, NewsLetter, image, etc.)
3. Update (Add/Delete/change) Footer area's link data
Thanks
Thank you so much for your kind advices. It works fine.
I have a few other questions as follows: If you are willing to advise continuously, I will add point. Please advise me if you are willing to or not.
My next questions will be left/right column management:
1. How can I bring new added tag for customer view
2. How can I hide/view contents (Popular Tags, NewsLetter, image, etc.)
3. Update (Add/Delete/change) Footer area's link data
Thanks
in the app/design/frontend/{your design}/{your theme}/layouts folder there are xml files that control this.
1. I am not clear what you are asking/want to do.
2.
tag.xml - Comment out this code to hide. change left to right to change the side is shows on.
newsletter.xml
The others are the same. find the file controlling it and make any edits needed.
1. I am not clear what you are asking/want to do.
2.
tag.xml - Comment out this code to hide. change left to right to change the side is shows on.
<reference name="left">
<block type="tag/popular" name="tags_popular" template="tag/popular.phtml"/>
</reference>
newsletter.xml
<default>
<!-- Mage_Newsletter -->
<reference name="left">
<block type="newsletter/subscribe" name="left.newsletter" template="newsletter/subscribe.phtml"/>
</reference>
</default>
The others are the same. find the file controlling it and make any edits needed.
For the footer. search the layout xml files for "footer_links". this is how new links are added. You can comment this out to remove the link.
the example below is from the catalog.xml file.
the example below is from the catalog.xml file.
<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>
ASKER
Thank you for continuous advices. I increased 50 points.
Let's do it one by one.
A. Footer Link
There are
About UsCustomer Service
Site MapSearch TermsAdvanced SearchContact Us
Help Us to Keep Magento Healthy - Report All Bugs (ver. 1.5.0.1)
© 2011 CMC-PATTI Publishing. All Rights Reserved..
1. ABout Us - I want to change redirect value. It was "/about-magento-demo-store ". But I want to change it to "/about-us" which I new generated Page
2. Contact Us - I want to remove this menu from footer_links.
3. Help Us to Keep Magento Healthy - Report All Bugs (ver. 1.5.0.1) - I want to change this contents.
Thanks,
Let's do it one by one.
A. Footer Link
There are
About UsCustomer Service
Site MapSearch TermsAdvanced SearchContact Us
Help Us to Keep Magento Healthy - Report All Bugs (ver. 1.5.0.1)
© 2011 CMC-PATTI Publishing. All Rights Reserved..
1. ABout Us - I want to change redirect value. It was "/about-magento-demo-store
2. Contact Us - I want to remove this menu from footer_links.
3. Help Us to Keep Magento Healthy - Report All Bugs (ver. 1.5.0.1) - I want to change this contents.
Thanks,
1. Edit Admin -> CMS Blocks -> Footer Links
2. in /app/design/frontend/{your package}/{your theme}/layout/contacts.xml remove the code below.
3. this is in /app/design/frontend/{your package}/{your theme}/template/page/html/ footer.pht ml
2. in /app/design/frontend/{your
<default>
<reference name="footer_links">
<action method="addLink" translate="label title" module="contacts" ifconfig="contacts/contacts/enabled"><label>Contact Us</label><url>contacts</url><title>Contact Us</title><prepare>true</prepare></action>
</reference>
</default>
3. this is in /app/design/frontend/{your
ASKER
Good morning! Thank you for coming again!
Where is "Edit Admin -> CMS Blocks -> Footer Links"?
Thanks,
Where is "Edit Admin -> CMS Blocks -> Footer Links"?
Thanks,
Log into the admin and Go to CMS Blocks. IT is a navigation item.
ASKER
Hi there,
1: okay
2 & 3: Even though I changed it in codes (contacts.xml, footer.phtml ), but it doesn't change the screen.
Any thought?
Thanks,
1: okay
2 & 3: Even though I changed it in codes (contacts.xml, footer.phtml ), but it doesn't change the screen.
Any thought?
Thanks,
1. Disable cache if it is enabled(at least while developing)
2. turn template hints back on and make sure you are editing the correct files. remember there are multiple duplicate files in different theme folders. If you are editing the wrong theme then It will not change anything.
Those would be the two things to check.
2. turn template hints back on and make sure you are editing the correct files. remember there are multiple duplicate files in different theme folders. If you are editing the wrong theme then It will not change anything.
Those would be the two things to check.
ASKER
Hi,
1 & 3 are fine.
2: I changed it(contacts.xml) like follows. So I expect its display "Contact Usa" or "Contact Usb" or "Contact Usc" if it is right one. But it still displays "Contact Us". Please advise me.
<layout version="0.1.0">
<default>
<reference name="footer_links">
<action method="addLink" translate="label title" module="contacts" ifconfig="contacts/contact s/enabled" ><label>Co ntact Usa</label><url>contacts</ url><title >Contact Usb</title><prepare>true</ prepare></ action>
</reference>
</default>
<contacts_index_index translate="label">
<label>Contact Us Form</label>
<reference name="root">
<action method="setTemplate"><temp late>page/ 2columns-r ight.phtml </template ></action>
<action method="setHeaderTitle" translate="title" module="contacts"><title>C ontact Usc</title></action>
</reference>
<reference name="content">
<block type="core/template" name="contactForm" template="contacts/form.ph tml"/>
</reference>
</contacts_index_index>
</layout>
1 & 3 are fine.
2: I changed it(contacts.xml) like follows. So I expect its display "Contact Usa" or "Contact Usb" or "Contact Usc" if it is right one. But it still displays "Contact Us". Please advise me.
<layout version="0.1.0">
<default>
<reference name="footer_links">
<action method="addLink" translate="label title" module="contacts" ifconfig="contacts/contact
</reference>
</default>
<contacts_index_index translate="label">
<label>Contact Us Form</label>
<reference name="root">
<action method="setTemplate"><temp
<action method="setHeaderTitle" translate="title" module="contacts"><title>C
</reference>
<reference name="content">
<block type="core/template" name="contactForm" template="contacts/form.ph
</reference>
</contacts_index_index>
</layout>
1. When you turned you template path hints what was the path that the template files are pulled from?
2. What is the path of the contacts.xml file you are editing?
And finally you only need to edit the code in this portion of the xml. the rest is for other things
2. What is the path of the contacts.xml file you are editing?
And finally you only need to edit the code in this portion of the xml. the rest is for other things
<reference name="footer_links">
<action method="addLink" translate="label title" module="contacts" ifconfig="contacts/contacts/enabled"><label>Contact Usa</label><url>contacts</url><title>Contact Usb</title><prepare>true</prepare></action>
</reference>
ASKER
Hi,
I will do contacts.xml management later.
My next question is I use Cusom Options. For this, I add "A', "B", "Other" Radio Buttons. When I choose "Other", I want to use Text Field for "Other" description. How can I do it?
Thanks,
I will do contacts.xml management later.
My next question is I use Cusom Options. For this, I add "A', "B", "Other" Radio Buttons. When I choose "Other", I want to use Text Field for "Other" description. How can I do it?
Thanks,
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Ok, Thanks.
Hey, Post a link here and I will Take a look at it.
One Note Regarding:
This will probably be tricky. I am not familiar with any built in magento functionality that will allow this(radio btns and a free text field). You will probably need to do quite a bit of custom code to accomplish this. If this functionality is required then you may want to seek out a developer.
One Note Regarding:
My next question is I use Custom Options. For this, I add "A', "B", "Other" Radio Buttons. When I choose "Other", I want to use Text Field for "Other" description. How can I do it?
This will probably be tricky. I am not familiar with any built in magento functionality that will allow this(radio btns and a free text field). You will probably need to do quite a bit of custom code to accomplish this. If this functionality is required then you may want to seek out a developer.
If this is not what you are looking for, please be more clear as-to what exactly you are trying to do/change.