Tópicos

⌘K
  1. Tópicos
  2. Bilhetes
  3. Temas dos bilhetes
  4. Atualização de temas de bilhetes

Atualização de temas de bilhetes

From time to time, it may be necessary to update your ticket theme(s) so that you can access new features added to FooEvents. There are two methods you can use to update ticket themes:

Update via the WordPress Admin Area #

Similar to how you update WordPress plugins, you can update existing ticket themes in the Ticket Themes section of your WordPress admin area.

Before you update your ticket themes, please note:

  • Make a backup of the ticket theme(s) you currently have installed, especially if you have made any customizations to the ticket theme code.
  • If you previously made changes to the ticket theme code, you will need to reapply those changes to the updated version, or copy the new updates into your modified version.

Siga estes passos para atualizar os seus temas de bilhetes:

FooEvents Ticket Theme Update

  1. Download the most recent version of the ticket theme(s) from Conta FooEvents > Transferências.
  2. No seu Área de administração do WordPress, ir para FooEvents > Temas de bilhetes.
  3. Clique no botão Carregar tema do bilhete button, then click the Escolher ficheiro ou Navegar button and select the ticket theme ZIP file that you downloaded.
  4. Verificar o Overwrite ticket themes with matching folder names setting. This will ensure that the existing theme files are replaced with the updated files.
  5. Clicar Carregar. A confirmation message will appear, warning that the original ticket theme files will be overwritten. Click OK to continue

You need to upload the ticket theme ZIP file. Some browsers automatically unzip files when downloading themes, so if you only see an extracted folder on your desktop, you will need to compress it into a ZIP file before uploading it. Also ensure that the ZIP file name matches the original folder name (for example, admission_ticket_theme.zip).

Once done, confirm the latest version is reflecting:

FooEvents Ticket Theme version number

Update using FTP #

If the upload and overwrite option does not work for your setup, you can update your ticket theme(s) manually via FTP.

  1. Ligar ao seu servidor Web através de FTP.
  2. Navegar para a pasta: wp-content/uploads/fooevents/themes.
  3. Make a backup of the FooEvents ticket theme(s) that you currently have installed. This is especially important if you have made any changes to the ticket theme code.
  4. Eliminar o existing ticket theme folder(s) on your server. If you are updating the Predefinição 2020, PDF por defeito Único, ou PDF por defeito Múltiplos themes, please note that the FooEvents plugins may recreate these theme folders automaticamente after they are deleted. If you see these folders again after deleting them, you can skip the upload step below.
  5. Descarregar o versão mais recente of the ticket theme(s) from the Transferências tab in your Conta FooEvents.
  6. Descompactar o ficheiros ZIP de temas de bilhetes mais recentes that you downloaded, then upload the extracted theme folder(s) to wp-content/uploads/fooevents/themes.
  7. If you previously made changes to the ticket theme code, you will need to copy those changes into the new ticket theme files. Alternatively, you can copy the updates from the new ticket theme files into your current modified ticket theme files.

The main change you may need to make when updating custom ticket theme code is to use the newer image URL variables as the src values for your image tags:

  • Logótipo: $ticket['WooCommerceEventsTicketLogo']
  • Imagem de cabeçalho: $ticket['WooCommerceEventsTicketHeaderImage']
  • Código de barras: $barcodeURL
  • Ícone de localização: $locationIcon
  • Ícone de tempo: $timeIcon
  • Ícone do bilhete: $ticketIcon
  • Scissors/dotted lines: $cut1 e $cut2
  • Imagem do divisor: $divisor
Etiquetas , ,