PDA

View Full Version : How to create a Hello World route?


ndoktoruser
11-11-2015, 01:31 PM
Hello!

Is there any tutorial teaching how to create a "hello world" route/page?

I would like to create a simple page to display "hello world" or output a json file.

As far as I could research, to create a new page (for example "/forum/newpage"), I would need a new entry in the file /core/includes/xml/vbulletin-routes.xml and a new class /core/vb5/route/newroute.php extending vB5_Route, but I still did not succeed.

Any existent topic or tutorial?

Thanks in advance!

Replicant
11-12-2015, 01:00 AM
<a href="http://www.vbulletin.com/forum/forum/vbulletin-5-connect/vbulletin-5-connect-questions-problems-troubleshooting/vbulletin-5-support-issues-questions/4327499-class-vb_api_extensions-not-found?p=4327519#post4327519" target="_blank">http://www.vbulletin.com/forum/forum...19#post4327519</a>

It's not exactly what you're describing but close.

ndoktoruser
11-12-2015, 07:39 AM
That works exactly how I need, with no route or whatever.

Thank you very much, again! :)