Fork me on GitHub
Current release is 2.1.6 (21 Nov 2014).

Users who have not yet upgraded to 2.1 should get security release 2.0.18.14 (1 Nov 2014). We will stop providing these security releases to 2.0 at the end of this year.

[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.