Resource icon

WebDav support for XenForo 2 0.0.1

No permission to download
Compatible XF 2.x versions
Visible branding
This add-on is for style and add-on developers.

XenForo 1 had very convenient way to edit templates via WebDav. Unfortunately XenForo 2 doesn't have such functionality, so I've made add-on that adds such functionality.

It does same thing as WebDav did in XenForo 1, but with few new features:

1. When you select any style you have option to show all items or only customized items:

2018-04-13 (2).png

2. You can revert templates by deleting file.

3. All scalar style properties are available in one easy to access .less file (see style_properties.less in screenshot above):
* palette
@xf-styleType: light;
@xf-paletteColor1: rgb(237, 246, 253);
@xf-paletteColor2: rgb(188, 222, 245);
@xf-paletteColor3: rgb(71, 167, 235);
@xf-paletteColor4: rgb(37, 119, 177);
@xf-paletteColor5: rgb(24, 88, 134);
@xf-paletteAccent1: rgb(255, 244, 229);
@xf-paletteAccent2: rgb(242, 147, 13);
@xf-paletteAccent3: rgb(170, 103, 9);
@xf-paletteNeutral1: rgb(254, 254, 254);
@xf-paletteNeutral2: rgb(140, 140, 140);
@xf-paletteNeutral3: rgb(20, 20, 20);

* color
@xf-textColor: @xf-paletteNeutral3;
@xf-textColorDimmed: mix(@xf-paletteNeutral2, @xf-paletteNeutral3);
@xf-textColorMuted: @xf-paletteNeutral2;
Saving that .less file will update all style properties that you have edited.

4. You can edit each style property as text file (for scalar properties), json file (for complex properties) or less file (for css properties)
2018-04-13 (3).png

5. You can use web browser to access webdav. Visit your_forum_url/admindav.php in browser to see it

6. You can manage styles directory via webdav. Click "styles" in root directory.

7. Unlike WebDav in XenForo 1, this add-on does not require debug mode. If add-on is available, you can access everything. Add-on is meant to be used for development, so it should not be uploaded on live website, so there is no need to add additional debug mode check.

How to use it.

How to access your forum via WebDav: same as in XenForo 1: http://url_to_your_forum/admindav.php

What application to use? Any application that supports WebDav. I'm using CyberDuck that you can get from

Sample settings in CyberDuck:
2018-04-13 (4).png

Replace with your domain, /dev-styles/ with path to your forum.

If you are using Windows, do not forget to configure a decent text editor in CyberDuck settings, all files have Linux line endings that Notepad doesn't handle. I recommend Sublime Text.


Add-on is free. Its a niche add-on for developers, so making it commercial would be pointless.

If this add-on improved your productivity, I would appreciate a donation. My PayPal is

Source code is available on GitHub:, however when using code from GitHub you need to install dependencies by going to upload/src/addons/Artodia/WebDav/ and running "composer install"
First release
Last update
0.00 star(s) 0 ratings

More resources from Arty

  • Email Customizer
    Email Customizer
    Customize style of XenForo's HTML email messages
  • Basic
    Simple looking almost flat style with many features
  • Latte
    Beige/coffee theme based on one of the most advanced XenForo style frameworks.
  • Simplicity
    Flat, responsive, glyph fonts, compact nodes
  • Revo
    Light style with different navigation, glyphs, high definition display support, compact nodes