You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Dynamically change content based on file location in CMS?

Received Response
11
Views
2
Comments

Hi, bit of a random question -

I want to be able to dynamically change a bit of HTML based on where the file is saved in the Responsys CMS.

For instance, I have an include <#include = "defaultbrand.html"> which brings in content. If my content file is saved (somewhere) within my content folder called "HX" I want to automatically swap "defaultbrand.html" for "hxbrand.html". If my content file is saved somewhere within my content folder called "BN" I want to automatically swap "defaultbrand.html/hxbrand.html" for "bnbrand.html" etc etc.

Is this in any way possible?

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!