2012-03-12 16:00:33

rsrc
New Member
alpha

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

 

2012-03-12 16:39:08

Els
Admin
omega
Real name: Els Lepelaars
From: The Netherlands
Known languages: nl, en, (some: de, fr, es, it)
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

 

2012-03-12 16:44:04

rsrc
New Member
alpha

Re: Custom field not being output on page

No actually it is “Price”

Offline

 

2012-03-12 16:52:08

MattD
Plugin Author
sigma
Real name: Matt Davis
From: Monterey, California
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

In a way, each of us has an El Guapo to face. -Lucky Day (Three Amigos)

Offline

 

2012-03-12 16:58:03

rsrc
New Member
alpha

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

 

2012-03-12 17:00:40

rsrc
New Member
alpha

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

 

Powered by FluxBB