gerhard / glz_custom_fields_public

glz_custom_fields contributors can raise bugs here and vote for features
16 stars 2 forks source link

Populate custom field values with PHP script #2

Closed gerhard closed 14 years ago

gerhard commented 14 years ago

Enable users to run their own PHP scripts and populate values for custom fields. This is trigger words functionality taken to the next level. These are the default scripts which will be provided:

There will be an example which will include how to fetch values based on various criteria. It's plain SQL so it should be pretty straightforward for most. As long as the script result adheres to the interface, anything can be passed into those values.

redbotxx commented 14 years ago

This would really bring textpattern to the next level. For example I could use a multiselect containing all files (for easy association with an article) or a select containing all sections (for fake subsections) or even a select which gets values generated by another custom field (this time a text input)... the possibilities are endless! P.S. I noticed the voting system was acting strangely the other day, adding a -1 insted of a +1 (one "-1" is mine, sorry. Of course I meant +1)

gerhard commented 14 years ago

Yes, indeed, this seems really exciting stuff, can hardly wait to get down and code the thing.

No idea why the voting system is playing up. What I do know though is that this is going to be one of the first features to be developed since it has the most votes : ).