lacitpo
01-28-2007, 03:46 AM
I'm building a site for my warcraft server and I've set up a form for guilds to submit their information to be included in the server guild directory. I've got the form working great and it adding all the info submitted to a database but now I'm trying to automate the output.
I've got the output module installed but it is not exactly what I'm trying to do.
Can anyone point me in the right direction for creating my own custom module in which I could create a custom output. I have looked into the files and it appears that the module calls the "render" function to output the data table so it appears I would need to write a completely new output function. I'm just a little bit lost as to where to start. Can anyone point me in the right direction. I'm willing to do the work for myself, its just that I don't know where to start.
For a better example of what I'm trying to do, a guild would input the following information
Guild Name, Faction, Web site URL, and brief description. I would want to be able to have an output in the format of their guild name with the web site URL as a link below it, and then the description below it on a new line. I would also like to be able to have the 2 factions seperated into columns or even possible create seperate modules for each.
I've got the output module installed but it is not exactly what I'm trying to do.
Can anyone point me in the right direction for creating my own custom module in which I could create a custom output. I have looked into the files and it appears that the module calls the "render" function to output the data table so it appears I would need to write a completely new output function. I'm just a little bit lost as to where to start. Can anyone point me in the right direction. I'm willing to do the work for myself, its just that I don't know where to start.
For a better example of what I'm trying to do, a guild would input the following information
Guild Name, Faction, Web site URL, and brief description. I would want to be able to have an output in the format of their guild name with the web site URL as a link below it, and then the description below it on a new line. I would also like to be able to have the 2 factions seperated into columns or even possible create seperate modules for each.