Hello,
our association's logo was recently changed.
We imported the custom-waptexit-and-selfservice package from the store, edited it, and added the new .png and .ico files.
We tested the package locally, and it works.
We then deployed the package across the entire network, but here's the problem:
it seems that the old logo, which exists somewhere on the server, is overwriting the new one, and we don't know where this old logo might be located.
We weren't involved in the original WAPT server installation; I don't know what was done at the time.
On the server, in opt/wapt/templates, the correct logos are indeed present.
On the machine, in C:\Program Files (x86)\wapt\templates, the correct logos were replaced with the old ones without request.
WAPT Version: 2.6.1.17472
Server OS: Debian Bookworm
Machine OS: Windows 10/11
Thank you
[SOLVED] Custom WAPT and selfservice package
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Hello Mickael,
Since version 2.6.0.17279, custom logos and templates must be placed in
This ensures that they are not overwritten during a Wapt upgrade.
The package template that is on our repository for customizing logos is not up to date.
The code needs to be modified as follows (replace templates with custom_templates):
Sincerely,
Hubert
Since version 2.6.0.17279, custom logos and templates must be placed in
Code: Select all
C:\Program Files (x86)\wapt\custom_templatesThe package template that is on our repository for customizing logos is not up to date.
The code needs to be modified as follows (replace templates with custom_templates):
Code: Select all
# -*- coding: utf-8 -*-
from setuphelpers import *
def install():
# print("N oubliez pas d utiliser la fonction d update package pour stocker les images en amont")
# print("Make sure to use update_package function before installing the pkg")
# print("La taille recommandée du logo est de 200X55px et le format .png")
# print("Recommanded size is 200X55px and .png format")
wapt_template_path = makepath(WAPT.wapt_base_dir, "custom_templates")
for png in glob.glob("*.png"):
print("Copying: %s" % makepath(wapt_template_path, png))
filecopyto(png, wapt_template_path)Hubert
Tranquil IT
- dcardon
- WAPT Expert
- Messages: 1929
- Registration: June 18, 2014 - 09:58
- Location: Saint Sébastien sur Loire
- Contact :
Hi again Mickaël,
sorry about the outdated documentation and package. I've escalated the issue internally to correct the documentation and package. I'm marking the topic as resolved.
Regards,
Denis
sorry about the outdated documentation and package. I've escalated the issue internally to correct the documentation and package. I'm marking the topic as resolved.
Regards,
Denis
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
