Open GoogleCodeExporter opened 9 years ago
Another solution would be to use the actual table column names (custom_1)
instead of
the user-defined labels for those columns. If you want to sort on custom
fields, you
have to use those table column names anyway and it solves problems with labels
as
shown below, not to mention the fact that it would get rid of some ugly hacks to
actually get the labels working properly on the public side:
'custom_1' => "spaces, i haz 'em"
<txp:article custom_1="something" /> (OK)
<txp:article spaces, i haz 'em="something" /> (FAIL)
Original comment by r...@vanmelick.com
on 8 Sep 2009 at 10:18
On the radar. Will defer this topic to TXP 5 when custom fields are revisited
as part of a wider enhancement.
Original comment by stefdawson
on 23 Sep 2010 at 1:37
Roll in as part of the Key/Value store (see Issue 275 and Issue 277).
Subtext: custom field key *names* to be sanitized so they can be used in
txp:article_custom, provided the names don't clash with existing attributes or
table columns. A well-known prefix would do.
Possible option to enhance article_custom to use custom_n= attributes as well,
depending on the way the key store is implemented.
Either would be a boon for multi-lingual implementations.
Original comment by stefdawson
on 15 Oct 2012 at 12:13
Original issue reported on code.google.com by
netcarv...@gmail.com
on 23 Jul 2009 at 1:06