WebSite X5Help Center

 
Holger Glüsing
Holger Glüsing
User

Replacement of today in every html/php-page redundant written codeblocks with a pr. matter single INCLUDE  en

Author: Holger Glüsing
Visited 2040, Followers 1, Shared 0  

... in (dis-)continuation of 'Can not figure out how to upgrade www.slidstaerk.dk from version 13 to version 15.0.1'.

Today X5 replicates the 'HTML for the menustructure' into each and every php/html-page ... which makes it totally imposible to think about fixing our manual workaround into all those files.

What we suggest is that all the everywhere replicated menustuff has to go into only ONE 'x5menues.html'-file which only is overwritten by X5 when there are made any changes to the menu e.g. a new page is added ... 

All the original php/html-page-files then just have to contain one single line of code ...

<div w3-include-html="x5menues.html"></div>

... found on https://www.w3schools.com/howto/howto_html_include.asp

The result of this for Incomedia little efford is that we have the oportunity to fiddle our demands into a single file ... which is much more handy.

So for us that could be a BIG TIME X5-design-improvement.

On the original post (https://helpcenter.websitex5.com/en/post/190179) marked as 'private' by Stefano G. he replied ...

Holger ... and Per 

Posted on the
3 ANSWERS
Esahc ..
Esahc ..
Moderator

+1

This would surely dramatically improve WX5 performance when a website with many pages has changes made to the menu/s or header. Hopefully a similar step could also be taken for footers. In my case the need to update 40plus pages at multiple resolutions has a terrible impact on the time necessary to do a simple save & preview.

What a great suggestion!

Read more
Posted on the from Esahc ..
Esahc ..
Esahc ..
Moderator

Is it possible for Incomedia to confirm this suggestion has been added to the wish list?

This change could dramatically improve stability and reduce the need for so many pages to be uploaded during updates.

Read more
Posted on the from Esahc ..
Incomedia
Stefano G.
Incomedia

Hi Esahc.

I can confirm that the idea has been passed on for examination. It is impossible for me to confirm whether and when it will be added, but I can confirm it is being analyzed properly.

Thank you

Stefano

Read more
Posted on the from Stefano G.