The slideshow that I published on Thursday is perhaps a little hard to follow without the verbal part of the presentation. So here’s a walk-through of the process for cloning one of the CTC page templates to make your own. In this example I’m going to copy the “Topics” template as a “Products” template.
The process is as follows, and the slideshows show the process in more detail (further information is given in the image captions – just click on a thumbnail to start the slideshow)
Last week I gave a session at an internal IBM enablement event about the Content Template Catalog v4 (CTC), which is a great resource for quickly producing websites with IBM WCM. This previous post describes my exploration of the CTC as preparation for that.
I made a screenshot walkthrough of my demo in case my virtual machine failed me (it did), which I’ve uploaded here. It’s my intention in the coming days to break this up into several posts with more explanatory notes but for now here are the slides.
I recently received a request from a WCM v7 customer who wanted to store KML files in WCM and render them via the WCM content servlet. When they did this, the Content-Type in the HTTP header was set to "unknown/unknown" and they wanted it to show "application/vnd.google-earth.kml+xml" so that the clients dealt with the KML file appropriately.
This can be done by specifying the mime type in the WCM Config Service properties file, along the lines described here
Another approach would have been to do this from the HTTP Server but I advised that they use the WCM configuration since then all mime types are configured in once for the whole cluster and not once on each HTTP server, with the attendant possibility of error.
Next week I am giving a session at an internal IBM enablement event about the Content Template Catalog v4 (CTC), which is a great resource for quickly producing websites with IBM WCM. The CTC is pretty poorly understood and so I have spent some time making a map of all of the contents of the 3 CTC design libraries that are shipped with the product. These contain the design artifacts necessary to build your own website and understanding what’s there is important when it comes to planning that new site. The three libraries concerned are:
- CTC Design – contains the presentation templates, authoring templates and common components
- CTC Process – contains the sample workflow and categories
- CTC Content – contains the micro-sites that support the page templates
There is a 4th library, “CTC Demo” but since it simply instantiates the templates found in CTC Content I did not bother mapping it for now.
These maps are mind-maps that show the structure and content of the three libraries listed above. There may be occasional typos. There is no significance to the colours of the lines but in the CTC Content map, items marked in Italics are content items.
The image below links to the PDF, which contains very large images of the map.
Building and Implementing a Social Portal
Wow, the Redbook wiki that I was involved in late last year is finally live – it’s all about techniques for integrating WebSphere Portal Server V8 with Connections 4.0. In it we cover tools like Web Application Integrator (WAI), Social Media Publisher and of course the new WCM social rendering capabilities.
Quick Tip: Using Web Inspector to Debug Mobile Safari | Webdesigntuts+.
Developing a mobile theme for WCM and had some issues with the way the site rendered on iOS. Specifically, the behaviour on my desktop was different from that I experienced on the phone, and I was debugging by trial and error… but no longer.
Pretty neat, I think.
I’ve applied a sub-set of the Portal tuning guide to my development VM, with a marked improvement in performance.
First, I moved to DB2 from Derby. If you’re doing any work at all with WCM then this is well worth doing. I also set the following:
After database transfer, and after installing CTC, I ran the reorg scripts as indicated in the tuning guide:
db2 -x -r "runstats.db2" "select rtrim(concat('runstats on table ',concat(rtrim(tabSchema),concat('.',concat(rtrim(tabname),' on all columns with distribution on all columns and sampled detailed indexes all allow write access'))))) from syscat.tables where type='T'"
DB2 log file size properties
- LOGFILESIZ – 16000
- LOGPRIMARY – 16