How to modify html for a correct link

Dear joomlart-Team,

how I`ve to modify the html to get a working link to a cms page inside my shop.

The static block "most read" in the bottom of jm methys shows a lot of links.
The code is like this :

<li><a href="#">Eleifend mauris fringilla</a></li>

Now I changed it to this :

<a href="{{store direct_url="URL key"}}">mytext</a></div>

with my datas but the result is very crazy.

I know that the solution is probably easy, but I don`t find it. I tried so many things.

Many thanks in advance.

Best regards

Peter

2 answers

Profile photo of thangnn1510 0.00 $tone February 11, 2011
Public

Dear Petersturm!

This code you use:

HTML Code:

<a href="{{store direct_url="URL key"}}">mytext</a>

is correct. Remember that URL key is the key of cms page, contacts page….

Exp:

Code:

<a href="{{store direct_url="test"}}">mytext</a>

will link you to http://yoursite/test.

Regards!

#1
Profile photo of Peter Sturm 0.00 $tone February 11, 2011
Public

Hello thangnn 1510,

thanks, it`s working now. I think I was a little bit unconcentrated and I`ve missed something
while working with copy and paste.
Now I did it manually charakter by charakter and it`s all good.
Sorry it seems I was a little bit hasty.

Best regards

Peter

#2

This question is now closed

Written By

Comments