Forum Discussion
gcv_194101
Apr 29, 2015Nimbostratus
Customized login page incorrectly replacing F5 variables
I have a customized footer that includes a few JavaScript variables to be used by some custom JS on the front-end, but when the footer.inc is inserted into the page, the code is pretty mangled. I've...
gcv_194101
Nimbostratus
Thanks for the reply, Seth! Unfortunately, I have applied this code to my footer.inc in the APM customization multiple times with no luck. However, I started poking around and I believe I may have a workaround for this issue. What I've done is create the variables in PHP and then let the PHP parser insert the values instead of the F5 parser. For some reason, F5 is able to play nicely with that setup. Here's how I ended up:
It's pretty hokey, but it seems to work! I'll continue testing and update this post as the fix if everything looks good.
Walter_Kacynski
May 04, 2015Cirrostratus
I've been challenged by this for a long time. As support described it to me these pages are delivered in two phases. First the PHP process runs and this output is piped to APM where it performs a find and replace on the %{} syntax.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects