Embedding Global Features in HTML block

A place for discussion about skinning and design. Before posting questions here you should review the documentation about creating skins.

This thread is closed to new posts. You must sign in to post in the forums.
5/7/2012 11:07:00 AM
Gravatar
Total Posts 5

Embedding Global Features in HTML block

I was curious if anyone had any luck adding a global feature into the middle of an HTML feature. I basically have a small global HTML feature that makes more sense to not be divided into its own area but instead exist among the main content of a number of pages. I would like to avoid having to update all the pages where this needs to exist and instead only change it once.


Can I treat existing features like a user control? If so what is it that I am not seeing? If not is there a way to accomplish this?

Thanks

5/7/2012 3:00:22 PM
Gravatar
Total Posts 18439

Re: Embedding Global Features in HTML block

Hi,

Take a look at the article Publishing the Same Content on Multiple Pages.

Hope that helps,

Joe

5/7/2012 4:33:12 PM
Gravatar
Total Posts 5

Re: Embedding Global Features in HTML block

Hey Joe,

Thanks for the reply but I was looking more specifically about adding something like a user control statement in the source view of an html feature to add global features that way. The reason for this is that the visual divisions between features looks right for the majority of my site, but in a few cases I have a need for a global resource but I don't want the visual break that comes along with adding it as a separate feature.

5/7/2012 4:50:10 PM
Gravatar
Total Posts 18439

Re: Embedding Global Features in HTML block

Sorry but you cannot put server controls or server side code in the html wysiwyg editor and you can't use included CMS content features inside other CMS content features. You would have to build a custom feature that has your control in the middle and editable html above and/or below it. You could easily make the html parts as simple module settings sort of like what we have for the upper and lower side bar content in the blog, so it would be pretty easy to build a feature like that if you are a developer.

Hope that helps,

Joe

5/7/2012 4:54:05 PM
Gravatar
Total Posts 5

Re: Embedding Global Features in HTML block

Ah a custom feature, it seems so obvious now! Thanks for the help it makes it so much easier getting advice from the system architect.

You must sign in to post in the forums. This thread is closed to new posts.