Where is the "Is Global" attribute created?

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
3/26/2012 2:58:28 PM
Gravatar
Total Posts 355

Where is the "Is Global" attribute created?

I'm updating my plug-ins, and I'd like to add the "Is Global" attribute to them, but I'm not quite seeing where that gets incorporated in the code - pointers, please?

3/26/2012 3:09:42 PM
Gravatar
Total Posts 18439

Re: Where is the "Is Global" attribute created?

Its under the security tab in Settings for the feature.

You don't have to do anything to update your plugins. If you have a plugin that does not support re-use on multiple pages you could prevent the is global setting by adding this in the feature definition file:

supportsPageReuse="false"

Features like the Blog and WebStore have this because they use friendly urls that must have the correct page id in the real url that the friendly url maps to so they cannot be used on multiple pages, but it defaults to true if not specified.

Hope that helps,

Joe

3/26/2012 3:27:25 PM
Gravatar
Total Posts 355

Re: Where is the "Is Global" attribute created?

I was actually trying to sort out why it wasn't showing up under the "Security" tab for my custom features, and if I needed to add something to the feature definition file in order for it to appear. Good point about the friendly URLs - I've implemented that for the MegaGallery, and I'll test it to see if it needs to be set to "false". Thanks for the quick response!

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