Learn how to upgrade our styles properly

Xenforo 2.x.x Learn how to upgrade our styles properly

Add-on xenforo 2

Ressources et modules complémentaires pour XenForo 2

Styles xenforo 2

Styles / Thèmes et apparence pour xenforo 2

Templates xenforo 2

Codes pour modifier les templates sur xenforo 2

Section Premium

Add-on et Styles pour membre Premium
Learn how to upgrade our styles properly

Xenforo 2.x.x Learn how to upgrade our styles properly

Catégorie Catégorie Modifications Templates
Titre du sujet Titre du sujet Learn how to upgrade our styles properly
Auteur de la discussion Auteur de la discussion HungTQ
Date de début Date de début
Réponses Réponses 0
Affichages Affichages 357
Réaction Réaction 1
Dernier message par Dernier message par HungTQ

HungTQ

Membre

Membre
Réputation: 1%
Discussions
4
Messages
6
J'aime
2
Points
3
Upgrading:
You'll get email notifications of style updates when they're ready. We typically upgrade along with XenForo so if they release 2.0.10, if necessary we'll push out our 2.0.10 version of the style. Sometimes style updates are not required when XenForo pushes out a new version.

1.) Backup your style first
Backing up your style prior to upgrading is always a good practice. In case something does go wrong you can simply re-import your backed up style going back to how it was before the upgrade.

Go to your XenForo Admin control panel, expand the Appearance menu on the left side then click Styles.

On the right side of each style, you'll see some dots, this is the menu that has the export feature.

[XenBin.Com]-backup.webp


Click the Export link to bring up the export overlay

Do not check the "Export as independent style" box that appears in the overlay.

Clicking export on the overlay will download your style to your computer

You'll want to repeat this process for your child style as well.


2.) Update your XenForo

To make sure your templates are updated properly you need to update your XenForo to the latest version before updating the style. Upgrading the style before upgrading XenForo will cause issues with outdated templates usually.


3.) Import and overwrite your parent style
In the below example we'll use our Core style as the reference.

  1. Go to your Styles screen in the XenForo Admin control panel
  2. Click the Import button
  3. Click Choose file and browse to your folder you extracted in step one. Select the style XML in the /xml/ folder. This example it's called style-Core-(Parent-DO-NOT-EDIT).xml
  4. Import as: choose Overwrite style and select your parent style, in this example: Core (Parent DO NOT EDIT)
  5. Click the Import button and you should be done! All updates we push out trickle down to your child style automatically
If you run into any outdated templates we have an entire section dedicated to that.
 
Contenu similaire Les plus vues Voir plus
Retour
Haut Bas