I want to have different post processing settings for desktop, mobile, tablets without creating mobile or tablet specific webskins. What I was attempting was:
Set desktop, mobile, tablet settings in a postprocess config area in the webtop
On the displayBody.cfm skins have something like:
Which would lookup the settings based on the current device type. The last part is just in case something was wrong with the lookup.
If I dump the above fapi code it is outputting what I expect it to however it doesn’t work as a part of @@postprocess. Is there any way to get this to work? Or am I approaching this all wrong?
Pro - it can be convenient (and a little more compact) to have the
postprocessing setting in a comment at the top.
Con - if there’s a lot of output in the webskin, doing the regex checks on
the entire output instead of just the stObj can have a performance impact.
Thanks Blair. Using the @@postprocessing comment at the top is what I would normally use but just in this case I couldn’t get it to work when calling fapi.getConfig etc.