WebsiteBaker Community Forum

WebsiteBaker Support (2.8.x) => Templates, Menus & Design => Topic started by: Nyborg on June 14, 2009, 05:48:24 PM

Title: Check for page type
Post by: Nyborg on June 14, 2009, 05:48:24 PM
I would like to arrange my template according to page type, but cannot see how I can check what kind of page type the current page is using.

In particular I want to be able to remove left and right sidebars when I am wrapping another website.

Does anyone know an easy answer to this challenge?

Regards,

Svend
Title: Re: Check for page type
Post by: Ruud on June 14, 2009, 10:43:34 PM
I am afraid there is no such thing as a "page type".
A page has one or multiple sections. The sections will have a named type, the page doesn't.

The simple solution:
You could assign a different template to the page you want to have using a different template.

Ruud