Contribute  :  Support  :  Downloads  :  Forum  :  Links  :  Polls  :  Calendar  :  Directory  :  Advanced Search  
Geeklog The Ultimate Weblog System
Welcome to Geeklog
Thursday, May 15 2008 @ 11:37 PM EDT
   

Modifying Story Submission to support custom form layouts?

GeeklogGL long is great - easy to set up and chock full of features. I have an idea for a site that requires a few more form elements than the default installation supports.

I'm a PHP newbie and was wondering what templates, PHP code, and SQL tables I'd have to change along with what to add in order to add new fields for the Story Submisson area of GL.

Thanks.

Story Options

Modifying Story Submission to support custom form layouts? | 6 comments | Create New Account
The following comments are owned by whomever posted them. This site is not responsible for what they say.
specifics ?
Authored by: dreamscape on Tuesday, May 14 2002 @ 05:16 AM EDT
It would certainly help us help you if you could give us a pointer as to what \"fields\" you\'re referencing and what exactly you intend to store.

There\'s nothing stopping you from adding your own custom table, and some functions in lib-custom.php to gather/store/display the extra information you\'re talking about.

specifics ?
Authored by: Anonymous on Tuesday, May 14 2002 @ 05:23 AM EDT
Thanks for replying.

Initially, just 2-3 new fields like:

1) A drop down list of industries (as used by many job boards) - fixed, pre-populated data
2) A drop down list for rating something - numeric - i.e. 1-10
3) Another drop down list with assorted fixed, pre-populated data

This is basic stuff. Once I get a handle on what I need to change (and how), I can add items on my own.

Thanks again.


specifics ?
Authored by: dreamscape on Tuesday, May 14 2002 @ 05:37 AM EDT
Okay, that\'s a little better.

I imagine you want to tie these things to other objects. Ratings specifically.

I\'d still suggest you make your own tables and throw all (as much as possible) your code into functions in lib-custom.php
specifics ?
Authored by: Anonymous on Tuesday, May 14 2002 @ 05:42 AM EDT
Great. Does anyone have any examples of how to do this.

Creating a new table is no problem but seeing how such a modification was done would be most helpful.

Thanks.
specifics ?
Authored by: efarmboy on Tuesday, May 14 2002 @ 06:48 AM EDT
I\'d suggest a place to start is reading the plugin.html file under geeklog/docs. It provides good insight into your questions.
specifics ?
Authored by: Anonymous on Tuesday, May 14 2002 @ 07:14 AM EDT
thanks.