Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » Archives
  3. » drop down lists for custom fields

#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

#32 2007-01-03 17:51:44

blueprint
Member
From: Netherlands
Registered: 2006-03-05
Posts: 43
Website

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

#33 2007-01-04 08:09:05

sthmtc
Member
From: CGN, GER
Registered: 2005-01-17
Posts: 586
Website

Re: drop down lists for custom fields

marios wrote:

You can count me in on that one

Offline

#34 2007-01-04 09:46:18

gerhard
Plugin Author
From: London, UK
Registered: 2005-06-29
Posts: 409
Website

Re: drop down lists for custom fields

OK guys, it seems we are go then ; ). If I won’t manage to have a go at it this weekend, it won’t be before the next just because I have a lot going on at the minute. Will keep you posted though! Cheers fellas.

Offline

#35 2007-02-05 10:42:32

tjnuckolls
Member
From: Los Angeles, CA
Registered: 2005-03-23
Posts: 23
Website

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: North Wales, UK
Registered: 2005-11-25
Posts: 1,095

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

#37 2007-02-16 03:05:46

Jeremie
Member
From: Provence, France
Registered: 2004-08-11
Posts: 1,578
Website

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. In other words, I’d get a lot of use out of this plugin. Thanks!

Indeed, I’ve been asking around about this since gamma :)

Maybe we should write how it would work precisely, and put some money on it.

Offline

#38 2007-02-16 15:38:22

gerhard
Plugin Author
From: London, UK
Registered: 2005-06-29
Posts: 409
Website

Re: drop down lists for custom fields

Guys, I’m sorry I have to keep you waiting for so long, but I’m totally swamped with work. You know the saying “take care what you wish for”…

I would very much like to code away TXP plugins, but I have so much stuff going on (not only profesionally) that I’m lost. Thank you for your patience, I’ll give you an update this weekend. Cheers, G.

Offline

#39 2007-03-05 07:24:53

tjnuckolls
Member
From: Los Angeles, CA
Registered: 2005-03-23
Posts: 23
Website

Re: drop down lists for custom fields

Bump.

[Is there any way for a non-programmer (like me) to help with this? I feel like I’m on the verge of being able to contribute more to the textpattern community, but I’ve had trouble so far, and helping with this plugin might be a good way to get started writing textpattern code if I had a little coaching. Just a thought since your time is understandably limited.]

Offline

#40 2007-03-20 01:30:03

gerhard
Plugin Author
From: London, UK
Registered: 2005-06-29
Posts: 409
Website

Re: drop down lists for custom fields

Hi guys, I feel really bad for not getting back onto you earlier, but I think I might have taken far too much work on during the last 2-3 months…

Anyways, the bottom line is that you have a great TXP user which I’m helping out for quiet a while now and we’re at the point where his project would greatly benefit from a custom_fields plugin. He’s actually using my “ancient” hack for drop-down lists, but the solution is simply not cutting it anymore (not to mention that it’s sooo hack-ish – which is a bad thing).

So, I am going to crack on with this plugin shortly and all you have to do – I know that this will sound really annoying – is hold onto your horses a wee more.

I don’t want to sound cheeky or anything, but would it be worth sorting out a “Paypal donate” type of link or something similar? That would definitely add an extra kick to the whole thing…

Offline

#41 2007-03-20 02:35:30

squaredeye
Member
From: Greenville, SC
Registered: 2005-07-31
Posts: 1,495
Website

Re: drop down lists for custom fields

gerhard,
I think wet may be working on this already :) You may contact him to see?


Offline

#42 2007-03-20 09:48:19

gerhard
Plugin Author
From: London, UK
Registered: 2005-06-29
Posts: 409
Website

Re: drop down lists for custom fields

Matthew, cheers mate for pointing this out. The thing I mostly hate is DRY. I just dropped Robert an e-mail enquiring about this further.

Offline

#43 2007-03-20 10:08:33

wet
Developer Emeritus
From: Vöcklabruck, Austria
Registered: 2005-06-06
Posts: 3,416
Website GitHub Mastodon

Re: drop down lists for custom fields

I’m trying to avoid NIH as much as possible, so I’ll be quite content if someone else comes up with a working solution. Mine wouldn’t be ready any time soon.

Offline

#44 2007-05-09 09:34:11

lozmatic
Member
From: Melbourne, Australia
Registered: 2006-08-27
Posts: 259
Website

Re: drop down lists for custom fields

This would be useful, indeed. But hacks are messy.

I think this would need to be a new feature in the next version of Textpattern where you would have an extra tab in Admin to manage custom fields – their type, their values, etc…

Last edited by lozmatic (2007-05-09 09:34:42)

Offline

#45 2007-05-10 12:14:52

gerhard
Plugin Author
From: London, UK
Registered: 2005-06-29
Posts: 409
Website

Re: drop down lists for custom fields

Hi guys, work is well underway on this project that offers a solution to the custom_fields shortcoming, but it’s a bit hacky hacky at the minute and not fully polished. It’s still a bit more to go before I’ll be able to release it as a plugin…

What I would like to ask the hard-core devs (Mary, Alex, Sencer etc.), is what would the best approach be:

A. Use serialization and store custom_field options in txp_prefs (val column would have to be changed to a full varchar at least)?

B. Use a separate table with just 2 columns, custom_x_set (e.g. Price, Weight etc.) and value (e.g. <1kg, 2kg-5kg, >5kg etc.) while txp_prefs would be used to store the type of the custom field (drop-down, checkbox etc.)?

I’m currently using B., thought about A. only later on in the project.

Offline

  1. Index
  2. » Archives
  3. » drop down lists for custom fields

Board footer

Powered by FluxBB