xoops forums

kaotik

Just can't stay away
Posted on: 2007/9/14 11:08
kaotik
kaotik (Show more)
Just can't stay away
Posts: 861
Since: 2004/2/19
#1

Tutorial- How to build an Ajax Module

This tutorial will teach you how to build a XOOPS Ajax module.
It also teaches you how to assign user interactions to specific smarty templates in xoops.

Part 3 - Building an AJAX module

Dave_L

XOOPS is my life!
Posted on: 2007/9/14 11:39
Dave_L
Dave_L (Show more)
XOOPS is my life!
Posts: 2277
Since: 2003/11/7
#2

Re: Tutorial- How to build an Ajax Module

Thanks for posting this.

I've tried to use Ajax, but have had mixed results. Maybe your tutorial will help me.

MadFish

Friend of XOOPS
Posted on: 2007/9/14 11:47
MadFish
MadFish (Show more)
Friend of XOOPS
Posts: 1056
Since: 2003/9/27
#3

Re: Tutorial- How to build an Ajax Module

KaotiK

Just wanted say THANKS for your excellent tutorials. I read a few PHP books but have been struggling to get started in module writing with XOOPS due to the lack of documentation on this kind of thing. Your tutorials are the 'missing link' I needed to bridge the gap between PHP and XOOPS module development. The style is very clear, I hope you will do more :)

I also hope your tutorials can be shared with docs.xoops.org, they are key documents to the system IMHO. People have been asking for this for years, so thanks :)

seth_sd

Friend of XOOPS
Posted on: 2007/9/14 12:39
seth_sd
seth_sd (Show more)
Friend of XOOPS
Posts: 158
Since: 2004/11/9
#4

Re: Tutorial- How to build an Ajax Module

Nice!
"Why can't we have a car powered on a mixture of patchouli oil, ignorance, and double standards? There seems to be an inexhaustible supply of that sh1t." - LR

script_fu

Friend of XOOPS
Posted on: 2007/9/14 12:40
script_fu
script_fu (Show more)
Friend of XOOPS
Posts: 1494
Since: 2002/12/27
#5

Re: Tutorial- How to build an Ajax Module

Wow impressive I hope this will help me as well.

kaotik

Just can't stay away
Posted on: 2007/9/15 9:50
kaotik
kaotik (Show more)
Just can't stay away
Posts: 861
Since: 2004/2/19
#6

Re: Tutorial- How to build an Ajax Module

thank you all for the kind words. I have 2 more tutorials planned

Giba: thank you my friend.

Dave_L: I feel honored for you to be reading my tutorial. I've learned so much from you in the past, without your guidance and assistance I'd still be trying to understand what $_POST[] does

script_fu

Friend of XOOPS
Posted on: 2007/9/15 10:32
script_fu
script_fu (Show more)
Friend of XOOPS
Posts: 1494
Since: 2002/12/27
#7

Re: Tutorial- How to build an Ajax Module

Hi, Your module installed without any errors. When I click on tutorial on the front page there is nothing there?

Does this module work with php5 and mysql5?

kaotik

Just can't stay away
Posted on: 2007/9/15 12:20
kaotik
kaotik (Show more)
Just can't stay away
Posts: 861
Since: 2004/2/19
#8

Re: Tutorial- How to build an Ajax Module

script_fu: yes it does. Did you test the completed version? If so did you read through the tutorial alerting to several issues regarding Ajax and Xoops?

script_fu

Friend of XOOPS
Posted on: 2007/9/15 17:01
script_fu
script_fu (Show more)
Friend of XOOPS
Posts: 1494
Since: 2002/12/27
#9

Re: Tutorial- How to build an Ajax Module

Wow... I got this to work. Excellent kaotik thank you so much. I agree this is like finding the missing link! I will be able to start my own module based on this.

I hope you like lots of questions!

chetan

Just popping in
Posted on: 2008/5/12 10:52
chetan
chetan (Show more)
Just popping in
Posts: 6
Since: 2008/2/25
#10

Re: Tutorial- How to build an Ajax Module

ERROR: ResponseReceived: Invalid response XML: The response contains an unexpected tag or text: {data}.

i get this error what do i do