Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: drop down lists for custom fields
Hey! gerhard! Welcome back!
and thanks to share that files.
Offline
Offline
#27 2007-01-03 04:16:43
- eric2007
- Member
- Registered: 2006-05-25
- Posts: 18
Re: drop down lists for custom fields
This is just what I need. This function should definitely be included on the next TXP release.
How do you set it up on 4.0.4?
Last edited by eric2007 (2007-01-03 04:17:42)
Offline
Re: drop down lists for custom fields
Hi guys,
long time no hear :).
My programming skills and the knowledge of the inner-workings of TXP went up a few notches since March and, if you would be interested, I could put together a plugin that would do just the things you’ve seen in that custom_advanced snapshot.
The way I’m thinking for the plugin to work
In custom field, specify the name like this Custom1*(radio):value1,value2,value3. The star on value2 tells the parser that it’s the value that should be selected.
The only way I can do this plugin is for a ransom. You decide how much that should be ;). I’ll leave you to it chaps.
eric2007 wrote:
How do you set it up on 4.0.4?
Eric, I don’t really know how much different TXP 4.0.4 is from 4.0.2 (or whichever version is that I originally created the hack for). Unless you have a decent command of PHP, I wouldn’t advise hacking txp_forms and txp_article. If you still want to have a go, back-up the originals before proceeding.
Last edited by gerhard (2007-01-03 10:17:14)
Offline
#29 2007-01-03 12:17:55
- marios
- Archived Plugin Author
- Registered: 2005-03-12
- Posts: 1,253
Re: drop down lists for custom fields
@gerhard.
definetely a nice thought out project.
Do you consider to combine that with configuration selects (between radio, pupup and input textarea ) in advanced prefs for publisher rights level below each custom fied prefs table row ?
regards, marios
⌃ ⇧ < ⎋ ⌃ ⇧ >
Offline
Re: drop down lists for custom fields
marios wrote:
Do you consider to combine that with configuration selects (between radio, pupup and input textarea) in advanced prefs for publisher rights level below each custom fied prefs table row ?
I am not 100% that I understand what you are asking, but if you mean setting the type of the custom field by clicking on a radio button rather than entering manually, then yes, it’s no biggie on my end.
Any more opinions in regards to this plugin?
Offline
#31 2007-01-03 14:05:51
- marios
- Archived Plugin Author
- Registered: 2005-03-12
- Posts: 1,253
Re: drop down lists for custom fields
gerhard wrote:
I am not 100% that I understand what you are asking, but if you mean setting the type of the custom field by clicking on a radio button rather than entering manually, then yes, it’s no biggie on my end.
That’s what I meant.
Any more opinions in regards to this plugin?
You can count me in on that one
regards, marios
Last edited by marios (2007-01-03 14:06:13)
⌃ ⇧ < ⎋ ⌃ ⇧ >
Offline
Re: drop down lists for custom fields
I think it would be a great idea to have such a plugin available for custom fields. I’m busy with building my own site, and this would make my life much easier and pleasant.!!
Offline
Re: drop down lists for custom fields
marios wrote:
You can count me in on that one
Offline
Offline
Re: drop down lists for custom fields
Just to throw in my two bits. I believe this is a plugin, that would become invaluable in helping developers simplify a user’s interaction with the write tab. In other words, I’d get a lot of use out of this plugin. Thanks!
Offline
#36 2007-02-13 11:30:18
- masa
- Member
- From: Asturias, Spain
- Registered: 2005-11-25
- Posts: 1,091
Re: drop down lists for custom fields
tjnuckolls wrote:
Just to throw in my two bits. I believe this is a plugin, that would become invaluable in helping developers simplify a user’s interaction with the write tab.
I totally agree. Any news about the progress? :-)
Offline