Archive for the ‘IT Systems’ Category

How to Fix the Firefox Font (Windows)

Comments Off

If you think the font in Firefox on Windows XP looks horrible it may be because you are using the standard method of edge smoothing for screen fonts (which is the default). There is a setting you can adjust in your “Display Properties” to set the smoothing method to “ClearType”. Apparently Internet Explorer does this by itself but you need to do the following to enable it in Firefox:

1. Right-click on your Desktop and choose “Properties”.
2. Click on the “Appearance” tab.
3. Click the “Effects” button.
4. Select the checkbox for the “Use the following method to smooth edges of screen fonts” option and set the drop-down list to “ClearType”.
5. Click OK to exit.

This is illustrated below:

Setting "ClearType" smoothing method.


Alfresco 4: Restoring From a Cold Backup (Windows)

5 Comments »

For the sake of this article, assume Alfresco 4 has been installed to C:\Alfresco (the application directory) and that the dir.root directory is C:\Alfresco\alf_data. The name of the database being used is simply “alfresco“.

This article assumes you have been following the Alfresco cold backup procedure documented in the following Alfresco Wiki page. Note that it is essential that you are keeping a dump of the Postgresql database along with a copy of the dir.root data directory from the point in time of the database dump.

http://wiki.alfresco.com/wiki/Backup_and_Restore

There are a couple of changes to the restoration procedure on that Wiki page when it comes to Alfresco 4. This is mostly down to the fact that it uses the Postgresql database platform. You may have noticed that the database files are stored in ‘dir.root/postgresql’  directory which complicates things a little? OK, the restoration procedure is as follows:

Read the rest of this entry »


Alfresco: Change Company Home Name

Comments Off

To change the “Company Home” name in Alfresco Explorer you must perform the following configuration:

  • Stop the Alfresco service.
  • Find the appropriate webclient properties file for your language. For example, to change this setting for English (US) you would open and edit the following file in a text editor: 

    tomcat/webapps/alfresco/WEB-INF/classes/alfresco/messages/webclient_en_US.properties”

  • You will see this file containts a list of key/value pairs. Do a search for “Company home” and edit the value accordingly.
  • Restart Alfresco.

Enable Versioning For All Documents In Alfresco 4

2 Comments »

Version of Alfresco used:  4.0b

The following steps show how to enable version control for all documents in Alfresco 4. In a nutshell, you are essentially adding the “Versioning” aspect as a mandatory part of the cm:content property (of which all content is derived).

Step 1:  Edit “contentModel.xml” File

  • Open the “contentModel.xml” configuration file in a text editor. This is found in “tomcat/webapps/alfresco/WEB-INF/classes/alfresco/model”.
  • Note that in previous versions of Alfresco this file was called “content.xml“.

Step 2:  Add in the Versionable Aspect

  • Find the “cm:content” type. This starts on line 83. In Windows, do CTRL+F and search for “cm:content”.
  • After the closing “</properties>” tag, add in the following text:

<mandatory-aspects>
<aspect>cm:versionable</aspect>
</mandatory-aspects>

  • Restart the Alfresco service.

To verify this has worked, add a new document to the system and check its properties. Its “Version History” block at the bottom of the properties screen should already be enabled.