timothy.mierzejewski-theprimacy
-
10/30/2013 8:27:08 AM
Changing widget content by user's location
Hello all,
We have some instances on our site where we want to show different content to the user based on where they're visiting the site from. For instance, a user from the state of Michigan would see one block of rich text, while a user from the state of Wisconsin would see a different block of rich text.
A few questions:
1. Is there any built-in location detection (by IP) that is built in with Kentico?
2. We keep our rich text content in widgets. Is there a good way to either swap out the text content of a Rich Text widget based on a condition (perhaps using a macro), or to make certain widgets visible based on a condition? I see that web parts and web part zones can use visibility macros, but widgets, oddly, don't appear to have that functionality.
3. If resource strings (like those in the UI cultures table) contain HTML markup, will that HTML be rendered if referenced in a user control? We were considering using different cultures as a possible solution to this, but we weren't sure if it's a valid way to go.
Thanks in advance for any guidance you have on these questions.
|