Skip to content

Latest commit

 

History

History
46 lines (30 loc) · 1.63 KB

README.md

File metadata and controls

46 lines (30 loc) · 1.63 KB

Blog Theming

Provides theming options to the Rainlab Blog plugin.

Dependencies

Usage

Make sure the migrations that comes with this plugin have been installed. This should happen automatically upon installing this plugin, but might this not be the case then logging out and back in should do the trick.

Blog Theming adds fields to models found in the Rainlab.Blog plugin. You can access the fields like you would in any other model/component.

Below you'll find an overview of the fields.

Fieldname Model Type Description Added in
theme_color Category colorpicker Gives a color to a category. 1.0.0
theme_css Category codeeditor Adds custom styling to a category. 1.0.0
theme_images Category fileupload Adds featured images to a category. 1.0.0

Examples

theme_color

{{ category.theme_color }}

theme_css

{{ category.theme_css }}

theme_images

 {% for image in category.theme_images %}
     {{ image.path }}
 {% endfor %}

Issues or other problems

Yikes. Found a problem with this plugin? Submit an issue and I'll look at it ASAP. If you fix it yourself and submit a PR I'll send you a cookie.

Want a feature?

Submit a pull request or submit an issue. I will get back to you as soon as possible to discuss if we can work something out.

Copyright

Developed for Rebel59 by @CptMeatball. Plugin may be altered in anyway, provided you link back to this repo.