KozmoK
Active member
Hello,
I am converting an external auth addon. I have most of it working now execpt the response.
In XF1.1 I did something like this in the PublicController:
And it would do a Raw Render from this file:
So how can I do a RenderRaw direct from the new ControllerPublic I made?
EDIT:
I can get it to work now, but its saving it as a file now. I want it output /render directly to the redirect.
I am converting an external auth addon. I have most of it working now execpt the response.
In XF1.1 I did something like this in the PublicController:
Code:
if ($version != "31")
{
return $this->responseView('GeekPoint_ExternalAuth_ViewPublic_Version');
}
And it would do a Raw Render from this file:
Code:
<?php
class GeekPoint_ExternalAuth_ViewPublic_Version extends XenForo_ViewPublic_Base
{
public function renderRaw()
{
return '-VERSION';
}
}
So how can I do a RenderRaw direct from the new ControllerPublic I made?
EDIT:
I can get it to work now, but its saving it as a file now. I want it output /render directly to the redirect.
Last edited: