Jump to content

[solved] one column homepage, two columns on rest


Recommended Posts

Hi

I have already tweaked the footer.tpl file to give me 1 column on the index page, and commenting out the line gives me an error. How would I go about getting one column on the index page and 2 columns everywhere else?

 

{if !$content_only}

</div>

 

<!-- Right -->

 

{if $page_name !='index'}

<div id="right_column" class="column grid_2 omega">

{$HOOK_RIGHT_COLUMN}

</div>

{/if}

 

</div>

 

<!-- Footer -->

<div id="footer" class="grid_9 alpha omega clearfix">

{$HOOK_FOOTER}

{if $PS_ALLOW_MOBILE_DEVICE}

<p class="center clearBoth"><a href="{$link->getPageLink('index', true)}?mobile_theme_ok">{l s='Browse the mobile site'}</a></p>

{/if}

</div>

</div>

{/if}

</body>

</html>

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...