# Introduction

![logoXoops.jpg](/files/-LD6N1xo8u_OzZ-ahMum)

## Building XOOPS modules

### Originally written by KaotiK, complete revision by Kevin Petit

#### for XOOPS 2.5.8

&#x20;**This book is currently undergoing a revision - not all parts are up-to-date!.**&#x20;

### Developer Manual

© 2016 XOOPS Project ([www.xoops.org](https://xoops.org))

This book will learn you how to build modules for XOOPS. You are assumed to have at least a basic understanding of HTML, SQL and PHP.

## Table of Content

* [Guidelines for module development](https://github.com/XoopsDocs/kaotik-module-tutorial/tree/c91a35ff2dafdb244a32d3621702f734f20b9199/book/guidelines/guidelines.md)
* [Building your first module](https://github.com/XoopsDocs/kaotik-module-tutorial/tree/c91a35ff2dafdb244a32d3621702f734f20b9199/book/building_a_simple_module/introduction.md)
  * [Hello world!](https://github.com/XoopsDocs/kaotik-module-tutorial/tree/c91a35ff2dafdb244a32d3621702f734f20b9199/book/building_a_simple_module/helloworld.md)
  * [Memberlist](https://github.com/XoopsDocs/kaotik-module-tutorial/tree/c91a35ff2dafdb244a32d3621702f734f20b9199/book/building_a_simple_module/memberlist.md)
  * [Translations](https://github.com/XoopsDocs/kaotik-module-tutorial/tree/c91a35ff2dafdb244a32d3621702f734f20b9199/book/building_a_simple_module/translations.md)
  * [Database](https://github.com/XoopsDocs/kaotik-module-tutorial/tree/c91a35ff2dafdb244a32d3621702f734f20b9199/book/building_a_simple_module/database.md)
  * [Building a form](https://github.com/XoopsDocs/kaotik-module-tutorial/tree/c91a35ff2dafdb244a32d3621702f734f20b9199/book/building_a_simple_module/buildingform.md)
  * [Storing information in the database](https://github.com/XoopsDocs/kaotik-module-tutorial/tree/c91a35ff2dafdb244a32d3621702f734f20b9199/book/building_a_simple_module/saving_to_database.md)
  * [Listing information in the database](https://github.com/XoopsDocs/kaotik-module-tutorial/tree/c91a35ff2dafdb244a32d3621702f734f20b9199/book/building_a_simple_module/listing_database.md)
* [Smarty and sanitation](https://github.com/XoopsDocs/kaotik-module-tutorial/tree/c91a35ff2dafdb244a32d3621702f734f20b9199/book/smarty_sanitation/introduction.md)
  * [Introduction to Smarty](https://github.com/XoopsDocs/kaotik-module-tutorial/tree/c91a35ff2dafdb244a32d3621702f734f20b9199/book/smarty_sanitation/smarty.md)
  * [Moving to Smarty](https://github.com/XoopsDocs/kaotik-module-tutorial/tree/c91a35ff2dafdb244a32d3621702f734f20b9199/book/smarty_sanitation/movingtosmarty.md)
  * [Forms in Smarty](https://github.com/XoopsDocs/kaotik-module-tutorial/tree/c91a35ff2dafdb244a32d3621702f734f20b9199/book/smarty_sanitation/formsinsmarty.md)
  * [Text sanitation](https://github.com/XoopsDocs/kaotik-module-tutorial/tree/c91a35ff2dafdb244a32d3621702f734f20b9199/book/smarty_sanitation/textsanitation.md)
* [Part 3 - Building an AJAX Module](https://github.com/XoopsDocs/kaotik-module-tutorial/tree/c91a35ff2dafdb244a32d3621702f734f20b9199/book/3.md)
* [Part 4 - Xoops Blocks](https://github.com/XoopsDocs/kaotik-module-tutorial/tree/c91a35ff2dafdb244a32d3621702f734f20b9199/book/4.md)
* [Part 6 - Theme Development](https://github.com/XoopsDocs/kaotik-module-tutorial/tree/c91a35ff2dafdb244a32d3621702f734f20b9199/book/6.md)
* [Part 7 - $\_SUPER GLOBALS How to use them in a XOOPS module](https://github.com/XoopsDocs/kaotik-module-tutorial/tree/c91a35ff2dafdb244a32d3621702f734f20b9199/book/7.md)
* [Part 8 - DB Operations and Classes](https://github.com/XoopsDocs/kaotik-module-tutorial/tree/c91a35ff2dafdb244a32d3621702f734f20b9199/book/8.md) //delete, if not used
* [Part 9 - Jquery and Javascript, a simple beginning](https://github.com/XoopsDocs/kaotik-module-tutorial/tree/c91a35ff2dafdb244a32d3621702f734f20b9199/book/9.md)
* [Part 10 - Admin menus and Jquery](https://github.com/XoopsDocs/kaotik-module-tutorial/tree/c91a35ff2dafdb244a32d3621702f734f20b9199/book/10.md)
* [Part 11 - Jquery: Form Validation+Rounded Corners+List Items](https://github.com/XoopsDocs/kaotik-module-tutorial/tree/c91a35ff2dafdb244a32d3621702f734f20b9199/book/11.md)
* [Part 12 - Cloning functions, a diferent approach dealing with classes.](https://github.com/XoopsDocs/kaotik-module-tutorial/tree/c91a35ff2dafdb244a32d3621702f734f20b9199/book/12.md)&#x20;
* [Credits](https://github.com/XoopsDocs/kaotik-module-tutorial/tree/c91a35ff2dafdb244a32d3621702f734f20b9199/book/13.md)&#x20;

### License:

[![Creative Commons License](https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png)](http://creativecommons.org/licenses/by-nc-sa/4.0/)\
Unless specified, this content is licensed under a [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License](http://creativecommons.org/licenses/by-nc-sa/4.0/).

All derivative works are to be attributed to XOOPS Project ([www.xoops.org](https://xoops.org))


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://xoops.gitbook.io/kaotik-module-tutorial/master.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
