Adding Vanilla to WordPress
-
Upload
brendan-sera-shriar -
Category
Technology
-
view
6.170 -
download
8
description
Transcript of Adding Vanilla to WordPress
Adding Vanilla to WordPressWordCamp Montreal 2010
Why is the sweetest forum on the web?
Vanilla Forums have been used by hundreds of thousands of sites around the world, from small groups of friends to massive multi-national brands managing communities with millions of contributors.
With Vanilla Forums you can join, manage, and monitor the discussions taking place around your product, brand, or business.
, not just a forum anymore
Over 350,000 sites use Vanilla Forums to
manage feedback, spark discussion, and make
customers smile.
Over 350,000 sites use Vanilla Forums to
manage feedback, spark discussion, and make
customers smile.
Where can I find ?
VanillaForums.com VanillaForums.org
Why Choose ?
Same model as WordPressDownload for free on .org
Get hosted on .com
Same model as WordPressDownload for free on .org
Get hosted on .com
Easy theming!or choose from tonsof gorgeous themes
Easy theming!or choose from tonsof gorgeous themes
Custom-Community PluginsCustom-Community Plugins Easy Integration (SSO)Easy Integration (SSO)
Single Sign-On with WordPress
Custom Theme
The Custom Theme Feature allows you to customize the appearance of your forum using HTML and cascading stylesheets (CSS). You can change colors, fonts, backgrounds, banners, and even where elements appear on the page.
Detailed Tutorial http://vanillaforums.com/blog/help-tutorials/how-to-use-custom-theme-part-1-edit-html/
Custom Theme
Inside Custom Theme you can choose to ‘Edit Html’ or ‘Edit CSS’
Edit HtmlEdit Html Edit CSSEdit CSS
Template Tags
What is a Template Tag?A template tag is code that instructs Vanilla to “do” or “get” something.
Vanilla Template tags are similar to WP Tags.
{searchbox} {asset name="Content"} {asset name="Panel"}{searchbox} {asset name="Content"} {asset name="Panel"}
http://vanillaforums.com/blog/help-topics/vanilla-template-tags/
Building a theme from scratch
How it all works
With Vanilla, you have full control over both the CSS and the
actual HTML of every page in every application. The easiest
thing for most designers is to just alter the CSS, so we'll start there:
Building a theme from scratch
Part 1: CSS & Design
1. Copy the /themes/default folder and rename it to your theme name so it sits in the root theme folder like this: /themes/your_theme_name.
2. Open the "about.php" file and edit the information to reflect your theme's information.
3. Create a custom.css file in the "design" folder of your custom theme.
4. Go to your Dashboard > Themes, and apply your new theme.
5. Edit the custom.css file to your heart's content. The custom.css file is added *after* the base theme's css. Alternately, you can completely replace the base theme file (style.css) by copying it from the /applications/dashboard/design folder into your theme's design folder.
Building a theme from scratch
Part 2: HTML & Views
If you don't like the way we've structured our Html, you can edit that too. Our pages are made up of two parts:
1. Master Views: These represent everything that wraps the main content of every page. If all you want to do is add a menu or banner above Vanilla, this is the only file you will need to alter. To do so, copy the default master view from /applications/dashboard/views/default.master.php to /themes/your_theme_name/views/default.master.php and edit it there.
2. Views: These represent all of the content in each page. Every application has a "views" folder that contains all of the html for every page. So, for example, if you wanted to edit the html for the discussion list, you could copy the views from /applications/vanilla/views/discussions to /themes/your_theme_name/views/discussions and edit them there.
Thank youWhere to find us…
To download all files from this presentationAnd stay in the Vanilla WordPress developers loop
Link to promo page
@vanilla@digibomb
@navvywavvy