Jump to content

500 internal server error while adding if $page_name condition to *.tpl


Recommended Posts

Hi.

 

I'm trying to customize the layout of welcome page, the goal is to remove left and right columns.

 

I edited both header.tpl and footer.tpl and put {$HOOK_LEFT_COLUMN} and {$HOOK_RIGHT_COLUMN} between condition tags {if $page_name != 'index'} {/if } only to receive "500 internal server error". Any ideas why it doesn't work?

 

(ver 1.4.4.1.)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...