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.

How to add content to sidebar (Vanilla 2)

RaizeRaize ✭✭
edited July 2010 in Vanilla 2.0 - 2.8
Anyone can provide a quick how to for adding images/ads/content to the sidebar in Vanilla 2?
Tagged:

Comments

  • hginlihginli New
    edited July 2010
    edit /applications/dashboard/views
    default.master.php

    example: looking for <div id="Content"><?php $this->RenderAsset('Content'); ?></div>
    it below
    paste your code

    like <a href="http://yourwebdomain/discussions/feed.rss" target="_blank">RSS</a>

    though it not quick
  • LincLinc Admin
    edited July 2010
    With MODULES. :)

    http://vanillaforums.org/page/Modules

    Note that instead of using ToString(), you can make a view under /views/modules/[name].php. So if you're making class.AwesomeModule.php, you'd add awesome.php (with some HTML in it) to that folder and call it into the Panel with this->AddModule('AwesomeModule'); in the controller.
  • RaizeRaize ✭✭
    edited July 2010
    thanks guys

    @lincoln i'm going to do some learning about modules and try it out! that's a great link for beginners
Sign In or Register to comment.