Cblink not working on the Home Page

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.
4/5/2016 9:54:55 AM
Gravatar
Total Posts 27

Cblink not working on the Home Page

Hello,

We are trying to use the CSS="cblink".  We cannot get it to work on the Home Page, but we can on any other page.   I have the suggested code to put into the Layout.Master. See below

<portal:ScriptLoader id="ScriptLoader1" runat="server" AssumejQueryIsLoaded="true" AssumejQueryUiIsLoaded="true" MojoCombinedFullScript="/mojocombined/mysitecombined.js"  IncludeColorBox="false

I did put it in the Data\Sites\1\skins\art42-wallpaper directory.  Should it be put in another directory for layout.master.

Any help would be appreciated.

Bob

4/5/2016 11:50:40 AM
Gravatar
Total Posts 92

mojoPortal Hosting & Design @ i7MEDIA!

Re: Cblink not working on the Home Page

Hi Robert,

If you're using the art42-wallpaper skin that directory is correct.

You need to change one small thing on your ScriptLoader control, change IncludeColorBox to "true":

<portal:ScriptLoader id="ScriptLoader1" runat="server" IncludeColorBox="true" />

Unless you know you need the other settings I would just use what I have provided above.

Setting IncludeColorBox="true" calls the Colorbox scripts on all pages.

HTH,
Elijah

4/5/2016 11:57:35 AM
Gravatar
Total Posts 27

Re: Cblink not working on the Home Page

Elijah,

I changed it and it still does not work on the home page.  This is a weird issue.  Could something be blocking it from working on the home page?  It works any other page that is a html page.  I appreciate the reply.

 

4/5/2016 1:40:33 PM
Gravatar
Total Posts 27

Re: Cblink not working on the Home Page

Elijah,

I don't know if this will help, but the page opens up like a normal page would versus how the ColorBox should.

4/5/2016 5:06:29 PM
Gravatar
Total Posts 92

mojoPortal Hosting & Design @ i7MEDIA!

Re: Cblink not working on the Home Page

Robert,

Do you have a site I could look at?

4/6/2016 11:46:22 AM
Gravatar
Total Posts 27

Re: Cblink not working on the Home Page

Unfortunately, it is an intranet site for law enforcement.  I can provide any code if that will help.

4/6/2016 12:01:19 PM
Gravatar
Total Posts 27

Re: Cblink not working on the Home Page

Elijah,

You can go to http://pcsoweb.com that is our external site.  We pretty much used the same code for the internal site.

4/10/2016 9:28:44 PM
Gravatar
Total Posts 92

mojoPortal Hosting & Design @ i7MEDIA!

Re: Cblink not working on the Home Page

Robert,

I can't really tell if this is the problem or not, but I do notice some JS errors caused but not having jQuery loaded to the page. If you have AssumejQueryIsLoaded="true" AssumejQueryUiIsLoaded="true" on the script loader and are not supplementing your own version of jQuery and jQuery UI, you need to remove AssumejQueryIsLoaded="true" AssumejQueryUiIsLoaded="true".

Unless I can see the actual site I don't think I'll be able to help much more, but I'm hoping that's the problem.

Best of luck,
Elijah

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