XF 2.0 Using admin template on public side

Yugensoft

Well-known member
Hi,

I want to use admin:forum_selection_macros in a public template
I get this error: "admin:forum_selection_macros is unknown (src\XF\Template\Templater.php:564)"

It's trying to get the template from code_cache\templates\I1\s1\admin, which doesn't exist (only ...\public exists).

How do I rectify this?

Thanks
 
You can't. Admin templates cannot be accessed via the front-end. You need to create your own macro, or find a public equivalent, or post a feature request asking for it to be moved.


Fillip
 
Back
Top Bottom