Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using More than One Template
#4
You can’t use more than one theme, only more than one template, which is almost the same. The difference is the structure.

A theme is created by having multiple directories in the themes directory.
A template is created by having multiple PHP files in one theme directory.

If you have two themes and want to merge them into one you should rename template.php to something else and then you can put them both in the same folder. Let’s say you rename template.php into home.php because you want to use this second theme for the homepage. If it’s in the same directory as the first theme you now have template.php and home.php in there. Once you have this you can select either default or “home.php” from the template setting when you create a page.

I hope this makes it clear.
“Don’t forget the important ˚ (not °) on the a,” says the Unicode lover.
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!
Reply


Messages In This Thread
Using More than One Template - by DawnB - 2010-07-20, 02:35:48
Using More than One Template - by Zegnåt - 2010-07-20, 03:49:34
Using More than One Template - by DawnB - 2010-07-20, 04:08:04
Using More than One Template - by Zegnåt - 2010-07-20, 04:17:32
Using More than One Template - by DawnB - 2010-07-20, 04:29:29
Using More than One Template - by Zegnåt - 2010-07-20, 04:41:43
Using More than One Template - by DawnB - 2010-07-20, 04:51:40
Using More than One Template - by Zegnåt - 2010-07-20, 05:23:26



Users browsing this thread: 2 Guest(s)