Paul, cheers, but I already have that and the template file, copied from another example, does not include all the html of the page, just the "main area" html. Or am I missing something here.
Basically I want a different page header dependant upon what the class is.
command. The rest will be as specified in the pagelayout.
Do you have caching on? The layout may be being cached. Try clearing all caches to find if this is the problem.
An alternative path is to include the page top within each of your templates instead of the layout. This isn't quite as good as using a separate pagelayout but is a workaround.
Ill be surprised if the override solution doesn't work.
Try to make the group heading the same as the template name. I think my example was wrong. Thought im not 100% this needs to be done, but its worth a try: