In case you missed them, here are the slides from the Alfresco WCM roadmap webinar presented on Feb 2nd.

{ 0 comments }

Javascript API – Cross Repository Copy

by admin on October 29, 2009

Recently I have been asked a few times for an example of how to copy content from the DM Alfresco repository into the AVM (WCM) repo, so I thought I would post a simple example using the JavaScript API to help people get started. It can be a little tricky getting the paths etc correct if you are new to Alfresco, so hopefully this will assist.

The 3.1 JavaSccript API wiki page shows the required parameters:

ScriptNode copy(ScriptNode source, ScriptNode destination, String name)

Download the example web script here.  This web script is based on some example code taken from the Alfresco Forge project – FlexSpaces which contains some great examples of WCM web scripts.

[click to continue…]

{ 0 comments }

WCM Top Resources

by admin on June 26, 2009

There is a wealth of different resources available for Alfresco WCM including the Alfresco Wiki, the Content Community, forums, pre-recorded webinars to name but a few.  The following is a moving list of various resources for Alfresco WCM.  Please add a comment with your suggestions if you have found a valuable resource.  I aim to keep this list short, hence resources will be removed as they become out of date or are replaced.

Note:  These resources do not cover installation and setup.  For further information on installation see http://www.alfresco.com/products/ecm/enttrial/

[click to continue…]

{ 3 comments }

SURF Part 3 – Alfresco WCM Content

by admin on March 9, 2009

**NOTE: This articles uses features found in HEAD which are considered to be work-in-progress.  This article is for demo purposes only.**

In this article I will look at deploying and consuming WCM content from a SURF web application.  To make this very simple, we have created a standalone Tomcat 6 bundle which has an example SURF web application pre-configured (thanks to Michael Uzquiano for all the assistance!).  This is the same web app as used in the previous articles, so all previous material is still relevant.

Once the Tomcat bundle is deployed and your WCM instance configured, you will have working examples of:

  • An AVM layout separating Surf content (components, templates etc) and Web content (XML content, CSS, images etc).
  • Deployment configuration allowing the Surf and/or Web content to be deployed to a local file system directory.
  • An FSR – configured for the deployment as above
  • A Surf website example of including static content e.g. an HTML file from the local file system.
  • A surf website example of dispatching dynamic content from the remote Alfresco repository.
  • Web form examples for the creation of example content.

Initially I will describe the steps required to get up and running, and then I will dissect the configuration so that we fully understand how it is working.

[click to continue…]

{ 19 comments }

This screencast covers the basics of Deployment And Delivery of Static Content using Alfresco WCM. It was written towards the end of 2008 and is available also on the Content Community for download, along with sample files.

Its designed as a basic introduction to the WCM product and provides information on :

  • Setting up a web project
  • Importing content
  • Basic content editing/authoring
  • Simple deployment using an File System Receiver (FSR)

[click to continue…]

{ 0 comments }

SURF Part 2 – Pages and Navigation

by admin on February 19, 2009

During part 1, the process of creating a simple web page using the SURF framework was discussed detailing creating a basic template and various components.  Next I will look at adding additional pages and building some simple navigation utilising SURF’s “Page Association” features.

[click to continue…]

{ 4 comments }

SURF Part 1 – Getting Started

by admin on February 2, 2009

This article is a step-by-step guide to manually building a simple standalone web site with the SURF framework. This will familiarise you with some of the major components and building blocks used by SURF and provide a good foundation for understanding how Web Studio works under the covers.

As described by the Alfresco Wiki – Alfresco Surf is a lightweight, scriptable web framework built on top of Alfresco’s Web Script and Templating runtime.  It is packaged as a single WAR file meaning it can exist as a standalone application.  One of the nice things about the SURF framework is that you do not HAVE to use Alfresco, or any other data source to construct a web application, so for the purposes of this example, we will simply construct a basic standalone website without using Alfresco. We will take a static HTML web site template, componentise it and demonstrate loading different areas of the page using very basic Web Scripts.
[click to continue…]

{ 9 comments }

XML Processing Using JSP / JSTL

by admin on January 16, 2009

Recently I have been using Will’s libary for processing XML files in at request time using JSTL, and thought i would post some working examples which may be of use.

[click to continue…]

{ 0 comments }

Here is a very simple example of using alf:parseXMLDocuments with both XSL and Freemarker. This example will effectivley load all XML output files from the root dir of type ‘blog-article’ and complie them into an output rendition.

Download the example files here or [click to continue…]

{ 11 comments }

TinyMCE – Valid Tags

by admin on December 4, 2008

TinyMCE by deafult will strip specific tags unless specified not to. For example the Flash <object> tag. These tags can be added in C:\alfresco\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\web-client-config-wcm.xml so that they are not stripped upon save. For example:

[click to continue…]

{ 0 comments }