Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
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
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
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
Re: Custom Fields: rei_show_custom
Ah, the feckin forum is broken again so I didn’t see that there were answers already.
Offline
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
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
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
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
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, andThanks in advance. <small>Excuse my ignorance and excuse my english</small>
Last edited by maniqui (2005-07-27 23:00:17)
Offline