1
trspice
How can I add an include file to module template?
  • 2007/9/24 20:04

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


I want to add an include file command to a template of xcgal module but can't figure it out. I tried the standard XOOPS method but the page won't show. It seems the file must be registered with the module first but I don't know where to register it.

This is the code I see being used to include file <{include file="db:xcgal_thumb.html" thumb=$thumbs[i]}>

Please inform how to do this. Thanks
There's nothing but science....
The Reggae Album

2
trspice
Re: How can I add an include file to module template?
  • 2007/9/24 20:26

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


I've figured it out. I had to add it to the template list in file xoops_info.php of the module and then update the module in the admin.
There's nothing but science....
The Reggae Album

3
rasme
Re: How can I add an include file to module template?
  • 2007/9/25 2:20

  • rasme

  • Just popping in

  • Posts: 39

  • Since: 2005/5/9 6


I think you mean xoops_version.php

4
trspice
Re: How can I add an include file to module template?
  • 2007/9/25 2:30

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


rasme.. thanks for the correction :)
There's nothing but science....
The Reggae Album

Login

Who's Online

215 user(s) are online (160 user(s) are browsing Support Forums)


Members: 0


Guests: 215


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