2

I have a Channel Entry field that contains a table. I need the caption to contain the title. I tried:

<caption>{title}</caption>

Thinking it would work, given that it's within the scope of the Entry, but that didn't work.

What would I need to write?

2
  • You'll need to provide some more details. Is {title} within a channel entries loop? May 13, 2013 at 15:11
  • Hi Jason, I don't mean within the a template. I mean within the Entry editor itself. May 13, 2013 at 15:20

1 Answer 1

0

You can use the Allow EE code plugin to... allow EE code within your fields.

You'd do something like this in your template:

{exp:allow_eecode}
  {your_custom_field}
{/exp:allow_eecode}

If your custom field has {title} in it, it should be processed.

Of course, you need to be careful with this because they could potentially enter any EE code.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.