Multiple template preview not working properly?
Posted: Fri 28. Nov 2003, 16:48

Hi All,
I was wondering if anyone else encountered this problem.
I have a site with one template (template_a) set as default at the index (website start level). I have created a different template (template_b) which i have set to a sublevel of the site.
The problem is this:
When i view a page in the sublevel (template_b) by clicking on the page link from the "sitestructure and article list" i see the page, but with the default template (template_a) applied, so any pages under the sublevel are previewed with template_a. However, in the REAL site, i.e. if i go and browse the site myself, the pages in the sub level (template_b) work properly. Switching off the default behaviour doesn't seem to make any difference.
As a case in point, the URL when browsing the page from the "sitestructure and article list" looks like this:
http://localhost/test/index.php?id=0,6,0,0,1,0
but when i try a REAL browse it looks like this:
http://localhost/test/index.php?id=2,6,0,0,1,0
It looks like the phpWCMS backend isn't taking into consideration any "sublevel" splitting... am i doing something wrong?
Thanks & regards,
Shrike71
PS. I think the whole application is fantastic, maybe a little simple for most enterprise CMS requirements, but for small intranet / website applications you just can't help but feel that phpWCMS is "just right". Well done, Oliver!
