Custom Field Plugin - Explaining Text and Yes/No-Fields

Creating and modifying plugins.
Post Reply
Atratus
Regular
Posts: 51
Joined: Fri Feb 09, 2007 7:41 pm

Custom Field Plugin - Explaining Text and Yes/No-Fields

Post by Atratus »

Hey,

is it possible to change the "Entry Properties"-Plugin so far that it is possible

1. to add some explaining text to the custom fields, so that I could describe what their function is?

2. to create custom fields that are yes/no fields, in shape of a radio-button? this would be much nicer than typing "yes" or "no" into that huge standard field.

I think a lot of coding would is needed here, but maybe someone who has the know-how and some free time would like to work on this? or maybe someone could explain to me how to do this...

So long!
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Custom Field Plugin - Explaining Text and Yes/No-Fields

Post by garvinhicking »

Hi!

No, both are not planned for that; you would need to create your own event plugin to show/use things like that.

The Custom entryproperties are a tradeoff of simplicity to enhance and flexibility. You cannot easily instruct on how to render the fields without the configuration getting hilariously complex. But since complexity is not the aim of the plugin (simplicity is), we can't combine those two things together. For more flexibility, thus, the usage of own event plugins is advised. Event plugins are not hard to code, there are many examples of plugins interfacing to the backend. The most simple I can think of is serendipity_event_mymood or serendipity_event_metadesc .

HTH,
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/
Atratus
Regular
Posts: 51
Joined: Fri Feb 09, 2007 7:41 pm

Re: Custom Field Plugin - Explaining Text and Yes/No-Fields

Post by Atratus »

Hum okay, yes I understand your points. Okay, it was just an idea.
Well, maybe someday I'm getting my own plugin to work. we will see.

anyway: thank you very much!
Post Reply