Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By El Rey Mark on
Hi,
I use corporate clean as my website template. (www.drakenbloedboom.com)
Right now I use the standard home page of this template.
I would like to change my home to a one pager home page.
How can I create a one pager home page for this template?
Regards,
Mark
Comments
=-=
depends on what you mean by one pager.
If you mean one piece of content in the list: set your default in the site config or adjust the view (if in use).
if you mean with a custom front page, use a custom page--front.tpl.php file in your theme
else ... please further elaborate
thx VM
I mean a custom front page.
Okay, so I use a front.tpl.php file...
I am kind of a novice with this...so how can I create the front.tpl.php file?
Are there any examples on how to do that? Or tutorials?
Thanks,
Mark
=-=
it's page--front.tpl.php not front.tpl.php
you copy your existing page.tpl.php from your base theme and rename it page--front.tpl.php in your subtheme. You can then edit as you wish.
ok. thx
ok. thx