Textpattern Forum

You are not logged in. Register | Login | Help

#1 2012-03-12 16:00:33

rsrc
New Member
Registered: 2012-01-25
Posts: 9

Custom field not being output on page

Hi,

I have inserted the following tag in a form:

<txp:custom_field name=“Value” />

When I look at the page output this field is not present.

I can’t figure out what the issue is – I’ve checked the article in the textpattern database table to make sure the value of the custom field is stored properly, and it is.

Does anyone have any ideas for me of why this isn’t working? It seems like it should be very straightforward…

Thanks,
rori

Offline

#2 2012-03-12 16:39:08

Els
Admin
From: The Netherlands
Registered: 2004-06-06
Posts: 7,388
Website

Re: Custom field not being output on page

Is Value the exact name of your custom field?


<txp:Els /> ;)
Tag Reference | Unexpected behaviour? Check the tag trace | Still no clue? Check the names of your custom fields

Offline

#3 2012-03-12 16:44:04

rsrc
New Member
Registered: 2012-01-25
Posts: 9

Re: Custom field not being output on page

No actually it is “Price”

Offline

#4 2012-03-12 16:52:08

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,188
Website

Re: Custom field not being output on page

Does <txp:custom_field name="Price" /> work?

Last edited by MattD (2012-03-12 16:52:44)


My Plugins

Piwik Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker

Offline

#5 2012-03-12 16:58:03

rsrc
New Member
Registered: 2012-01-25
Posts: 9

Re: Custom field not being output on page

No it doesn’t…

I’m using glz_custom_fields also… although the syntax is supposed to be identical

Offline

#6 2012-03-12 17:00:40

rsrc
New Member
Registered: 2012-01-25
Posts: 9

Re: Custom field not being output on page

Ok, the problem seems to be resolved now, I had to go back into the individual articles that have the custom field and re-save them… not sure why but I’m just happy it works

Offline

Board footer

Powered by FluxBB