Jump to content

[SOLVED] homepage


Recommended Posts

exist some like homepage ?? whos is diffrent from other?
If yes how can i make it??
( i want have only one item in homepage without left and right cloums but in the next page i wanna have it, only.Some condition i must write for example [if(homepage){show ble ble} elseif {rightcolumns and center and leftcolumns}] ) what i must do ??




ps. this is editoria??

thx for help :)

Link to comment
Share on other sites

Are you asking to remove the columns just on the homepage? To do this, modify header.tpl in your theme's directory and change:

<!-- Left -->

   {$HOOK_LEFT_COLUMN}



to:

{if $page_name != 'index'}
   <!-- Left -->

       {$HOOK_LEFT_COLUMN}

{/if}



and in footer.tpl, change:

<!-- Right -->

               {$HOOK_RIGHT_COLUMN}



to:

{if $page_name != 'index'}
   <!-- Right -->

       {$HOOK_RIGHT_COLUMN}

{/if}



You can increase the width of the center column on the homepage by adding the following to css/global.css in your theme's directory:

body#index #center_column
{
   width: 900px;
}


Change 900px to whatever you want the width of the center column to be on the homepage only.

Link to comment
Share on other sites

  • 2 weeks later...
  • 1 year later...

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