Developer News

Tutorial - Build a CSS 3 Main Menu

kaotik  13-Aug-2010 15:50  8556 reads  1
Learn how to create a cool main menu using css 3 features.
Print article
Developer News

TXMod Developer

timgno  19-May-2010 16:35  5441 reads  3
A new website is online TXMod with new graphics to download themes and modules

link txmod:

link directory xoops:

Print article
Developer News

Jquery Tutorial: Binding to future events

kaotik  01-Apr-2010 13:30  11274 reads  10
This tutorial will teach you the benefits of $.live() and how to pass a smarty template with ajax.

What is future binding?
This is relatively a new problem created with the advent of ajax calls. The best way to understand it is with a practical example:
Print article
Developer News

Help Testing PDO Database Support

wishcraft  31-Mar-2010 04:29  4765 reads  10
Have you ever wanted to run XOOPS on something apart from MySQL?

I have been doing some research since the start of this forum post and have fitted now the PDO to XOOPS 2.5 Beta.

This is right now just a research project for possible inclusion with 2.6 series, but I need some help with testing as a lot of these database systems are quiet expensive.. There is support for Postgres, Oracle, Sybase, ADO, ODBC, MS SQL, MSDE and many others like interbase and it GNU counterpart firebird.

This archive contains all the changed files for testing.. I need help testing this as much as possible.. There is no reason for it to not work unless there is some reserved word or microsoft problem with pivoting MySQL files to xoops.. Of course you can include the needed files as well, but it will attempt to pivot on mYql files if it can't find a SQL file for the selected database type..

Download 2.5.0 Beta with PDO from my Skydriver spot.

The Forum topic for XOOPS PDO is here..
Print article
Developer News

Pack "Web Tools" 0.1 - standalone applications to ...

kris_fr  06-Mar-2010 14:57  3960 reads  1
The Package "Web 0.1 Tools" is the first compilation by the Laboratories, portable web tools for developing a website!
This package includes text editors (Notepad + +, Kompozer), a CSS editor (Oikia Editor), a web browser (Opera), tools for images (Gimp MWSnap), an ftp (Filezilla), a client svn (Subcommander), a tool for archives (7zip), a file synchronizer (Toucan), a comparator file (WinMerge) and a task manager (ToDo List).

List of portable applications package "Web Tools":
- 7zip 4.65
- Filezilla 3.3.2
- Kompozer 0.8b3
- Opera 10.50
- PicPick 2.2.2
- Winmerge 2.12.4
- Gimp 2.6.8
- Notepad++ 5.6.8
- OikoCSSeditor 1.00 RC3
- SubCommander 2.0.0 Beta 4
- ToDoList 6.0.8
- Toucan 2.2.1

You can download the package "Web Tools" on under "Tools - Portable Apps" or directly from HERE.

Credits: A special thanks to the PortableApps for work his team performs.

Only for Windows users
Print article
Developer News

Looking for Members - Documentation Team

wishcraft  08-Feb-2010 12:02  4677 reads  11
I am looking at forming a team for documenting the Modules Team and the Core Teams changes in the wiki and to go through the forum and find discussion topics to turn help sheets and guidances manuals.

I am looking for anyone with a Technical Writing background that wants to contribute to XOOPS under my team management to document the XOOPS Core, XOOPS Modules & XOOPS Hacks.

Part of what makes a good product is the team behind explaining how to use it.. XOOPS is no exception. With most books on XOOPS in other languages apart from English there is a need for documenting to be concise and easy to form.

Ideally I am looking for a team of 10 people.. Both male and female and the role comes with training and support references material.. I am looking to change my role at XOOPS from the core under-write to documentation manager.

You can contact me about this by the following way:

IF you don't have 8 - 15 hours a fortnight to dedicate to documenting XOOPS then please do not apply, there are no age restrictions and some young guns would be good.

I have noticed with the younger crowd here at XOOPS they feel that there age is a hindrance on getting involved, if you are between the ages of 16 to 65 these are ideal ages to sign up and get motivated -- so please write me an email attach your resume if you have one (This is voluntary/charity role) and send it to your senior XOOPS Developer.

You need to have at least a written language in english (other languages desirable for translating) and need to have medium to advance technical writing skills.

Forum for dicussion: forumpost324086
Print article
Developer News

Jquery Tutorial: Passing php arrays through JSON

kaotik  16-Nov-2009 10:44  67709 reads  7
This tutorial is a continuation of my previous one. This will teach you the benefits of using JSON.
Print article
Developer News
Passing php arrays to javascript arrays. This is an advanced tutorial designed for people who are comfortable using jquery, ajax and php. It will teach you how to retrieve a php array using jquery, convert it to a javascript array then manipulate it.
Print article
Developer News

Tutorial Jquery: $.change, $.val and $.css

kaotik  10-Nov-2009 12:48  22778 reads  9
Learn how to detect changes on your forms using jquery and react accordingly using $.change
Print article
Developer News

HackFest Australia

wishcraft  06-Nov-2009 09:48  4202 reads  6
Resized Image

Just letting you know I will be attending part of HackFest in the Google Offices Tommorrow - When I last checked there was 88 remaining tickets.

This year the Open Australia hosted event will be concentrating on mashups, you have seen one of these featured in on of my modules called X-Reaggregator.

I will be representing Xoops as myself in Australia's HackFest 2009..
Print article
Developer News
Learn how to clone your methods inside classes. A great way to pass and retrieve data.

Print article
Developer News

Improving XOOPS Code: PHP CodeSniffer

Mamba  31-Aug-2009 20:04  6469 reads  0
Obviously, everybody has a different coding styles, but in order to make it easier for everybody to read it, we need to follow certain "Coding Standards".

The current XOOPS Coding Standards are here

But how to make sure that everybody does it correctly, and there are no mistakes?

Here comes the PHP CodeSniffer, which we'll use going forward before each release.

We would also like every developer contributing code to XOOPS (be it to Core, or as individual modules) to check his/her work before submitting to SVN!

1) Install CodeSniffer:

If you're using WAMP, here are instructions to install PEAR, and then CodeSniffer:

NOTE: there are currently problems with installing PEAR on PHP 5.3:

2) Set Zend as your default:

phpcs --config-set default_standard Zend

3) Run CodeSniffer

See: ... php-codesniffer.usage.php

I didn't compare the Zend standard with ours, but since our is based on Zend, then they should be very similar. If there are differences, we'll create our own customized standard file, based on our "XOOPS Coding Standards", as described here: ... omise-phpcodesniffer.html

As we are moving forward it's important that we start using more and more tools that will help us with improving our code and our development process.

As next, I am looking at "PHP Under Control"

Has anybody any experience with it?

To discuss this topic, please visit this thread
Print article
Developer News

Jquery: Form validation+Rounded Corners+List Items

kaotik  26-Aug-2009 16:02  21898 reads  2
This tutorial will teach you 4 things:

* How to apply rounded corners

* Form validation

* Passing variables into a list

* Customizing jquery plugins
Print article
Developer News

Tutorial- Javascript+Jquery. A simple Beginning

kaotik  25-Aug-2009 13:10  14740 reads  3
In this tutorial I will teach you the basics of javascript with jquery. This tutorial is especially geared towards php developers who have been hesitant to venture into javascript.
The question that pops up most often is: why use javascript if I already have PHP? Well, because PHP is a server side language while javascript resides on the client. Actions that are tacky done on PHP, such as table sorting are a breeze on javascript. Mind you that I'm not advocating you drop PHP, on the contrary! If you combine PHP and javascript you can take your code to a whole different level. Let's start.
Before we start, a couple of requirements for this tutorial:
- Go to and grab jquery-1.3.2.min.js This is the minified version of jquery. It's great to start learning with. When you are proficient with javascript you might want to get the full version to perform your own hacks.
- Go to and download firebug.js This is a great development tool that allows you to debug javascript directly through firefox (I'm planning a tutorial just dedicated to this).
-An editor either wysiwyg or ide to change php/html/etc files.
-A local php server. If you are not running one, go check xampp or similar.

First create an empty file called: test.php Inside place this code:
<script language="javascript">
alert ("hello world");

This will popup an alert box that says hello world! Now since we understand php, let's bring the two together. Replace all previous code with this:
"my name is wally";
<script language="javascript">
alert ("<?php echo $tst?>");

We have a php variable called $tst that get's passed into the alert box. Now let's bring in jquery and start making things more interesting. Replace all previous coe in file test.php with this:
<style type="text/css">
#box { background-color:#FFFF99; border:thin solid #FF0000; width:70%; height:50px;}
script type="text/javascript" src="firebug.js"></script>
script language="javascript" src="jquery-1.3.2.min.js"></script>
script language="javascript">
document).ready(function() { //Finish loading the entire page before processing any javascript
$("#subBut").click(function(event) {
formContent = $("#form1").serialize();
form name="form1" id="form1" method="post" action="">
<input type="text" name="textfield" id="textfield">
input type="button" name="subBut" id="subBut" value="Submit">
br />
div id="box">Ajax call</div>

Now create another file called myserv.php and place this code inside:
echo "hello world! My name is " $_GET['textfield'];

Now test it! What we are doing here is creating an ajax response to our initial test.php file. It takes the form data and passes it to myserv.php through $_GET. The good thing about using jquery $.serialize (found on line 6) is that it will grab all elements in a form. So, even if you add more later on, it will still grab them.
Now a line by line explanation of the javscript code:
Lines 4 and 5 load jquery and firebug
Line 7 All code inside this function only gets processed AFTER the entire page has loaded. This is especially important for us php developers since we have php code many times scattered along our pages.
Line 8 is an event function. Meaning, when an event happens, run the code inside. In this case the event is a "click" and it has been binded to selector "subBut" which is the submit button in our form. So, when someone presses the submit button, the code inside gets executed.
Line 9 is a great jquery function called $.serialize It grabs all form elements inside our form "form1" and correctly formats it to be sent using $_GET to our response page. In order for this to work I created a javascript variable called "formContent". this holds the formated data. NOTE: All variables in javascript must first be declared as such before being used.
Line 10 This is where jquery shines. A simple line that does so much! The selector in this case is a div with id "box". This is where the ajax response will be loaded into. load('myserv.php',formContent) will send the content of our javascript variable "formContent" to the page myserv.php which processes the information then sends back a response.

This is a simple tutorial to get you started. I have more on the way :)
Print article
Developer News

Xoops-Miniservers (portable localhost development)

Gopala  07-Aug-2009 01:45  9170 reads  8
The Xoops-Miniservers Project provides WAMP mini-servers (Apache + MySql + Php to Windows) with the CMS XOOPS (Content Management System Xoops) already installed and ready to user's customizes.

Resized Image

The miniservers available (until now) are:







Xampp (lite)

Main features:

Index page (welcome) integred to Xoops directory and documentation (docs, on these versions, incomplete).

Xoops 2.3.3 already installed and configured.

Admin Modules package already installed and configured: Altsys 0.7, Avaman 0.21, Backpack 0.93, Contact 1.6 (with captcha), Membership 2.3, Mysearch 1.1 (with bugfix), Xoopscare 1.3, Xoopsmembers 1.1 and XT-Temas 1.0.

Blog package already installed and configured: Mastop Publish 1.1 (with bugfix to Xoops 2.3.3) and AMS 2.51 final.

Custom server generated directory indices (with Snif - simple and nice index file).

Apanel servers, phpMyadmin, Xoops and modules translated into portuguese (of Brasil).

All servers are portable.

Change logs, allowing easy upgrade and expansion of translations.


The Xoops-Miniservers Team
Print article
« 1 (2) 3 4 5 ... 8 »


Who's Online

37 user(s) are online (1 user(s) are browsing Publisher)

Members: 0

Guests: 37



Goal: $100.00
Due Date: Sep 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits