Thank you for the quick reply Imar. Do you know where I could get more info on the page class or page reference? Did I miss something somewhere in the book, that explains this?
BTW, I really like how your book is written and organized. Out of 7 chapters this is the first time I needed help.
Thank you, Imar.
Quote:
Originally Posted by Imar
Hi there,
Page is a reference to the page that is currently being executed. Theme is a property on that page that defines the theme (a collection of CSS files, skins and more) for that page.
This code uses a switch block to look at the currently configured theme and uses that change the presentation of other elements on that page.
Hope this helps,
Imar
|