1
Buzzy
Can I get {X_SITEURL} variable in download module ?
  • 2003/10/17 13:24

  • Buzzy

  • Just popping in

  • Posts: 6

  • Since: 2003/9/30


I just want to put files in a directory on my XOOPS site and i don't want to write again the path of my root for each files...

What can i do for that ? Is it possible to use the {X_SITEURL} variable into file path description ?

For exemple URL's file for download :

{X_SITEURL}download/file/tata.zip

Thank's



2
blueangel
Re: Can I get {X_SITEURL} variable in download module ?
  • 2003/10/17 14:22

  • blueangel

  • Module Developer

  • Posts: 132

  • Since: 2002/2/20


it should be a nice feature but actually it is not implemented

3
skalpa
Re: Can I get {X_SITEURL} variable in download module ?
  • 2003/10/17 14:36

  • skalpa

  • Quite a regular

  • Posts: 300

  • Since: 2003/4/16


Quote:
it should be a nice feature but actually it is not implemented


Well, actually all the constants defined in PHP can be accessed in your templates.
Some of the XOOPS ones have been defined directly (like <{$xoops_url}> ), other ones can be accessed with:
<{$smarty.const.DEFINENAME}>

Not sure I see which var you're talking about here, but that may help.

Skalpa.>

4
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 !

Login

Who's Online

394 user(s) are online (320 user(s) are browsing Support Forums)


Members: 0


Guests: 394


more...

Donat-O-Meter

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

Latest GitHub Commits