Comments (4)
From [email protected] on September 08, 2009 15:18:18
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)
from textpattern.
From stefdawson on September 23, 2010 06:37:54
On the radar. Will defer this topic to TXP 5 when custom fields are revisited as part of a wider enhancement.
Status: Confirmed
from textpattern.
From stefdawson on October 15, 2012 05:13:00
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.
Summary: populateArticleData() custom field handling
Status: Assigned
Owner: stefdawson
Cc: r.wetzlmayr
Labels: Milestone-4.6
from textpattern.
Should be covered by #456 in real terms, so closing for the moment.
from textpattern.
Related Issues (20)
- Textpattern 4.9.0 release flight plan HOT 17
- Incorrect layout on the plugins panel HOT 3
- RFC: Textpattern 4.9 is final 4.x release; Textpattern 5.0 next 'big' release HOT 6
- Edit file / missing file: non functional “delete” button
- Edit file / missing file: SQL error and warning when pressing ‘save’ HOT 1
- Edit file panel - some HTML & layout issues HOT 1
- utf8_en/decode() are deprecated in PHP 8.2 HOT 7
- PHP 8.4 compatibility tracking HOT 4
- Articles with status 'Hidden' do not return a `404 Not Found` response when requested but a `200 OK` HOT 1
- RFC: would `htmz` solve any problems? HOT 1
- Form names may contain hyphens or other 'strange' characters. Such form names do not work as 'txp::' shortcuts. HOT 7
- "Admin > Visitor logs" panel rendering gets caught in EasyPrivacy, a very popular ad blocking filter HOT 4
- Setting permlink_mode to '/title' and trailing_slash to 'No' causes reproducible 404 on single article view HOT 2
- Article write panel: Pluggable UI callback 'article_ui.extend_col_1' for volatile content missing HOT 1
- XMPP: Post to PubSub
- Preferences panel: problematic `labels` (disconnected from their respective input fields) HOT 3
- jQuery UI 1.13.3 is out HOT 1
- Update `CODE_OF_CONDUCT.md` to latest version
- MySQL 8.4 LTS compatibility tracking HOT 5
- Plugins panel elements on `dev` are wonky (potentially WIP?)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from textpattern.