Open the command propmpt
First create the database by name alfrescotest
go to the location where your alfresco.sql is been stored which is been got from sqldump command and reun the below command
C:\Program Files\MySQL\MySQL Server 5.0\bin>mysql -u root -p alfrescotest < alfresco.sql
The command for exporting the databse is as below.
Open any location and run this command.
C:\Program Files\MySQL\MySQL Server 5.0\bin>mysqldump -u root -p alfresco > alfresco.sql
Monday, January 17, 2011
Friday, January 14, 2011
Folder structure in Share
D:\Alfresco3.3\tomcat\webapps\share
Inside webapps/share folder we have following folders
components
modules
templates
themes
yui
Basically these folders will have the css and javaScript, required by the modules
If you want change the look and feel then we have to touch these files.
For example if you take the example of creating the site then
C:\Alfresco3.4.3\tomcat\webapps\share\modules\create-site.js and C:\Alfresco3.4.3\tomcat\webapps\share\modules\create-site.css will be used.
The actual config files and logic will be available in the below folders.
D:\Alfresco3.3\tomcat\webapps\share\WEB-INF\classes\alfresco
site-webscripts : It will have the actaul webscript. WebScript response can be used as the dashlet by specifying the family, to use as user dashlet or site dashlet.
Alfresco uses the FormProcessor to do the validation of the fields,and changing the data from
our normal form to json format.
// Create the form that does the validation/submit
this.widgets.postForm = new Alfresco.forms.Form(this.id + "-form");
// To make the form submit json data
this.widgets.postForm.setSubmitAsJSON(true);
Inside webapps/share folder we have following folders
components
modules
templates
themes
yui
Basically these folders will have the css and javaScript, required by the modules
If you want change the look and feel then we have to touch these files.
For example if you take the example of creating the site then
C:\Alfresco3.4.3\tomcat\webapps\share\modules\create-site.js and C:\Alfresco3.4.3\tomcat\webapps\share\modules\create-site.css will be used.
The actual config files and logic will be available in the below folders.
D:\Alfresco3.3\tomcat\webapps\share\WEB-INF\classes\alfresco
site-webscripts : It will have the actaul webscript. WebScript response can be used as the dashlet by specifying the family, to use as user dashlet or site dashlet.
Alfresco uses the FormProcessor to do the validation of the fields,and changing the data from
our normal form to json format.
// Create the form that does the validation/submit
this.widgets.postForm = new Alfresco.forms.Form(this.id + "-form");
// To make the form submit json data
this.widgets.postForm.setSubmitAsJSON(true);
Folder Structure to be followed in Share for Dashlet
site-webscripts : This will have the ftl file, property file , description file and the controller file
site-welcome.get
site-welcome.get.desc
site-welcome.get.head.ftl
site-welcome.get.html.ftl
Configure custom dashlets
All of the dashlets provided by Alfresco Share are configured by using webscripts.
We just need to provide the family when configuring the webscripts.
Three families are available out of the box:
1. Site-dashlet
2. User-dashlet
3. Dashlet
If you want create new dashlet, just write the webscript which can be rendered by ftl. In the webscript mention the family to decide whether it is the dashlet to be available for the user or site or welcome page.
site-welcome.get
site-welcome.get.desc
site-welcome.get.head.ftl
site-welcome.get.html.ftl
Configure custom dashlets
All of the dashlets provided by Alfresco Share are configured by using webscripts.
We just need to provide the family when configuring the webscripts.
Three families are available out of the box:
1. Site-dashlet
2. User-dashlet
3. Dashlet
If you want create new dashlet, just write the webscript which can be rendered by ftl. In the webscript mention the family to decide whether it is the dashlet to be available for the user or site or welcome page.
Property file in WebScript(Share)
if we write the code in ftl
The property file should have the key as below
text.featureBook=Take a tour of some of the key features of the Alfresco Enterprise Content Management Implementation Book by Munwar Shariff.
Make sure the the names are as below
site-welcome.get.html.ftl
site-welcome.get.properties
By the name keys will be distinguished
${msg("header.featureBook")}
The property file should have the key as below
text.featureBook=Take a tour of some of the key features of the Alfresco Enterprise Content Management Implementation Book by Munwar Shariff.
Make sure the the names are as below
site-welcome.get.html.ftl
site-welcome.get.properties
By the name keys will be distinguished
Tuesday, January 11, 2011
Liferay And Alfresco Integration
1. Install Alfresco in port 9080, ftp 31
2. put the below lines in alfresco-global.properties
authentication.chain=alfrescoNtlm1:alfrescoNtlm,external1:external
external.authentication.proxyUserName=
For handling the authentication
In liferay
1. Change the catalina.properties inside conf folder to
shared.loader=${catalina.base}/shared/classes,${catalina.base}/shared/lib/*.jar
so that it will load the war file
2.Copy the webExtension folder to liferay tomcat/shared/classes/webextension
3. Now rename the sample file to shared-config-custom.xml and make sure the ports are correct
4. Now you should be able to acces
2. put the below lines in alfresco-global.properties
authentication.chain=alfrescoNtlm1:alfrescoNtlm,external1:external
external.authentication.proxyUserName=
For handling the authentication
In liferay
1. Change the catalina.properties inside conf folder to
shared.loader=${catalina.base}/shared/classes,${catalina.base}/shared/lib/*.jar
so that it will load the war file
2.Copy the webExtension folder to liferay tomcat/shared/classes/webextension
3. Now rename the sample file to shared-config-custom.xml and make sure the ports are correct
4. Now you should be able to acces
Monday, January 10, 2011
Alfresco Add Ons
Download the add on from the location
http://wiki.alfresco.com/wiki/Community_Edition_3.2_file_list
http://process.alfresco.com/ccdl/?file=release/community/build-2039/alfresco-community-office2003-addins-3.2.zip
Run throgh the wizard and install the plugin
Now open any Microsoft documents then you will be able to see the Addins tab in the
document
Now click on that and configure Alfresco by giving the correct userName and Password.
Now you can perform all the operations.
http://wiki.alfresco.com/wiki/Community_Edition_3.2_file_list
http://process.alfresco.com/ccdl/?file=release/community/build-2039/alfresco-community-office2003-addins-3.2.zip
Run throgh the wizard and install the plugin
Now open any Microsoft documents then you will be able to see the Addins tab in the
document
Now click on that and configure Alfresco by giving the correct userName and Password.
Now you can perform all the operations.
Subscribe to:
Posts (Atom)