GithubHelp home page GithubHelp logo

Comments (4)

 avatar commented on May 22, 2024

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.

 avatar commented on May 22, 2024

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.

 avatar commented on May 22, 2024

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.

petecooper avatar petecooper commented on May 22, 2024

Should be covered by #456 in real terms, so closing for the moment.

from textpattern.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.