title: How I can change background image for every controller page in cakephp?
body: <p>I have created a default.ctp file in layout folder. The header, footer and navigation are same for all the pages but background image are different. All pages are in a separate controller. So I want to use conditional statement in default.ctp file so that I can change background image with respective controller. Is there any way to use conditional statement in default.ctp file in cakephp like that? If so, then please tell me the syntax of conditional statements. If not, then how I can solve my problem? I am very novice in cakephp. So please Help me.</p>