1
Cozzie
How can I build a new module?
  • 2007/9/7 3:30

  • Cozzie

  • Not too shy to talk

  • Posts: 133

  • Since: 2007/7/13


Is there any documentation or article out there that explains how to make your own module. Or explaining how a module is constructed.

I have a database with search scripts which is outside of my XOOPS site and so I need to either:

1 write a XOOPS module using the current database.
2 wrap the current search scripts into a XOOPS module.

I think I need an explanation of how modules are constructed before I can attempt it.!!!

Or is it possibble for somebody to explain how I would go about doing the above (maybe solution 2 is easier?????)

Big thanks for any ideas, suggestions or links

2
stefan88
Re: How can I build a new module?
  • 2007/9/7 5:02

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


Hi,

Try http://dev.xoops.org/dl/ModuleBuilding.pdf

also DevWiki at: http://dev.xoops.org/modules/phpwiki/

There is modGen from http://xoobs.net/modules/wfdownloads/visit.php?cid=1&lid=23
it will generate empty module for you (I never tested it ...)

For option 2 I think there was a FAQ entry - if I find it, I'll post it here. You may also use some of wrap module that will display your page in iframe. Never used those too, so can't recomend one.

..

3
gordman
Re: How can I build a new module?
  • 2007/9/7 11:30

  • gordman

  • Just popping in

  • Posts: 11

  • Since: 2007/9/7 1


Thanks for the info, it's almost clear now, I'll just have to figure out some things all by myself.

4
Anonymous
Re: How can I build a new module?
  • 2007/9/7 12:07

  • Anonymous

  • Posts: 0

  • Since:


Quote:
gordman wrote:

Thanks for the info, it's almost clear now, I'll just have to figure out some things all by myself.


The reply to the initial question is a full one; do you not think that direction to the user guide appropriate given the general nature of the question

Just four posts and you've already resorted to sarchasm. Why?

5
Cozzie
Re: How can I build a new module?
  • 2007/9/7 23:32

  • Cozzie

  • Not too shy to talk

  • Posts: 133

  • Since: 2007/7/13


Thanks a lot Stefan!

That's a exactly what I needed.

I'm working my way through it all now and making good headway

6
khuhner
Re: How can I build a new module?
  • 2007/9/8 0:08

  • khuhner

  • Quite a regular

  • Posts: 232

  • Since: 2006/1/6 3


Quote:

Cozzie wrote:
2 wrap the current search scripts into a XOOPS module.


For #2 use a module like MyiFrame or a general content module like CJayContent and wrap the link using