Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2020-06-27 17:46:58

etc
Developer
Registered: 2010-11-11
Posts: 5,053
Website GitHub

Re: Outgrow links tab

Bloke wrote #324056:

The tricky thing with treating everything as an article with a bunch of fields, while noble, is that some types just don’t fit. Primarily, image, file, video, but there are others.

Note that I’ve always made a distinction between ‘physical’ images and their ‘presentation’ enhanced with captions and other garniture. And they are not exception: who says a text can not be stored in a file and imported where appropriate?

I’ve got no clear idea how things should be done. One can imagine that ‘articles’ are composed of ‘atomic’ items (like textual fields) and references to other ‘articles’ (like annotated images).

Offline

#14 2020-06-27 17:51:54

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,270
Website GitHub

Re: Outgrow links tab

etc wrote #324060:

Note that I’ve always made a distinction between ‘physical’ images and their ‘presentation’ enhanced with captions and other garniture. And they are not exception: who says a text can not be stored in a file and imported where appropriate?

True.

One can imagine that ‘articles’ are composed of ‘atomic’ items (like textual fields) and references to other ‘articles’ (like annotated images).

Also true.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#15 2020-06-27 17:52:40

etc
Developer
Registered: 2010-11-11
Posts: 5,053
Website GitHub

Re: Outgrow links tab

maverick wrote #324055:

I’m trying to wrap my head around some of this.

You are not alone :-) Yes, I think custom content types would be great, but many questions are still open.

Offline

#16 2020-06-27 18:08:22

etc
Developer
Registered: 2010-11-11
Posts: 5,053
Website GitHub

Re: Outgrow links tab

Bloke wrote #324062:

Also true.

Then we have just ‘fields’ and ‘files’ as atomic data, and just ‘article’ as content type. Current ‘images’ become image-type ‘articles’ with customizable data set (physical image, caption and whatever you need). ‘Normal’ articles can include them via ‘article_image’ field. Actually, that’s already possible, but not flexible enough.

Offline

#17 2020-12-24 15:40:48

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,599
GitHub Twitter

Re: Outgrow links tab

Thank you, Stef.
What good news! Custom fields with section sensitive display will reduce the amount of elements into the “Write” page and avoid affection errors by the final users (authors).


Patrick.

Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.

Offline

Board footer

Powered by FluxBB