Hey Support Guys, I’m hoping you can help me with this, because I’m tearing my hair out (well, if I had any I would!)
My addon, in some cases (two separate installs) when I load the dashboard of the module, it seems to be parsing my template content which contains my front-end tags. I know this because it executes an ‘update’ call to the DB when it’s called, which increments my count by one everytime.
Simply refreshing the Module dashboard continually increments the count by one each time.
If I remove the tags from my front-end template it stops doing it - but I’ve dumped the debug_backtrace() into a file, which confirms that it’s executing the Template Parsing.
I thought at first to try an if(REQ!=”CP”) conditional, but the value of REQ is ‘PAGE’ (I’ve output this to a file to test as well.
Could it be something to do with Page Caching or anything such as that? I’m at a loss now where to go next to diagnose.
Regards,
C.
[Mod Edit: Moved to the Development and Programming forum]
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.