• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Custom site Topic: logo not retained in editor

adalfa

New Pleskian
Hello to all,

we are working wit WPB 11.5.13.

by customizing a site (changing logo, changing images and others) we cannot maintain the personalized logo. On the editor the logo is always the default and keeps the same even after publishing the sites.
the logo appears in the .ssb:
Code:
strings palestraADF.ssb  | grep -i gold
sites/6ad65f4e-f47d-669a-5344-d9f7917aab8f/site_content/attachments/Logo/Gold_logo.jpeg
sites/6ad65f4e-f47d-669a-5344-d9f7917aab8f/site_content/attachments/Logo/gold_logo.pnguVy4
sites/6ad65f4e-f47d-669a-5344-d9f7917aab8f/site_content/attachments/Logo/gold_logo.pngPK
sites/6ad65f4e-f47d-669a-5344-d9f7917aab8f/site_content/attachments/Logo/Gold_logo.jpegPK

the zip files generated contains (in templates.zip) the generated xml file that point to the correct image:
Code:
<pages-use-name>1</pages-use-name>
  <description>Valutazione approfondita della forma fisica e una serie di lezioni di fitness con istruttori certificati per aiutare a determinare le vostre capacità e raggiungere i vostri obiettivi di forma fisica.</description>
  <keywords>campo,piscina,aerobica,peso,fitness,atletica,atleta</keywords>
  <logo-name>white</logo-name>
  <logo-path>attachments/Logo/Gold_logo.jpeg</logo-path>


and the file is present in site_content/attachments/Logo

when published the image dir is the following:
Code:
├── attachments
│** ├── Background
│** ├── builtin
│** │** ├── Header
│** │** └── Logo
│** │**     └── black.png
│** ├── Documents
│** ├── Header
│** ├── Image
│** │** ├── 1.jpeg
│** │** ├── 2.jpeg
│** │** ├── Domini_in_vendita_-_2014-04-03_15.46.13.png
│** │** ├── Kim-Dolan-Leto-Fitness-3_1.jpg
│** │** ├── Kim-Dolan-Leto-Fitness-3_2.jpg
│** │** ├── Kim-Dolan-Leto-Fitness-3_3.jpg
│** │** ├── Kim-Dolan-Leto-Fitness-3.jpg
│** │** ├── placeholder-photo-girl.png
│** │** └── placeholder-photo.png
│** └── Logo
│**     └── Gold_logo.jpeg

it seems like the logo is always overwritten by the builtin logo (black.png)

the zip was created with
Code:
/usr/local/psa/bin/sw-engine-pleskrun /usr/local/sb/utils/snapshot2wst.php --create --snapshot=palestraADF.ssb --file=palestraADF.zip --templateCategory=HealthSport --templateCode=sports_club_adf --useSnapshotDesign

is a bug or we are missing something?
thanks

andrea
 
Back
Top