Hi, Working with alfresco 3.4d, I have read and experienced tutorial about Alfresco WQS (Web Quick Start), it's working nice. using WQS, I can modify and publish the template provided by alfresco.
But i want to create my own template for two reasons (at least) : - I'm migrating an already existing site, so navigation through my future site must be the same as the old one. - My future site is in french, so I have to modify in many places in order to translate it all.
Is it possible to do this by just importing and modifying alfresco default template ? I started to do this but i'm wondering if it's not easier to build my own templates. And if yes, how can i make my own templates ? I read some tutorials about WSF but i'm confused when i see also talking about Web Studio and other frameworks (Struts …?) can you please give me some information about how to create alfresco templates, like the one provided by alfresco (wcmqs), from "scratch" i'd say
The sample quick start app is just a Spring app that uses web scripts for views. The page layout is achieved through freemarker. The freemarker template divides the page into regions. Each region is populated by a web script. Web scripts use freemarker for the view and server-side JavaScript for the controller.
This page-template instance-region-web script stuff is collectively referred to as the Surf Framework. You can find Surf info on the wiki, on slideshare.net, and on http://www.springsurf.org/.
Web Quick Start is really made up of multiple parts: - The repository persists the objects and provides a structure for your content, search, etc. - Share provides a user interface for managing the objects - The sample wcmqs web app provides an example Spring application that queries the repository for content. (This is the thing that is built with Surf).
Some people choose to use parts of Web Quick Start (say, the repository and Share tier) and maybe something different for the front-end, like Struts or Tiles or whatever. So that's why you sometimes see people talking about those other frameworks when they are discussing Web Quick Start.