Fork me on GitHub
Please upgrade to 2.1.x here. The 2.0 branch is no longer being updated.
You should grab 2.1.9, released 18 March. It's what all the cool kids are doing.

[Solved] [Documentation] Need help writing an application

edited April 2012 in Vanilla 2.0 Help

Hi all,

I'm trying to write an Application. I'm using http://vanillaforums.org/docs/appquickstart as my guide.

I copy/pasted the applications/skeleton/ directory and changed everywhere the word 'skeleton' existed in that directory to my application name (agvanilla), paying attention to case.

I also changed an erroneous line at the top of class.skeletoncontroller.php from:

$this->Uses = array('Form');

to:

public $Uses = array('Database', 'DiscussionModel', 'Form');

...to mimic the a similar line at the top of the /applications/vanilla/class.discussionscontroller.php file

When I navigate to http://<; ip >/agvanilla/homepage/index.php, I get:

[begin]
Page Not Found
The page you were looking for could not be found.
[end]

If I add var_dump calls to trace the code in class.agvanillacontroller.php, the code in its __construct() and Initialize() function is clearly being executed through to the end of each function.

Help?

Best Answers

Answers

Sign In or Register to comment.