ENXF NET
Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
- Joined
- Nov 13, 2018
- Messages
- 26,061
- Points
- 823
Reputation:
I have created a page node and trying to use xen:callback. However, nothing is displaying and is just a blank page.
I have a created a folder called Pages in src/addons with a file called Providers.php
Providers.php
Code:
Template
Code:
Node Settings
Continue reading...
I have a created a folder called Pages in src/addons with a file called Providers.php
Providers.php
Code:
Code:
<?php
namespace Pages;
class Providers
{
public static function getHtml()
{
echo 'test';
return 'test';
}
}
Template
Code:
<xen:callback class="Pages\Providers" method="getHtml"></xen:callback>
Node Settings
Continue reading...