Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#25 2005-04-23 15:05:54

sthmtc
Member
From: CGN, GER
Registered: 2005-01-17
Posts: 586
Website

Re: Custom Fields: rei_show_custom

> Andrew wrote:

> just fyi – changeset 309 now introduces <txp:custom_field /> as a core feature.

finally!! this is sweet.
i just tried it but i’m not sure how to use it… how can i display customfield 2 ?
i tried <txp:custom_field2 /> and <txp:custom_field id=“2” /> but this doesn’t work…

Offline

#26 2005-04-23 15:11:11

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Custom Fields: rei_show_custom

Well, if the name of your field is “custom2”
<txp:custom_field name="custom2" />

Offline

#27 2005-04-23 15:19:54

alicson
Member
Registered: 2004-05-26
Posts: 465
Website

Re: Custom Fields: rei_show_custom

if your name has spaces in it, will it take it with the spaces?
name="boxes and bears" /> ?

i’ve not upgraded to the latest rc3 yet… maybe later today


textpattern.org :: find and share Textpattern resources
docs.textpattern.io :: Textpattern user documentation

Offline

#28 2005-04-23 15:44:16

domfucssion
Plugin Author
Registered: 2004-10-23
Posts: 39

Re: Custom Fields: rei_show_custom

yeah, spaces are ok

Offline

#29 2005-04-23 15:44:35

andreas
Member
Registered: 2004-02-28
Posts: 453
Website

Re: Custom Fields: rei_show_custom

To display custom fields you have to use their names, not their number. You define the names in /lib/admin_config.php

e.g. <txp:custom_field name="firstField" />

Offline

#30 2005-04-23 15:45:44

andreas
Member
Registered: 2004-02-28
Posts: 453
Website

Re: Custom Fields: rei_show_custom

Ah, the feckin forum is broken again so I didn’t see that there were answers already.

Offline

#31 2005-04-23 23:02:55

blumie607
Member
Registered: 2004-03-08
Posts: 175
Website

Re: Custom Fields: rei_show_custom

> andreas wrote:

> To display custom fields you have to use their names, not their number. You define the names in /lib/admin_config.php

e.g. <txp:custom_field name="firstField" />

If they are relying on using names, then they should finally take the custom fields from out of admin_config.php and put them in the admin section, in the database.


bludrop studios .::. Creative Expression

Offline

#32 2005-04-24 05:47:59

alicson
Member
Registered: 2004-05-26
Posts: 465
Website

Re: Custom Fields: rei_show_custom

i believe someone’s working on an admin plugin to make custom fields acceessible through the admin panel. ….right?


textpattern.org :: find and share Textpattern resources
docs.textpattern.io :: Textpattern user documentation

Offline

#33 2005-04-24 12:38:57

andreas
Member
Registered: 2004-02-28
Posts: 453
Website

Re: Custom Fields: rei_show_custom

I suppose that now the tags have come up there will also be an admin panel option for defining the custom fields. That’s just my guess.

Offline

#34 2005-04-24 13:23:49

domfucssion
Plugin Author
Registered: 2004-10-23
Posts: 39

Re: Custom Fields: rei_show_custom

Yes, alicson. That is correct… I have stalled progress for a while until what andreas predicts doesn’t come true.

If the functions and naming go native, the only difference in my plug-in is the ability to only show the custom fields relevant to the current section… so I will finish it. The goalposts just seem to moving nearer as we type.

One thing I have noticed though is that 10 fields split between a lot of sections quickly run out so I was considering a completely separate custom fields implementation with unlimited fields.

can anyone comment on any plans to add custom naming to the txp interface, am i wasting my time?

Offline

#35 2005-04-24 18:39:48

alicson
Member
Registered: 2004-05-26
Posts: 465
Website

Re: Custom Fields: rei_show_custom

?
controlling the names of custom fields should be part of the txp interface, like the names of categories are.

i don’t know how the code/php works… is there a reason why we absolutely cannot have more than 10 custom fields?


textpattern.org :: find and share Textpattern resources
docs.textpattern.io :: Textpattern user documentation

Offline

#36 2005-07-27 22:52:14

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: Custom Fields: rei_show_custom

Hi,

I recently “noted” the existence of the custom fields in TXP. I mean, I know that they were there, but I didnt use them (and I have more than 1 year using TXP, since RC1 was released).

Now, I’m investigating this custom fields, and they are still a mistery for me.
I have a few questions… maybe someone can enlight me.

1. since when this custom fields exist in TXP? they where in RC1? I cant remember

2. which is the reason for this fields to exist? I mean, I cant figure out any use IF the “rei_show_custom” plugin wasn’t invented. So, in other words, if this plug-in wouldnt exist, what can you do with the custom fields? which was their function “originally”?

3. Now, I have read that in the latest TXP version, there is a “txp:custom_field” tag… this new tag… ¿replaces and makes obsolete the “rei_show_custom” plugin?

4. this new tag “txp:custom_field”, is it supported in the official RC3? (I mean in the one that you can download from textpattern.com)

I consider myself an “intermediate” TXP user, but this custom fields are a mistery, and the lack of documentation about them doesn’t help. <ins>I should have done a better search http://forum.textpattern.com/viewtopic.php?id=8524. But if someone still wants to answer my question, I will be pleased and there will be more information and more points of view about custom fields</ins>.

Thanks in advance. <small>Excuse my ignorance and excuse my english</small>

Last edited by maniqui (2005-07-27 23:00:17)


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

Board footer

Powered by FluxBB