Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 2312

Joomla! 5.x Coding • Re: Render front end form in the back end

$
0
0
Figured it out. I just needed to add identify the prefix as Site and the front end base_path to the config parameter when calling the getView function. Worked like a charm.

So the call looks like this:

Code:

$view = $this->getView('Form', $viewType, 'Site', ["base_path" => "path/to/frontend/component"]);

Statistics: Posted by skurvish — Tue Feb 06, 2024 5:53 pm



Viewing all articles
Browse latest Browse all 2312

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>