Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Loading info into panel using php include?

edited May 2006 in Vanilla 1.0 Help
Hi all im a new Vanilla user and am setting up a new site running Vanilla. Its all going well except for this one problem, in the side panel I would like to use a PHP include to display text from a PHP file. I figured the easiest way to do this would be to add the following: <? include (\"\"); ?> Into the languages/english.php file but the text doesn't show up? How can I go about adding somthing other than plain text into the sidebar, I would like it to be a php include so I can add the google adsense code at a later date if required or run a randon quotes script. Thanks, Mike.


  • Options
    There's an example of how to add to the sidebar panel in the vanilla documentation. I expect the mini-search example is closest to what you're trying to achieve. You should be able to put your equivalent string to $searchform from that example in a separate document and then include it at the beginning of your extension.

    (the above applies to v1.0)
This discussion has been closed.