Custom index v1.0

Release Notes

Since the question on how exactly to make a custom front page popped up quite often now, here's the code I have made for my own install. You'll still have to modify it a bit.

  • If you don't want to attach your own scripts and/or styles to the head then delete these two lines in start.php:
  • In index.php edit the last line to what you want your titel to be (up in the browser bar)
  • Edit all files in views/default/customindex:
    • content.php will be the content of your page
    • metatags.php will be the extra scripts you want to put in the head
    • css.php are all the extra styles you want to apply
  • There are a lot more things you can do, like setting a page title or changing the layout from one column to two columns, but that's up to you. These files are basically what I am using on my site, not including the scripts and styles.

Let me know if there are any problems!


  • Category: Uncategorized
  • License: GNU General Public License (GPL) version 3
  • Updated: 2014-11-17
  • Downloads: 10692
  • Recommendations: 8