241
marcan
Re: XOOPS_URL in a text area
  • 2004/2/29 16:51

  • marcan

  • Just can't stay away

  • Posts: 824

  • Since: 2003/10/8


I played around a bit. Here what I came up with.

I added a new XoopsCode called siteimg.

All you have to do is write [ siteimg ]imagePath[ /siteimg ], where imagePath is the path of the image, relatively to your XOOPS root. (Note, I inserted spaces before and after the [] so the tag does not get interpreted...)

XOOPS will automaticaly insert the root path of your site before the "images/test.jpg"

You can download the hack here :
siteimg XoopsCode

As I said more then once here, I'm not a coder so if there is some errors in the hack, please inform me so I can learn ! Thanks !

Hope this helps !



242
marcan
Re: Agenda-X 2.0 Date selector
  • 2004/2/28 23:29

  • marcan

  • Just can't stay away

  • Posts: 824

  • Since: 2003/10/8


Anybody have that same problem or is it just me?

Thanks !



243
marcan
Re: XOOPS_URL in a text area
  • 2004/2/28 23:06

  • marcan

  • Just can't stay away

  • Posts: 824

  • Since: 2003/10/8


Resized ImageQuote:
and I worked with [siteurl] but that seems to only work with pages, I tried combining Resized Image but that got me nowhere.

I guess what we need is a [siteimg] bbCode tag.


mmm, good point... Now, this is what I need because I originally needed the siteurl to put images...

Could someone help us on that? Is it possible to add a bbcode somewehere? We would need a [siteimg] bbCode tag. How could we do that?

Anybody have a clue?

Thanks for any help !



244
marcan
Re: X_SITEURL in iMenu/Multimenu
  • 2004/2/28 22:49

  • marcan

  • Just can't stay away

  • Posts: 824

  • Since: 2003/10/8


See this thread :

XOOPS_URL in a text area

Hope this helps !

Cheers !



245
marcan
Re: Can I get {X_SITEURL} variable in download module ?
  • 2004/2/28 22:48

  • marcan

  • Just can't stay away

  • Posts: 824

  • Since: 2003/10/8


See this thread :

XOOPS_URL in a text area

Hope this helps !

Cheers !



246
marcan
Re: XOOPS_URL in a text area
  • 2004/2/28 22:45

  • marcan

  • Just can't stay away

  • Posts: 824

  • Since: 2003/10/8


Many thanks :

Quote:
[ siteurl=modules/news/index.php ]Our News[ /siteurl ]

(I've included spaces after "[" so it doesn't get interpreted...)

This is exactly what I was looking for !

Thank you !



247
marcan
Re: XOOPS_URL in a text area
  • 2004/2/28 20:31

  • marcan

  • Just can't stay away

  • Posts: 824

  • Since: 2003/10/8


Forgot to do a search first... please forgive me

However, it seems that no good answers were ever found. See, these would like to achieve pretty much what I want :

Can I get {X_SITEURL} variable in download module ?

X_SITEURL in iMenu/Multimenu

Anyone can help ?

Thanks !!!



248
marcan
XOOPS_URL in a text area
  • 2004/2/28 20:10

  • marcan

  • Just can't stay away

  • Posts: 824

  • Since: 2003/10/8


Hi !

Is there a way to enter the XOOPS site root path automaticaly in a text area? I'm explaining myself.

I'm using WF-FAQ and in the answer text area, I put some images that are store in xoops_url/images/. Now, I can put the exact root of my site (something likehttp://www.mysite.com/images) but I'm planning to move my site to another domain name sooner or later. So, I would like to be able to put a variable that would look for the XOOPS root path itself.

I don't know if I'm explaining myslef correctly! Does anybody understand what I want? Does anybody have a solution?

Thanks for any help !



249
marcan
Agenda-X 2.0 Date selector
  • 2004/2/27 16:45

  • marcan

  • Just can't stay away

  • Posts: 824

  • Since: 2003/10/8


Is it possible that the date selector only works with IE. I'm using Mozilla and when I click on the that button to solect a date, the calendar does is not display. Also, when clicking on that, it clears all the data a already enter in the other fields.

When I use it with IE, it works...



250
marcan
Re: Soapbox Recent Articles block bug
  • 2004/2/26 22:51

  • marcan

  • Just can't stay away

  • Posts: 824

  • Since: 2003/10/8


those notices can't give you a blank page. It must be something else


Anybody have an idea of what it could be?




TopTop
« 1 ... 22 23 24 (25) 26 27 28 ... 36 »



Login

Who's Online

103 user(s) are online (42 user(s) are browsing Support Forums)


Members: 0


Guests: 103


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