Something Odd with "cblink"

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
10/22/2012 11:06:27 AM
Gravatar
Total Posts 355

Something Odd with "cblink"

I just added a new page to be displayed in a color box, and added class "cblink" to the proper link. Colorbox works as it should if I'm logged in as admin, but not if I'm logged out - any ideas on this one?

10/22/2012 11:47:24 AM
Gravatar
Total Posts 18439

Re: Something Odd with "cblink"

Hi Carole,

Yes by default we're trying not to load extra javascript if it isn't needed. Colorbox is used for the file manager link in the toolbar for authenticated users with file upload permission so that control tells script loader to include colorbox, but if you sign out it isn't doing that.

If you are using colorbox links in content you can add this on <portal:ScriptLoader...IncludeColorBox="true" in layout.master to make it always include colorbox. We don't really have a way of detecting its use from the content so if using it in content you'll need that setting to explicitly tell script loader to include it.

Hope that helps,

Joe

10/22/2012 12:24:58 PM
Gravatar
Total Posts 355

Re: Something Odd with "cblink"

Much better - thank you!

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