Not a bug XF 2.1 Impossible to export a style

kelle67

Well-known member
Affected version
XF 2.1
It is impossible to export the standard style. The export style is always only 1 to 2 kb in size.
In order to create our own style, we need that.

That's all wht we get.

Code:
<?xml version="1.0" encoding="utf-8"?>
<style title="Standart Xenforo Template" description="" user_selectable="1" export_version="2">
  <templates/>
  <properties>
    <property property_name="nodeListDescriptionDisplay" group_name="nodeList" title="Description display style" description="To save vertical space, it is possible to hide node descriptions until the node title is hovered, at which point they are displayed in a tooltip" property_type="value" value_type="radio" depends_on="" value_group="" display_order="400" addon_id="XF">
      <value_parameters>tooltip={{ phrase('tooltip') }}
inline={{ phrase('inline') }}
none={{ phrase('none') }}</value_parameters>
      <value>"tooltip"</value>
    </property>
    <property property_name="nodeListSubDisplay" group_name="nodeList" title="Sub-forums display style" description="Choose the style in which sub-forums will be displayed within a particular node element, according to the amount of space you want them to occupy" property_type="value" value_type="radio" depends_on="" value_group="" display_order="300" addon_id="XF">
      <value_parameters>menu={{ phrase('popup_menu') }}
flat={{ phrase('listed_below_node') }}
none={{ phrase('none') }}</value_parameters>
      <value>"flat"</value>
    </property>
  </properties>
</style>
 
If you mean exporting the "default" style, that isn't how XenForo works (and never has). The export is specifically what is customized.

If you want to create a style, then you'd either do so by customizing templates in the control panel, or if you're doing it in a local development environment, via designer mode.
 
OK thanks for the answer.
That's what we have always done. Because we did not want to edit the default style directly.
I'll try your way.
 
Back
Top Bottom