1
neo75
Tutorial for create Xoops Modules
  • 2016/3/28 6:06

  • neo75

  • Just popping in

  • Posts: 13

  • Since: 2010/4/28


hi, or I can find a tutorial to create step by step a module with database & template ?

I searched on google impossible to find complete documentation to create a simple module with a database with an id, title, description, all integrated into a template.

Wordpress, Joomla no problem but Xoops nothing at all !!!

2
Mamba
Re: Tutorial for create Xoops Modules
  • 2016/3/28 8:46

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


First, thank you for your interest in developing XOOPS Modules.

Please google for exactly the same text that you used as your title: "Tutorial for create Xoops Modules" and you'll find right on the first page links like:

1) XoopsWiki - Module Development Guide :: XOOPS Web

3) Building XOOPS Module (Tutorial by Kaotik)

5) Creating XOOPS Module with TDMCreate - YouTube

The recent version of TDMCreate you can find on GitHub, which should help you in creating the basic structure of the module.

Please note that in the next version of XOOOPS we'll be adding the XMF Library - please read more about it in the info about XOOPS 2.5.8. You can also check out the XMF Cookbook, with code recipes for getting started using XMF, the XOOPS Module Framework. It includes also a reference to all XMF library classes.

As Richard indicated, XMF is a library of standard classes useful in module development for the current version of XOOPS. It can be very useful in the near future, as all of its classes are forward compatible with the next generation of XOOPS.

Once we move to the next generation of XOOPS (currently known as XOOPS 2.6.0), we'll be incorporating also the next generation of XOOPS module architecture - you can preview it on Eduardo's GitHub repository - look for "rmcommon" - just download it and install it on the current XOOPS version 2.5.7.2 or on the 2.5.8-RC2 . Eduardo has also several modules there that you can download, install, and check them out. Of course, the best way to learn is to look at the code.

Finally, you can also check out this presentation "OOP Adventures with XOOPS" and the XOOPS API

Please feel free to ask any questions you might have, and we'll be glad to help.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

3
neo75
Re: Tutorial for create Xoops Modules
  • 2016/6/10 23:47

  • neo75

  • Just popping in

  • Posts: 13

  • Since: 2010/4/28


Great, thanks !
I already have a XOOPS site since 2.0.14 now I'm with version 2.5.7.
I tested the module Xlanguage (last version with my version xoops 2.5.7) but it does not work ?

4
zyspec
Re: Tutorial for create Xoops Modules
  • 2016/6/11 1:36

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


I'm not sure which version you're using but you might try the one from

https://github.com/XoopsModules25x/xlanguage/archive/master.zip

5
Mamba
Re: Tutorial for create Xoops Modules
  • 2016/6/11 4:53

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


Quote:
I tested the module Xlanguage (last version with my version xoops 2.5.7) but it does not work ?

What exactly doesn't work?

Can you give us more details so we can see if we can help?
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

6
neo75
Re: Tutorial for create Xoops Modules
  • 2016/6/11 22:28

  • neo75

  • Just popping in

  • Posts: 13

  • Since: 2010/4/28


Sorry i'm French !
I installed version 3.05 of fr.xoops & I test the module with a blank block I took this text is the result :

Bienvenue sur mywebsite [en]Welcome on mywebsite[/en]

And when I click on a flag the text disappears

7
Mamba
Re: Tutorial for create Xoops Modules
  • 2016/6/12 10:21

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


Resized Image

Did you read the xLanguage Tutorial?
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

8
mjoel
Re: Tutorial for create Xoops Modules
  • 2016/6/13 6:31

  • mjoel

  • Quite a regular

  • Posts: 325

  • Since: 2006/12/9


How to write an standard module for xoops (div table, pagination , sort, order)
https://xoops.org/modules/newbb/viewtopic.php?topic_id=76036

by IMRTFAN

9
neo75
Re: Tutorial for create Xoops Modules
  • 2016/6/15 22:49

  • neo75

  • Just popping in

  • Posts: 13

  • Since: 2010/4/28


I followed the installation procedure but there have no information concernnant No. 2
What can NOT do xlanguage
2 xlanguage does not work without Adding one line to XOOPS / include / common.php (see guide below)

In the Read Me file, or are the instructions for the file common.php ?

What I have to add line ?

10
Mamba
Re: Tutorial for create Xoops Modules
  • 2016/6/16 3:28

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


Which XOOPS & PHP version?
I'll check on this...
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

Login

Who's Online

181 user(s) are online (108 user(s) are browsing Support Forums)


Members: 0


Guests: 181


more...

Donat-O-Meter

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

Latest GitHub Commits