Channel Apps
[Markdown] 

Hubzilla: Theme Creation

Creating a New Theme

The easist way to start a new theme is to copy an existing theme and modifying it.

If you wanted to copy Neuhub Tab and make a new theme, you would:

  1. Copy it into a new directory so it has its own directory name.
  2. Change all file references to the old directory anywhere they appear.
  3. Change the function name in view/theme/yourthemename/php/theme.php


You will mostly be editing these files:

  • php/theme.php
  • php/theme_init.php
  • php/style.php


But there may be other files to change as well.

image