magic tags don't work
Hi. My magic tags don't work outside the main setup page: production/plugins/{@slugl} works fine for detail url field, but if i put {@name} in page title at Pages setup tab, or put them (after using get_field with appropriate fieldname) in the code or html, they just don't convert to values, staying as {@smth}. What could be the problem?
edited Sep 24 '10 at 7:39
1 Answer
Magic Tags are only used in Pod Templates. To use them elsewhere, you'll need to run them through this function:
$Record->parse_template_string('{@my_field}');
There are other options I'm sure you can figure out, but Pod Pages currently don't parse magic tags.


