Hi everyone ..
I'm new in here , so just be simple please ...
I installed Drupal 6.13 , and when playing with blocks, I noticed that the changes are saved for every page in the site ..
That's mean, if I add a recent comment block in the top, This block is seen in every page ..
what can I do if I want my site as clean as possible, using just content block and a sidebar in every page, but I wan to add many blocks and graphics to the homepage ????
When I used other scripts, I just edited the index.php file, and edit what I want .. but looking to the index.php under the drupal installation directory .. just found some lines of php code ..
When I look to the theme directory, I just find block.tpl , comment.tpl node.tpl and page.tpl ... there is no home.tpl or so ..
So what can I do ??
Thanks for answering.
Magnito
Comments
Use blocks or new template
Hello Magnito, welcome to Drupal. When editing your blocks, you have the flexibility to display on every page, to display (or not) only on select pages. By adjusting these setting you have a significant amount of control over how your site displays. If you want to get into theming, take a look at your page.tpl.php. By adding variables to standard HTML markup, Drupal will display however you'd like (see http://drupal.org/node/11812, this is written for 5, there may be some variances, but this should get you started). If you'd like to theme only your front page, save page.tpl.php as page-front.tpl.php and modify as appropriate. Hope this helps. Blessings! -NP
" If you'd like to theme only
" If you'd like to theme only your front page, save page.tpl.php as page-front.tpl.php and modify as appropriate"
If this works , then I really appreciate your help .. easy breezy ..
Thanks.
If your configuration only
If your configuration only deals with blocks, visit the block configuration page for each block you need to customize. Near the bottom is an option to display only on the listed page. Type "" into that box (and make sure the appropriate option is selected) and save it. The block will only appear on the front page.