unissoft-bj / catdoc

catarc document management
0 stars 0 forks source link

eXo development #2

Open michaelyin opened 8 years ago

michaelyin commented 8 years ago

eXo Platform contains many sub projects such as ECMS, Social, Wiki, Calendar etc. You can open/edit one or all these projects. For example if you want to try ECMS, what you need to do is:

Install Maven and Git
Checkout code from github: git clone https://github.com/exoplatform/ecms.git

Now you can open/edit ECMS code by any IDE/editor you like. For example if you love Eclipse:

Go to ecms folder (it was created by command 'git clone' above). Enter: mvn eclipse:eclipse
Open Eclipse, import ECMS code in the ecms folder.

You can follow this link: http://docs.exoplatform.com/public/index.jsp?topic=%2FPLF41%2FPLFDevGuide.GettingStarted.SettingDevelopmentEnvironment.html&cp=2_3_0_3 to get more details.

To extend eXo Platform, these links might help you:

http://docs.exoplatform.com/public/index.jsp?topic=%2FPLF41%2FPLFRefGuide.PLFDevelopment.Extensions.html&cp=2_9_2_0 and

http://docs.exoplatform.com/public/index.jsp?topic=%2FPLF41%2FPLFDeveloperGuide.eXoAdd-ons.PortalExtension.html&resultof=%22extension%22%20%22extens%22%20

michaelyin commented 8 years ago

combined source code: https://repository.exoplatform.org/content/repositories/exo-snapshots/org/exoplatform/platform/distributions/plf-community-sources/4.4.x-upgrade-tomcat-7x-SNAPSHOT/

michaelyin commented 8 years ago

How to modify login box in eXo 4.0.0 ? https://community.exoplatform.com/portal/intranet/forum/topic/topicc4f3747c0a2106c652c6ed64648cb672

michaelyin commented 8 years ago

where is document stored in eXo? It appears that eXo stores its content etc in 3 locations; most goes into a JCR (including article tags in a rather strange folder structure), some goes into a DB (including article metadata), and the articles themselves go into a non-intuitive file system structure.

It seems that the articles themselves are under so a strange fold "platform-4.0.5\gatein\data\jcr\values\collaboration_portal\6\0\a\0\5\e\2\e109bdc164e8041cd43142672" ?

Could you help list the detailed folder and tables that used to save the document and related info?

Will appreciate if you could also show the java file that used to save the realationship when uploading file.

A: How eXo JCR stores its content is implementation specific, you have to consider it as a black box. It is now allowed to access to the files managed by eXo JCR directly, the only way to access to your content is to rely on the standard JCR API

michaelyin commented 8 years ago

How to create Home page before login page as like online exo?

By setting default your portal intranet will be private mode. It means to access any pages inside then you have to login.

To do your requirement:

  1. You have to public your intranet portal: Administration -> Portal -> Sites -> Edit Site Configuration -> Permission Setting tab -> choose public to everyone.
    • By this way you can configure permission for any pages you want (default is private page, then you still need to login to access all pages)
  2. Create a new page (we call Welcome page). This page you set it is Public.

To do that: Administration -> Portal -> Sites -> Edit Navigation -> move Welcome page right under Home page (see image)

By this way when users access your intranet they cannot access the Homepage directly (this page is private - need login) then it automatically show Welcome page as Entrance page

To decorate login page you can change in login.jsp file in your tomcat (easiest way)