1
ralf57
<{xoops_link}>....what's this variable for?
  • 2004/2/16 21:04

  • ralf57

  • Quite a regular

  • Posts: 231

  • Since: 2003/2/3 1


I've found this new smarty variable in version 2.06's changelog and tried to place it into a template but nothing happened.
Can anybody tell me its function and its usage?
Regards,ralf.

2
Herko
Re: <{xoops_link}>....what's this variable for?
  • 2004/2/16 21:10

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


It's for making relative links, so that when you move your site, you don't have to change all the links.

Herko

3
ralf57
Re: <{xoops_link}>....what's this variable for?
  • 2004/2/16 21:28

  • ralf57

  • Quite a regular

  • Posts: 231

  • Since: 2003/2/3 1


Quote:

Herko Coomans wrote:
It's for making relative links, so that when you move your site, you don't have to change all the links.

Herko


Thank you herko,i've understood the purpose but can you
show me a short real example?
thanks again.

4
Dave_L
Re: <{xoops_link}>....what's this variable for?
  • 2004/2/17 2:00

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


Check the documentation at the beginning of the file class/smarty/plugins/function.xoops_link.php. That explains what the function does, and gives an example.

Login

Who's Online

235 user(s) are online (171 user(s) are browsing Support Forums)


Members: 0


Guests: 235


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits