Embedded Page - Multiple use on a page

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
WWBman
 
 
Posts: 916
Joined: Fri Jan 08, 2010 6:10 pm

Embedded Page - Multiple use on a page

Post by WWBman »

I have a simple embedded page (one shape object, a circle).
Why can't it be used more than once on a page?

I wish to use the circle several times on a page but in future some properties may change e.g. diameter, colour.
I would only have to change the embedded object once.
The shapes on the page will of course all be identical.
User avatar
[RZ]
 
 
Posts: 1914
Joined: Tue Nov 04, 2008 12:08 pm

Re: Embedded Page - Multiple use on a page

Post by [RZ] »

because the duplicated/repeated objects in that page will have the same id
User avatar
Pablo
 
Posts: 21577
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Embedded Page - Multiple use on a page

Post by Pablo »

[RZ] is right, if you use the same embedded page multiple times then the objects will have the same ID.
HTML does not allow this.
WWBman
 
 
Posts: 916
Joined: Fri Jan 08, 2010 6:10 pm

Re: Embedded Page - Multiple use on a page

Post by WWBman »

Ah, yes, of course, thanks.
The ability to reuse an object on a page seems to me to be a very useful addition to the software.
In fact, I’m surprised it’s not already there.

Pablo, is it feasible for a future wwb release to have an new object that can be reused?
Alternatively, if possible, to change the embedded page object so that it can be used more than once on a page.

Is it worth me adding it to the Suggestions thread?
User avatar
Pablo
 
Posts: 21577
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Embedded Page - Multiple use on a page

Post by Pablo »

You cannot reuse the same object because then there there will be a conflict with IDs.
But of course you can create a copy of the object so it will get a unique ID.
WWBman
 
 
Posts: 916
Joined: Fri Jan 08, 2010 6:10 pm

Re: Embedded Page - Multiple use on a page

Post by WWBman »

Pablo wrote: Wed Mar 20, 2019 2:26 pm... But of course you can create a copy of the object so it will get a unique ID.
But that defeats the reason for my post.
I want to be able to change just one object (master object) as required.
Is it feasible for a future wwb release to have a new type of object that can be reused?
Or better still, allow the embedded page object to be used more than once on a page.
User avatar
Pablo
 
Posts: 21577
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Embedded Page - Multiple use on a page

Post by Pablo »

I'm sorry this is not possible with embedded pages.
When reusing the same object you will always have a duplicated iD unless you make a copy.
WWBman
 
 
Posts: 916
Joined: Fri Jan 08, 2010 6:10 pm

Re: Embedded Page - Multiple use on a page

Post by WWBman »

OK.
I was thinking it could have the same ID but (if used more than once on a page) with an added unique suffix to identify it as a reusable embedded object/page.
e.g. Shape1, Shape1-rem2, Shape1-rem3 etc. (rem standing for reusable embedded object/page).
Just a thought.
User avatar
Pablo
 
Posts: 21577
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Embedded Page - Multiple use on a page

Post by Pablo »

That might work for one simple object, but as soon as you add an embedded page with multiple objects or objects that use scripts, events etc then it will be come complicated.
WWBman
 
 
Posts: 916
Joined: Fri Jan 08, 2010 6:10 pm

Re: Embedded Page - Multiple use on a page

Post by WWBman »

I only tend to use embedded pages containing just one or a few simple objects so that was what I was thinking about.
User avatar
Pablo
 
Posts: 21577
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Embedded Page - Multiple use on a page

Post by Pablo »

You can post this in suggestions so other users can let me know if they find it useful too.
WWBman
 
 
Posts: 916
Joined: Fri Jan 08, 2010 6:10 pm

Re: Embedded Page - Multiple use on a page

Post by WWBman »

OK, thanks Pablo, I’ll do that.
Post Reply