Is it my imagination or is this how it's supposed to be...designing a complete theme package for MT5, you need a theme for a website and another set for a blog? Is there no method to have one theme for both without having to double your files? When I look at the default classic theme, there are two, one for the blog and the other for the website where both yaml's have a different class (one for blog and the other for website).
Right now it looks like I need to create two theme/template sets like this:
themes/pixelblogger-blog
themes/pixelblogger-website
Instead of just one for both with integrated templates for a blog and website:
themes/pixelblogger
Thanks in Advance.
Reported on Movable Type 5
That's pretty much it. The way I got around it was to reference templates in the parent website to avoid too much duplication.
It's not finished but you can see what I did here:
http://github.com/richardbenson/mt5-theme-flowerily
I will take a look Richard. I too have come across this quark while trying to see how much time it would take me to create my MT4 template set for BG Views as a MT5 Theme, and not looking forward to duplicating css or js files.
Well...I certainly hope later versions will integrate the themes as one. Later I will see how creative I can get in accomplishing this and being able to use the one theme for both website and blog. Right now it makes for a bit more work and making sure you sync up the styles whenever you make modifications to one.
You can specify "class: both" in theme.yaml to make a theme available both on website and blog. For example, if you change Pico's theme.yaml as below, Pico will be listed both on website and blog theme list. Sorry for few information, we are preparing detailed theme documentation and it will be published soon !
------
label: Pico
id: pico
author_name: Six Apart, Ltd.
author_link: http://www.sixapart.com/
version: 1.0
class: both
protected: 1
Jun, most excellent info! I am very eager to see the theme documentation. Thanks.
Theme documentation is ready !
* The Basic Structure of a Theme
http://www.movabletype.org/documentation/developer/theme/index.html
* Core Theme Elements
http://www.movabletype.org/documentation/developer/theme/core-elements.html
* Theme Framework from plugins
http://www.movabletype.org/documentation/developer/theme/extend-theme-framewok.html
* Theme Registry Keys
http://www.movabletype.org/documentation/themes/registry-keys.html