1
jmass
Custom Module w/ xoops url
  • 2004/8/31 3:53

  • jmass

  • Friend of XOOPS

  • Posts: 524

  • Since: 2003/12/18


Hello!

I am trying to build a custom module. I need to refer to the module direcotry in a block for the module. What is the best way to do this?

JMass

2
Dave_L
Re: Custom Module w/ xoops url
  • 2004/8/31 4:12

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


XOOPS_ROOT_PATH . '/modules/YOUR_MODULE/'

Why specificially do you need the directory? You might not need to use the actual path, depending on what you're doing.

3
jmass
Re: Custom Module w/ xoops url
  • 2004/8/31 4:23

  • jmass

  • Friend of XOOPS

  • Posts: 524

  • Since: 2003/12/18


I want to link to a file (file.js) in the module directory. Is this the best way?

JMass

Login

Who's Online

308 user(s) are online (236 user(s) are browsing Support Forums)


Members: 0


Guests: 308


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