Hey,
I’m developing a module which stores different settings for its output and I’d like to enable a ‘preview’ section within the module.
Is there anyway I can parse the template code within the CP?
This sounds horribly horrid and wrong so I’m not expecting much luck here but if anyone has any ideas, much appreciated.
Hi Tony,
You are not alone.
I also have an extension which stores different settings (weblog URL templates) and I need to run strings saved as settings through full template engine.
I do not know if it is possible; for me it does not sound neither wrong nor weird.
There should be experienced add-on developers who know the answer. Perhaps, we should ask Leevi Graham?
Hi zortho,
I also tried this method and experimented with it in various ways but without success.
It seems that it is impossible to run strings saved as extension’s settings through full EE template engine.
My solution was this: to create just for particular extension - Entry Crumblink - a small template engine which will parse all needed tags and variables.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.