Precautions for using mojoportal on a LAN or a single machine

Source: Internet
Author: User

Precautions for using mojoportal on a LAN or a single machine

When you can connect to the Internet, mojoportal works normally, but if you can only connect

Some additional work needs to be done when the local area network or local machine is running.

This is because we use Yui JavaScript library and jquery. We didn't release mojoportal

Contains these two libraries, because this will increase the size of the downloaded files. By default, the system will load them from Google CDN.


1: Download yui2.6.0 or later

2: copy the build folder from Yui, copy it to the/clientscript folder, and name it yui260 or another one.

3: In the Web. config file, set <add key = "usegooglecdn" value = "false"/>

4: Modify the relevant path. Take our yui260 as an example.

<Add key = "yuibasepath" value = "~ /Clientscript/yui260/"/>
<Add key = "yuitabcss" value = "~ /Clientscript/yui260/assets/skins/SAM/tabview.css "/>
<Add key = "yuiskinimagepath" value = "/clientscript/yui260/assets/skins/SAM/"/>

5. Download jquery. The latest version is 1.3.2. Therefore, I have created a/clientscript/jquery132 file.

Jqquery-1.3.2.min, put it in this folder, and name it jquery. Min. js

6. Set the correct path as follows:
<Add key = "jquerybasepath" value = "~ /Clientscript/jquery132/"/>
7. Download The jquery UI file, put the JS folder into jqueryui17, and 17 can be replaced by the actual version number.

Rename jquery-x.x.x.custom.min.js to jquery-ui.min.js
In the configuration file, the settings are as follows:

<Add key = "jqueryuibasepath" value = "~ /Clientscript/jqueryui17/"/>

Versions later than mojoportal2341 may no longer use Yui, so you can skip steps 1-4.

In addition, the jqueryui topic is set in jqueryuithemename = "South-street" in layout. master.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.