I’m trying to work with JM Anion but I’m getting very fustrated.
First, I want to change the titles of JM Tabs (Popular and Latest). I went to the app\design\frontend\default\jm_anion\layout/jmtabs.xml and replace the <title>Popular</title> and <title>Latest</title> for the ones I wanted to use. I save the file jmtabs.xml and then refresh the home page. Nothing happens. The titles of Popular and Latest remain there. Is there any other place I should look for to replace these titles?.
Second, I want to change the titles of the Main Menu navigation. I went to app\design\frontend\default\jm_aniontemplate\cata lognavigation/top.phtml and around line 165 replace the code for "Home" to
<a href="<?php echo $this->getUrl(”) ?>" title="Inicio"><span>Inicio</span></a>
On line 172 I replaced "Anion’s Color" for
<a href="#" onmouseout="toggleMenu(this,0)" onmouseover="toggleMenu(this,1)"><span>Contactar</span></a>
I did the same changes on lines 188 and 195.
Then I save the file "top.phtml" and I refresh the home page and nothing changes in the main menu. Is there someplace else I should look for to change the main menu items?. Please, help.
Also, how do I specify the URL relative path of an internal Magento link?. I mean, I I want to create a main menu item and I want to link this menu item with a specific page, how do I write the relative path? I Joomla I know it starts with index.php?
Thank you.
7 answers
I’m trying to work with JM Anion but I’m getting very fustrated.
First, I want to change the titles of JM Tabs (Popular and Latest). I went to the app\design\frontend\default\jm_anion\layout/jmtabs.xml and replace the <title>Popular</title> and <title>Latest</title> for the ones I wanted to use. I save the file jmtabs.xml and then refresh the home page. Nothing happens. The titles of Popular and Latest remain there. Is there any other place I should look for to replace these titles?.
Are you making sure to clear both your Magento cache and your browser cache?
Second, I want to change the titles of the Main Menu navigation. Is there someplace else I should look for to change the main menu items?. Please, help.
Perhaps this may help . . .
Also, how do I specify the URL relative path of an internal Magento link?. I mean, I I want to create a main menu item and I want to link this menu item with a specific page, how do I write the relative path? I Joomla I know it starts with index.php?
Thank you.
Perhaps the information wihtin THIS THREAD might assist with this this issue.
TomC,
Thank you. That was the issue. I had to flush Magento cache to make it work.
I did try the static block method before to create a main menu item and didn’t work, but this time it did and I believe it is for the same reason as above (clear Magento cache).
I believe the answer to the third point is not really what I was asking for. I believe URL rewrites are mainly for SEF, which is good. What I’m looking for is if there is a Magento’s naming standard for a relative path.
Products and categories can be pointed through the Target Path or use a URL rewrite.
Static blocks are called by their identifier.
Pages can be called by their:
1.- URL key?
or
2.- Click on the "preview" of the page and get the absolute path in the browser. From this absolute path, can you get a relative path that Magento understands?.
I hope I was able to explain myself more clearly than before.
Thanks,
Tomasjoom
TomC,
I was talking about the internal links to use between a magento website. For example, if I create a CMS page and I create a Main Menu link and I want to link them together, should I place the whole path (absolute path) in the "href" field?. So, if I’m working in my localhost, should I place http://www.localhost.com/folder/index.php/cms_url_key in the href field?.
What happens when I move the website to another domain?. Does magento changes all internal links when you specify the base url in the admin section?. How does magento distinguish between internal and external links?.
Anyway I will find out sooner o later. Thank you for your help.
I still have one more question:
In the JM Anion template there is a Main Menu link which title is "Anion’s Color". I changed the title to "Contacto" in the app\design\frontend\default\jm_aniontemplate\cata lognavigation/top.phtml. Now I need to get rid safely of the submenus and the links they provide and add my own link to the "contacto" cms page. Could you guide me doing this?. I don’t know exactly which parts I can safely remove from the top.phtml file.
Thanks,
Tomasjoom
I still have one more question:
In the JM Anion template there is a Main Menu link which title is "Anion’s Color". I changed the title to "Contacto" in the app\design\frontend\default\jm_aniontemplate\cata lognavigation/top.phtml. Now I need to get rid safely of the submenus and the links they provide and add my own link to the "contacto" cms page. Could you guide me doing this?. I don’t know exactly which parts I can safely remove from the top.phtml file.Thanks,
Tomasjoom
You mean something likeTHIS ??
That works beautifully. Thank you so much.
That works beautifully. Thank you so much.
Most welcome, my friend !!!
All the best with your continuing site development.