Amazzing Posted April 24, 2011 Share Posted April 24, 2011 Hello!I've just installed the PS 1.4.1.0.As it is not easy to find a nice theme, fully compatible with this version, I decided to modify the default theme by myself. I removed the right column from all pages, buy adding #right_column { display:none;} in global.css, But I can't find a way to hide the left column from the mainpage only, so that it can still be visible on all other pages. The best solution I found, was to perform the following in header.tpl{if $page_name != 'index'} {$HOOK_LEFT_COLUMN} {/if}I tested it on 1.3. It works. But it doesn't work with 1.4.1.0 Anybody has any ideas how to solve this for 1.4.1.0? Link to comment Share on other sites More sharing options...
shacker Posted April 25, 2011 Share Posted April 25, 2011 try with{if $page_name=='index'}{else} {$HOOK_LEFT_COLUMN} {/if} Link to comment Share on other sites More sharing options...
Amazzing Posted April 26, 2011 Author Share Posted April 26, 2011 try with{if $page_name=='index'}{else} {$HOOK_LEFT_COLUMN} {/if} It didn't help.After adding it to header.tpl,The following error appears in browser:Error HTTP 500 (Internal Server Error)Any other ideas? Link to comment Share on other sites More sharing options...
Amazzing Posted April 26, 2011 Author Share Posted April 26, 2011 Thanks to shacker for trying to help.But I found a solution. It was about typing. This forum automatically trasnforms quote marks to "wrong ones", that don't work in the code Explanation is on the picture: Link to comment Share on other sites More sharing options...
perusi Posted July 9, 2011 Share Posted July 9, 2011 how it can be done on multiple pages??/ like CMS, INDEX, products.... thanks Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now