Quote:
Originally Posted by nhawk
There are JIRA reports about creating pages in the product XML here VBV-3667 and here VBV-4876.
While I do agree there should be a better way to do it, and that is the point of the JIRA reports, I find it amusing that you complain about how to create pages and routes when both mods I've released for vB5 have them without using template.php.
And I have to say, the more I work with vB5 the more I like it.
But like anything that's new, it takes time and patience to understand what's going on and how to use it. And we're all learning as we go.
|
Your raffles add-on does use the template.php file located here
Raffles5_504\upload\core\packages\raffles5\api
this template.php file is whats getting the widget and page routes to output.
This will only for 1 widget and one route what needs to be in place is a way to do multipull routes not just the one.
you are using this code
PHP Code:
$widgetinstance = $assertor->getRow('Raffles5:getRaffleEntryWidget');
to get your page and route and only outputs the 1 i need to be able to output for multi pages and routes and i have got this working on my demo that i will release soon so others will be able to use this.