cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to change template for root landing page (3.4c, 3.4d)

alfteam
Champ in-the-making
Champ in-the-making
By some reason: if I change root landing page template in Share there are no changes on WCMQS website.
Despite the changing of template for root landing page the start page of WCMQS always rendered with "homepage" template.

I tried it on 3.4c and 3.4d. It was clean installation in both case.
There are no any errors in log files.

Can somebody help? Thanks.
6 REPLIES 6

stevegreenbaum
Champ in-the-making
Champ in-the-making
So you changed ws:indexPage=yourcustomhomepage in the root folder, but it still shows the OOTB homepage?  Sounds like the old version is still cached.

alfteam
Champ in-the-making
Champ in-the-making
The system was clean. There was no any previously installed and un-installed Alfresco.

stevegreenbaum
Champ in-the-making
Champ in-the-making
I was referring to a cached version of the template, not a previous installation of Alfresco.  Did you change ws:index= to point at your new page?

alfteam
Champ in-the-making
Champ in-the-making
Yes I do.
I changed ws:index=myOwnPageTemplate in root folder's metadata and refreshed browser. I used several browsers: IE, Opera and Chrome
I'd like to note that everything works good in 3.4b.

Moreover I tried the following for 3.4c, 3.4d:

1. Change ws:index=myOwnPageTemplate.
2. Shutdown Alfresco.
3. Rename/move homepage.xml file from wcmqs WEB-INF.
4. Start Alfresco.
5. go to wcmqs web-site and see that index page is going to be rendered with homepage and can not find this template.

bremmington
Champ on-the-rise
Champ on-the-rise
I think that the problem is that in 3.4.c an enhancement was made to fix ALF-5524. This was committed to HEAD on 8/Dec/2010.

This enhancement allows templates to be specified on an asset-by-asset basis. If you edit the full metadata of the index.html asset in the root section you should see that a template has been specified for it: "homepage". Change this value if you want to use a different template for the home page. This enhancement means that the template mapping for the ws:indexPage type on the root section is now correct for the "normal" case, rather than the special case of the home page. This feature also may have various other uses when you need to change the way just one or two assets in a section are presented.

alfteam
Champ in-the-making
Champ in-the-making
Brian, thanks a lot!