• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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