Fabrik Home

Go Back   Fabrik > Fabrik 1.0.x > Community Support


Notices

Community Support For registered (ie non subscribers) to post to. Please feel free in helping out your fellow users

Reply
 
Thread Tools
Old 01-28-2007, 03:46 AM   #1
lacitpo
 
Join Date: Jan 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
lacitpo has not earned any Fabrik kudos yet
Default Custom Output Module - rewriting the module

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.

lacitpo is offline   Reply With Quote


Old 01-29-2007, 09:21 AM   #2
rob
Administrator
 
rob's Avatar
 
Join Date: Jan 2007
Location: La Rochelle France
Posts: 9,628
Thanks: 131
Thanked 437 Times in 413 Posts
rob is a Fabrik God rob is a Fabrik God rob is a Fabrik God rob is a Fabrik God rob is a Fabrik God rob is a Fabrik God rob is a Fabrik God rob is a Fabrik God rob is a Fabrik God rob is a Fabrik God rob is a Fabrik God
Default Re: Custom Output Module - rewriting the module

Hi The output of the forms and tables can be templated, using patTemplate files.
An example of how to d this for the table's can be seen in this thread
http://fabrikar.com/index.php?option...d=9&topic=16.0

Cheers
Rob
rob is offline   Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

» News
Fabrik 2.0.1 released
Please read this blog... [Read More]
Fabrik 2.0 stable released
Please read this ... [Read More]
» Unfuddle SVN
Project: Fabrik 2.x
Rev Comment
4047 fixed <= / >= url filters were incorrectly quoting numeric values
4046 changed: table group by dropdown in admin now allows you to select the raw version of the element
4045 added: table option to deleted joined data when deleting records fixed: several xhtml strict/css validation issues
4044 fixed: using user element in non default connection, any prefilter set up to use said element would generate an SQL error
4043 changed: db join element's concat statement now run through parsemessageforplaceholder()
4042 fixed: email form plugin. Generated error if sending from admin whilst using an article template
4041 fr-FR admin language file: element plugin - fabrikgooglemap
4040 added: digg & rating elements now work with js turned off fixed: some xhtml strict validation errors
4039 fixed: incorrect quoting of dbjoin table filter autocomplete hidden fields
4038 changed: plugin controller - pluginAjax() - now allows for noajax=1 where by $app does redirect (allows for use of ajax...
Powered by vBadvanced CMPS v3.0.0

All times are GMT. The time now is 02:42 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Template-Modifications by TMS
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios