New Documentation has been released!
Deluxe Tebex
Pages
Vote Page

How to add a vote page to your store

Create a new page

Click here (opens in a new tab) to create a new vote page in the Tebex dashboard.

Enter the template editor

Click here (opens in a new tab) to navigate to the appearance page, and click "launch editor".

Add the vote page to the config

Navigate to the config.twig file, and find this line of code:

config.twig
vote: {
    pageTitle: "Vote"
}

Change Vote to the name of the page you created earlier in the Tebex dashboard

Add voting sites

Now, scroll up in config.twig until you find this code:

config.twig
{% set voteLinks = {
vote_1: {
    name: "Vote Link 1",
    link: "https://minecraftservers.org/vote/601524"
},
vote_2: {
    name: "Vote Link 2",
    link: "https://minecraftservers.org/vote/601524"
}
} %}

Duplicate sections to add vote links.

Save and You're Done!

Click Save and Publish to finalize.