WebSite X5Help Center

 
Adrian B.
Adrian B.
User

Can an object be designated as a "master" object so changes are global?  en

Autor: Adrian B.
Visited 1489, Followers 1, Udostępniony 0  

Is there a way to make an object a "master" object?

For example, I have a text object that explains how to obtain help if stuck on a web cart purchase.  That object is on every page that a web cart card is on.

But if I want to change the wording I have to change the wording on that object on every page.  If it were a "master" object then I could make the change just once on the master object....

Thank you

Adrian

Posted on the
9 ODPOWIEDZI - 2 USEFUL
Esahc ..
Esahc ..
Moderator

Adrian, I do not know the layout of your website, but if the number of pages with webcart objects far outweighs the number of pages without you could build your standard pages without template and pages with a webcart object using the template. This way you could add your descriptive text object to the header where one change would change all pages on which the header was used.

Czytaj więcej
Posted on the from Esahc ..
JJ. JUAG
JJ. JUAG
User

We have found a solution for this:The "master object" is on a page without a template (properties of the page - graphics - create page without template + page width) and this page is displayed via iframe wherever it is needed.In this way, the content can be adjusted in one place for all display locations.

Restriction: The content must not be larger than the size specification for the iframe and there may be restrictions for responsive display.It can only be seen when the page with the master object is available on the server.Tested with text object, "dynamic content object" or html object.

An online customizable master object can also be created with dynamic content.

Example for iframe (for text-object or html-object):
<iframe width = "500 height =" 660 "src =" https: //www.domain.ext/inhalt-iframe.php "> </iframe>

In order to understand and master this functional concept, a few experiments should be made.

JJ.

Czytaj więcej
Posted on the from JJ. JUAG
Aleksej H.
Aleksej H.
Moderator

Hello.Unfortunately, at the moment there is no such possibility.If This object is not located in the footer or header.

Czytaj więcej
Posted on the from Aleksej H.
Esahc ..
Esahc ..
Moderator

Aleksej and JJ, what if Adrian save the note as an image and saved it to the server with his website? He could then use an html object to display the image on any webpage. By changing the image and uploading same name and size image this would automatically change the note on any number of pages as well.

(just a thought)

Czytaj więcej
Posted on the from Esahc ..
John S.
John S.
User

I think that what is suggested by JJ is a good solution. If not JJ had suggested it - then I wouldwink

Czytaj więcej
Posted on the from John S.
John S.
John S.
User

And the responsive could be solved by using some special code - it should test on the screen width. According to the width the size of the iframe could be specified, and also the content of the ifame could be set.

A piece of the code :

} else if (window.innerWidth > 720){ //narrow screen iFrame.style.height = '400px'; iFrame2.style.height = '400px';

The code used can be seen here : https://www.bramminginfo.dk/museet.html

Scroll to the bottom to the slideshow - and then try to change the screen size.

You can see the code used near the bottom when you use CTRL+U

I do not change the iFrame.src for each viewpoint, but this could have been done as well.

Czytaj więcej
Posted on the from John S.
Aleksej H.
Aleksej H.
Moderator

"He could then use an html object to display the image on any webpage. By changing the image and uploading same name and size image this would automatically change the note on any number of pages as well." - I think this is a good idea.

Czytaj więcej
Posted on the from Aleksej H.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Najlepszy Użytkownik miesiąca ESNajlepszy Użytkownik miesiąca PT
Adrian B.
Is there a way to make an object a "master" object? For example, I have a text object that explains how to obtain help if stuck on a web cart purchase.  That object is on every page that a web cart card is on. But if I want to change the wording I have to change the wording on that object on every page.  If it were a "master" object then I could make the change just once on the master object.... Thank you Adrian
(It > En) ... it could be very simple to use a help button, for example similar to this  ... and linked to the hidden page with the instructions, and to be opened in the ShowBox, or in the PopUp ...
... so it becomes very easy to change the instructions in one go ...
... (the alternative is the IFRAME method which has already been anticipated)...

*

Czytaj więcej
Posted on the from  ‪ KolAsim ‪ ‪
Adrian B.
Adrian B.
User
Autor

Thank you all for the ideas, Adrian

Czytaj więcej
Posted on the from Adrian B.