Page 1 of 1

Relative links

Posted: Thu Nov 26, 2009 2:51 pm
by Yessica
{news detailpage="news"}

gave me list of all news. so i wrote: ALL NEWS

and that works :) but can I use some smarty vars ? Need to learn that.

__________________________________

Category: CAKES
Posted by: Yess
That is the part of Summary Templates for news. can I make that CAKES a link so I can go to some page and link all CAKES news  with 20 on 1 page, if there is more than 20, then I have a link to don't know page 2 ???!!!

Re: Relative links

Posted: Thu Nov 26, 2009 2:58 pm
by Peciura
...can I use some smarty vars ?
Yes you can. Tough it is not exactly clear what do you want to do.
Need to learn that.
http://wiki.cmsmadesimple.org/index.php/Main_Page

Re: Relative links

Posted: Thu Nov 26, 2009 3:00 pm
by Yessica
Well, I don't see there an explanation about : {link page = "news"} ;
I know it should be something like that. This is a link and im telling him that I want him to link it to a page named NEWS.

Re: Relative links

Posted: Thu Nov 26, 2009 3:30 pm
by Yessica
I found this
{cms_module module="news" category="CAKES"}

And then I have only news from there. Only one thing  I don't know is to make links. I dont won't to use
href="http://www.mysite.com/cms/index.php?page=CAKES"