I want to change how my detail page looks in phpld if a feature I want to display it one way, if regular another way so I made a dheader.tpl dfooter.tpl and dtop_bar.tpl my question now is there a way that I can have an if statement for instance if feature use dheader.tpl dfooter.tpl and dtop_bar.tpl else use header.tpl footer.tpl and top_bar.tpl
Hi jminscoe <?php if (condition) code to be executed if condition is true; else code to be executed if condition is false; ?> Hope that helps
another words <?php if feature use dheader.tpl dfooter.tpl and dtop_bar.tpl true; else if regular use header.tpl footer.tpl and top_bar.tpl false; ?> Code (markup):