1
noo-b
<{$xoops_url}> in custom block ?
  • 2007/10/23 10:13

  • noo-b

  • Just can't stay away

  • Posts: 456

  • Since: 2007/10/23


can i use the <{$xoops_url}> in custom block ?

i tried html format and php and nothing is diplayed

i don't want to write my website address directly as example mysite.com for future convienience when changing my domain in future...cause i use a lot custom block and it will be troublesome


help a noo-b and sorry for poor english
I Love Xoops

2
frankblack
Re: in custom block ?
  • 2007/10/23 11:05

  • frankblack

  • Just can't stay away

  • Posts: 830

  • Since: 2005/6/13


Use {X_SITEURL} (for custom html block) instead, this will printhttp://yoursite.com/

3
Peekay
Re: in custom block ?
  • 2007/10/23 11:05

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


{X_SITEURL}


Watch out for XOOPS image-manager links. They are all absolute. E.g.
img ]http://localhost/uploads/img471db48bcdcf5.jpg[ /img ]


Needs fixing IMHO.
A thread is for life. Not just for Christmas.

4
frankblack
Re: in custom block ?
  • 2007/10/23 11:07

  • frankblack

  • Just can't stay away

  • Posts: 830

  • Since: 2005/6/13


Toooo sloooow Peekay!

5
Peekay
Re: in custom block ?
  • 2007/10/23 11:11

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


It's that kinda day!
A thread is for life. Not just for Christmas.

6
noo-b
Re: <{$xoops_url}> in custom block ?
  • 2007/10/23 11:36

  • noo-b

  • Just can't stay away

  • Posts: 456

  • Since: 2007/10/23


that was fast..thank you to both of you
I Love Xoops

Login

Who's Online

321 user(s) are online (195 user(s) are browsing Support Forums)


Members: 0


Guests: 321


more...

Donat-O-Meter

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

Latest GitHub Commits