Resource icon

Edit XenForo templates using editor

Adshi submitted a new resource:

Edit XenForo templates using editor (version 1.0) - This guide shows how to edit XenForo templates with your favourite editor using WebDAV.

XenForo provides a WevDAV protocol interface which makes templates editing even easier.

To use this funcionality you must connect WebDAV client (if your code editor don't support it you can try Cyberduck). to admindav.php in your root XenForo installation folder.

Some configuration screens (Cyberduck and Coda 2):
View attachment 40426 View attachment 40427

Remember, debug mode must be enabled!
(To enable id append...
Read more about this resource...


Active member
Thanks for the guide, this works great and I'm using it successfully with Transmit on OS X.

However, whenever I save a template, my editor freezes for ~5 seconds waiting for the requests to Apache to complete. The OS X spinning beachball of death appears and I can't do anything in the editor until the requests finish.

This is quite a productivity killer. It's almost more efficient to use the Admin control panel editor, but then you lose all the niceties of a proper editor.

Looking at the apache logs, here's an example of the requests made when saving a template:

Code: - User [19/Jun/2015:14:22:49 +0100] "PROPFIND /admindav.php/Public_Templates/Master%20Style%20(0)/ HTTP/1.1" 207 374 - User [19/Jun/2015:14:22:49 +0100] "PUT /admindav.php/Public_Templates/Master%20Style%20(0)/account_alerts.html HTTP/1.1" 200 - - User [19/Jun/2015:14:22:50 +0100] "PROPFIND /admindav.php/ HTTP/1.1" 207 492
************* 5+ SECOND PAUSE ************* - User [19/Jun/2015:14:22:50 +0100] "PROPFIND /admindav.php/Public_Templates/Master%20Style%20(0)/ HTTP/1.1" 207 261020
I'm using the stock Apache v2.4.10 shipped with Yosemite and mod_dav.

@Adshi or anyone else experienced this?