Custom Field Names
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Custom Field Names
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
- Regular
- Posts: 450
- Joined: Thu May 26, 2005 10:43 am
- Location: Bonn, Germany
- Contact:
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Very beginner, what do you mean?
Regards,
Garvin
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
i mean, i've just install a fresh 0.9 serendipity blog,
i'm looking at customizing the comment form :
i would like to add some more fields, and hook to save them in a separate table
so i've been searching the forum about that, and came across that post
i thought i was quite near from what i wanted,
i may have not search enough, but i'm trying to customize this in a way i can easily upgrade afterwards.
i suspect i should find an answers somewhere, i will find harder...
i'm looking at customizing the comment form :
i would like to add some more fields, and hook to save them in a separate table
so i've been searching the forum about that, and came across that post
i thought i was quite near from what i wanted,
i may have not search enough, but i'm trying to customize this in a way i can easily upgrade afterwards.
i suspect i should find an answers somewhere, i will find harder...
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Ah, okay. Adding custom items to that form is not possible as easily, but you can do it.
I suggest you to look at these things:
templates/default/commentform.tpl
include/functions_comments.inc.php
/comment.php
Modifying your table should also be possible. Abstracting the issue would also work, and could then offer this as a plugin, but it is still a few hours of work to do...
If you are able to abstract the functionality, we can gladly patch it into our core, so you're safe for upgrading. It will only be a few lines of serendipity_plugin_api::hook_event() calls, so you might want to look at that?
Best regards,
Garvin
I suggest you to look at these things:
templates/default/commentform.tpl
include/functions_comments.inc.php
/comment.php
Modifying your table should also be possible. Abstracting the issue would also work, and could then offer this as a plugin, but it is still a few hours of work to do...
If you are able to abstract the functionality, we can gladly patch it into our core, so you're safe for upgrading. It will only be a few lines of serendipity_plugin_api::hook_event() calls, so you might want to look at that?
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/