Andrea, Argentina
Total Posts: 164
Joined: 2007-12-05
Buenos Aires, Argentina
Hi all…
I am working with Xampp and my url is http://localhost/store
When I use
<a href="{{store url=""}}novedades"> as it used to be and as I saw at the forum, I receive a 400 error and the url was:
http://localhost/magento/{{store%20url=
I’ve tried with quotes in different places but nothing worked. It can be a problem at local usage? I can’t figure out why this simple issue does not work. Any help will be welcome!!
Andrea
Posted: June 13 2008
| top
Andrea, Argentina
Total Posts: 164
Joined: 2007-12-05
Buenos Aires, Argentina
I’ve forgot to say that the place i want to put this link to my static page is a phtml file
Posted: June 13 2008
| top
| # 1
lazzymonk
Total Posts: 391
Joined: 2008-04-03
England
if it is going in a phtml file try this
<a href="<?php echo $this->getUrl(’novedades’) ?>">
i think thats right but its from memory as im not on my computer.
Signature
If someone tells you its impossible, try anyway or you will never know.
Compound Interest Calculator
Posted: June 14 2008
| top
| # 2
Andrea, Argentina
Total Posts: 164
Joined: 2007-12-05
Buenos Aires, Argentina
Thank you lazzy but that didn’t work.
Here is my complete issue: I’ve changed the top menu to show buttons throug css styles. Then, in my top.phtml file I have this:
<span class="enlaces-barra-1"><a class="enlaces">
<a href="{{store url=""}}novedades-trucos-de-magia"><img src="skin/frontend/default/default/images/nav_btn_tra.gif"></a></span>
This code generates a transparent image with a link. But the link isn’t working because the browser reads this:
http://localhost/magento_1_0_Tienda/{{store%20url=
and redirects to a “not found” page.
Posted: June 14 2008
| top
| # 3
lazzymonk
Total Posts: 391
Joined: 2008-04-03
England
{{store url=""}} doesnt work in .phtml files. if i remember correctly that is cms pages.
< span class= "enlaces-barra-1" >< a class= "enlaces" > < a href = "<a href=" <? = $this -> getUrl ( 'novedades-trucos-de-magia' ) ?> "><img src=" skin / frontend /default/default/ images / nav_btn_tra . gif "></a></span>
try that
Signature
If someone tells you its impossible, try anyway or you will never know.
Compound Interest Calculator
Posted: June 14 2008
| top
| # 4
Andrea, Argentina
Total Posts: 164
Joined: 2007-12-05
Buenos Aires, Argentina
Great!!! It worked. Thank you very much
Posted: June 14 2008
| top
| # 5