1
juraba
Local xoops site
  • 2005/1/12 12:42

  • juraba

  • Just popping in

  • Posts: 22

  • Since: 2003/11/23


Hello guys. I have a little question? I'm developing a XOOPS site in local(localhost) but soon will be on-line. My problem is that i'm using quite a few pictures(picture manager) and banners. Is there a way to tell XOOPS to use smart templates like (XOOPS_URL) instead of writing the hole path like http://localhost/mysite/pictures/picture.gif

If not i will have to change all to macth the new location.

2
m0nty
Re: Local xoops site
  • 2005/1/12 12:50

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


depending on where ur pictures are placed..

you could use this:



this presumes your images are all located in the themes/yourtheme folder..

you could of course then use
and place your pictures folder into the theme/your theme folder..

3
Mithrandir
Re: Local xoops site

m0nty - he means using the image manager to insert images.

Currently, there is unfortunately not a way to automatically update the image location based on site url. There should be, but there isn't.

However there is a [siteurl] for links. Presumably it should be possible to add a [siteimage] for images.

4
m0nty
Re: Local xoops site
  • 2005/1/12 13:09

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


ahhh cheers Mith :) i best go get me a new pair of eyes lol

5
juraba
Re: Local xoops site
  • 2005/1/12 13:21

  • juraba

  • Just popping in

  • Posts: 22

  • Since: 2003/11/23


I see. then i'll have to do it manualy when my site will be on-line?

I can use other place rather than the picture manager if i can make it work. But when i insert in the news module "when writing news" nothing happens. header.gif is in my default theme the one i use.

thanks

6
m0nty
Re: Local xoops site
  • 2005/1/12 13:37

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


sorry yeah, don't use my method for the imagemanager or html in news as it won't work unfortunately..

7
juraba
Re: Local xoops site
  • 2005/1/12 16:43

  • juraba

  • Just popping in

  • Posts: 22

  • Since: 2003/11/23


Ok... i'll do it when site is on-line.
Thanks for the help

Login

Who's Online

478 user(s) are online (61 user(s) are browsing Support Forums)


Members: 0


Guests: 478


more...

Donat-O-Meter

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

Latest GitHub Commits