امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
Hello,
I'm learning programming and want to create an addon which have it's own page. Everything is good so far, but on the page html won't work?

Well, I created a new route with following inputs:

And that's the code (/src/addons/NewAddon/NewPage/Pub/Controller/NewPage.php):
PHP:
Get no html view on route page
I'm learning programming and want to create an addon which have it's own page. Everything is good so far, but on the page html won't work?

Well, I created a new route with following inputs:

And that's the code (/src/addons/NewAddon/NewPage/Pub/Controller/NewPage.php):
PHP:
کد:
<?php
namespace NewAddon\NewPage\Pub\Controller;
use XF\Mvc\ParameterBag;
use...
