Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 2017-02-12 12:07:24

maverick
Member
From: Southeastern Michigan, USA
Registered: 2005-01-14
Posts: 976
Website

Re: Could we feasibly see unlimited CFs in 2017? :)

Destry wrote #303981:

I think 90% of the value of CFs is with articles.

So maybe it’s an iterative development; first the clan gets articles done to win the award, then repeat the process for the other content panels one at a time.

Unless doing it right means laying the groundwork upfront. It would not make sense to ask for an interim (article) version of CF’s only to rip it back out and re-do it to get it right across the board. Especially since people will jump on anything that’s put out and create a whole set of limitations going forward in the name of backward compatibility.

Offline

#17 2017-02-12 12:41:53

phiw13
Plugin Author
From: South-Western Japan
Registered: 2004-02-27
Posts: 3,670
Website

Re: Could we feasibly see unlimited CFs in 2017? :)

maverick wrote #303983:

Unless doing it right means laying the groundwork upfront.

This. Many times this.
I much prefer to wait a little longer to have this in core, in order to have a very solid foundation that works across multiple areas & content types.

Destry wrote #303981:

… I think 90% of the value of CFs is with articles…

I certainly would love to have some additional fields to “tag” images. One category is a bit limited at times.
(And I don’t run/manage/… your typical “photo” or ”gallery” types of sites. On two sites, images are important, but the gallery part is only a small subset of the whole thing).


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
phiw13 on Codeberg

Offline

#18 2017-02-12 14:50:42

Destry
Member
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,912
Website

Re: Could we feasibly see unlimited CFs in 2017? :)

maverick wrote #303983:

Unless doing it right means laying the groundwork upfront.

We could argue some things should go without saying in this community, but neither should we assume, I guess.

Offline

#19 2017-02-12 14:50:50

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 5,229
Website GitHub

Re: Could we feasibly see unlimited CFs in 2017? :)

phiw13 wrote #303984:

I certainly would love to have some additional fields to “tag” images. One category is a bit limited at times.

In the meantime, you can use my mini-plugin. And if you need more than one custom image, you need to edit the plugin code (it’s fairly straightforward). I have similar ones for files and links…


TXP Builders – finely-crafted code, design and txp

Offline

#20 2017-02-12 16:43:35

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 12,502
Website GitHub

Re: Could we feasibly see unlimited CFs in 2017? :)

maverick wrote #303983:

Unless doing it right means laying the groundwork upfront.

The groundwork has been laid. In terms of storage, the meta store can hold arbitrary meta data about any other table. The hard part is the other stuff: the UI and tags.


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

Hire Txp Builders – finely-crafted code, design and Txp

Offline

#21 2017-02-13 08:04:33

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,566
Website GitHub Mastodon

Re: Could we feasibly see unlimited CFs in 2017? :)

I can look at UI for this as my next Textpattern core job, since I’m at a bit of a brick wall right now. Not much else I can do to core until theme, languages and image area development is further along.

Although I’m using this time to try and get on with the .com site finally. So no rush or pressure for the above.

I’d need to know what constraints I have to work to with the panels, and how existing panes would change to accommodate new custom form fields being inserted.

Offline

#22 2017-02-13 11:32:10

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Could we feasibly see unlimited CFs in 2017? :)

jakob wrote #303988:

In the meantime, you can use my mini-plugin.

Oh, that’s a nice one that I can use right now, thanks Jakob!

Offline

#23 2017-02-13 12:09:35

phiw13
Plugin Author
From: South-Western Japan
Registered: 2004-02-27
Posts: 3,670
Website

Re: Could we feasibly see unlimited CFs in 2017? :)

jakob wrote #303988:

In the meantime, you can use my mini-plugin.

Yes, that is a handy little plugin. Been using it for a while, since you tipped me about in another thread.

And if you need more than one custom image, you need to edit the plugin code (it’s fairly straightforward). I have similar ones for files and links…

Can I? I need to investigate that.


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
phiw13 on Codeberg

Offline

#24 2017-02-13 16:29:57

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 5,229
Website GitHub

Re: Could we feasibly see unlimited CFs in 2017? :)

phiw13 wrote #303997:

Can I? I need to investigate that.

For tips, take a look at wet’s plugin template for adding fields to the user profile. Mine’s heavily based on that and his shows examples for two fields… You just need to add a second public tag on top of that.


TXP Builders – finely-crafted code, design and txp

Offline

#25 2017-02-13 17:22:11

maverick
Member
From: Southeastern Michigan, USA
Registered: 2005-01-14
Posts: 976
Website

Re: Could we feasibly see unlimited CFs in 2017? :)

Destry wrote #303987:

We could argue some things should go without saying in this community, but neither should we assume, I guess.

I apologize Destry if I was stating an unspoken understanding. I just wanted to emphasize the long term for me outweighs the short term.

Offline

#26 2017-02-13 17:39:18

maverick
Member
From: Southeastern Michigan, USA
Registered: 2005-01-14
Posts: 976
Website

Re: Could we feasibly see unlimited CFs in 2017? :)

Bloke wrote #303990:

The groundwork has been laid. In terms of storage, the meta store can hold arbitrary meta data about any other table. The hard part is the other stuff: the UI and tags.

To borrow a phrase I hear now and again, Awesome sauce!

Bloke wrote #303990:

The hard part is the other stuff: the UI and tags.

Imagining aloud:

Given the current admin design and layout, perhaps a new CF tab in the presentation grouping of tabs, like sections, pages, css, etc.? A list of custom fields that have been added, with the ability to see and edit the details. Then a button/link to add a new custom field. Once in add mode, you can pick what tab the custom field shows up on – write, image, link, a smd_tabber page, etc. Then if possible, perhaps pick the specific pane/panel/section, to add it too. Then (and I presume now a CF plugin would take over from the core), the settings for the new CF – textbox, radio button, etc. Click save and you are good to go.

Whether that is workable or desirable . . .

Another, even more user friendly, option might be the ability to go to a tab – say the write tab. Click an “edit tab” button. This then gives a layout of the page with the various subgroupings. Then click on a group and have the option to “add new field”.

Then again, maybe neither option is doable or desirable. Just thinking.

Offline

#27 2017-02-13 18:00:01

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,282
Website Mastodon

Re: Could we feasibly see unlimited CFs in 2017? :)

Would CFs be arranged/grouped by Sections? That is each Section would have CF unique to it. Would this help in the layout?


…. texted postive

Offline

#28 2017-02-13 18:04:23

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,397
Website GitHub Mastodon Twitter

Re: Could we feasibly see unlimited CFs in 2017? :)

bici wrote #304002:

Would CFs be arranged/grouped by Sections? That is each Section would have CF unique to it. Would this help in the layout?

Good idea but what happens to those CFs which are used in more than one section? Maybe an option would be to add a preference on a per CF basis to appear everywhere OR just in a section. Jquery could easily help with that.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#29 2017-02-13 18:19:26

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,282
Website Mastodon

Re: Could we feasibly see unlimited CFs in 2017? :)

Would making each category unique help?
i.e. in an Events Section i would name the CFs event_date, event_image, event_subtitle, etc

And in another section say Menu i would name the CFs menu_date, menu_image, menu_subtitle, etc even having addition ones such as menu_recipes, menu_full etc


…. texted postive

Offline

#30 2017-02-13 18:39:38

maverick
Member
From: Southeastern Michigan, USA
Registered: 2005-01-14
Posts: 976
Website

Re: Could we feasibly see unlimited CFs in 2017? :)

bici wrote #304005:

Would making each category unique help?
i.e. in an Events Section i would name the CFs event_date, event_image, event_subtitle, etc

And in another section say Menu i would name the CFs menu_date, menu_image, menu_subtitle, etc even having addition ones such as menu_recipes, menu_full etc

From a data entry stand point, when you go to the write tab, how would that work?

It definitely makes sense if CFs are only shown if relevant. From a work-flow stand point, if they are specifically tied to a section:

Wouldn’t you need to select your section first, before writing anything, and before saving it? Vs. the current just write. Worry about the details later.

And what if you want to change the section after you have saved it and perhaps added some section only CF data. Is that CF info deleted? orphaned?

Offline

Board footer

Powered by FluxBB