Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Quick Start Guide

edited November 2009 in Vanilla 2.0 - 2.8

Just finished going through the quickstart guide (http://vanillaforums.org/page/AppQuickStart) and the Hello World page works, but without the default Vanilla styling.

I read through the View documentation, and my understanding is that without anything specific in my_app/design, it would use the default theme from garden. Is that understanding incorrect?

One possible solution that I haven't tried yet. I looked in the garden/themes folder, and the default theme doesn't actually have any /design folder under it which the README.txt in the skeleton/design folder implies that it would need.

Comments

  • I'm wondering about this myself. Would love more details on how to make this work! :)
  • SS ✭✭
    edited November 2009
    @stevec
    Note that all documentation is in progress (most of docs were written a months ago, outdated)

    To add default style, your WelcomeController should looks like:
    class WelcomeController extends Gdn_Controller{ public function Initialize(){ if($this->DeliveryType() == DELIVERY_TYPE_ALL){ $this->Head = new HeadModule($this); $this->Head->AddScript('js/library/jquery.js'); $this->Head->AddScript('js/library/jquery.livequery.js'); $this->Head->AddScript('js/library/jquery.menu.js'); $this->Head->AddScript('js/global.js'); } $this->AddCssFile('menu.css'); $this->AddCssFile('garden.css'); parent::Initialize(); } // See applications\garden\controllers\appcontroller.php }
  • @S Thanks for the helpful response! This is working well for me.

    Can you tell me how a person gets permissions to update the documentation? I would be happy to add this info (and correct a few other small errors in that Quick Start), but I'm not finding any details on how to contribute.
  • MarkMark Vanilla Staff
    @bookchiq - I can give you permission!
Sign In or Register to comment.