Toasts in Master Frame

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
User avatar
mfirlotte
 
 
Posts: 141
Joined: Tue May 12, 2020 5:09 pm
Location: Quebec, Canada

Toasts in Master Frame

Post by mfirlotte »

My site is built using a Master Frame and I want a toast to appear on my index page only but when I put the toast there, in index.html, it does not display. However, if I put the toast into the Master Frame it does. I do not want it to appear on every site page, just the index page (or other selected pages depending on the toast message).

Is there a way to make the toast work in a Master Frame environment...and just for the page or pages I want it on?

Thanks...
====
Mitch
====
User avatar
Bluesman
 
 
Posts: 1116
Joined: Mon Feb 01, 2016 5:43 pm
Location: Sweden
Contact:

Re: Toasts in Master Frame

Post by Bluesman »

Hi... I have the "toast" on separate page on site that uses Master Frame. Works fine...
"Make My Day"

See my Website
User avatar
Pablo
 
Posts: 21575
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Toasts in Master Frame

Post by Pablo »

It should also work without a master frame.
Maybe there is conflict with another script on the page?
User avatar
mfirlotte
 
 
Posts: 141
Joined: Tue May 12, 2020 5:09 pm
Location: Quebec, Canada

Re: Toasts in Master Frame

Post by mfirlotte »

Works fine without a master frame on any test page I want.

But within my ecommerce WYSIWYG project, when I put the toast within any page, it will not display. If I move it to the Master Frame as a test and republish, it works. Just that it now displays on all pages and I only want it on specific pages...like for a Sale Announcement of a specific product.

For now I had to revert to Timers and hidden Shapes but I'd really like to use Toasts. Much easier to manage.
====
Mitch
====
User avatar
Pablo
 
Posts: 21575
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Toasts in Master Frame

Post by Pablo »

In that case, I think there is conflict with another script on the page.
bkjohns
 
 
Posts: 290
Joined: Wed Nov 14, 2018 5:54 pm

Re: Toasts in Master Frame

Post by bkjohns »

Make a second master page with the toast and use it for the selected pages you want the toast on.
User avatar
mfirlotte
 
 
Posts: 141
Joined: Tue May 12, 2020 5:09 pm
Location: Quebec, Canada

Re: Toasts in Master Frame

Post by mfirlotte »

Good idea. I will try that this evening on a test master frame and test pages. If it works, then is likely a script conflict like noted.

Thanks...
====
Mitch
====
User avatar
mfirlotte
 
 
Posts: 141
Joined: Tue May 12, 2020 5:09 pm
Location: Quebec, Canada

Re: Toasts in Master Frame

Post by mfirlotte »

Pablo...please have a look at this test page1 and page 2.

https://www.firlottecreations.com/MF/test1.html

Is the simplest master frame layout possible with no scripts or fancy footwork. The project file only has the master from and 2 test pages.

All is on the server and I checked to make sure the JS files needed were there as noted when I did page view source.
jquery-1.12.4.min.js
util.min.js"
toast.min.js

But same place I was at...will not work on a page other than the Master Frame page???
====
Mitch
====
User avatar
Pablo
 
Posts: 21575
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Toasts in Master Frame

Post by Pablo »

Sorry, but I cannot see what you have done based on the published page.
To be able to help you, I need the project file.
User avatar
mfirlotte
 
 
Posts: 141
Joined: Tue May 12, 2020 5:09 pm
Location: Quebec, Canada

Re: Toasts in Master Frame

Post by mfirlotte »

Thanks Pablo...but I do not seem to have permissions to upload or attach. How can I get his file to you. It's small...only 47Kb.
====
Mitch
====
User avatar
mfirlotte
 
 
Posts: 141
Joined: Tue May 12, 2020 5:09 pm
Location: Quebec, Canada

Re: Toasts in Master Frame

Post by mfirlotte »

I think I got it...here is the URL to my WBS project file on my hosting service...

Hope it works.

WYSIWYG project file...
https://www.firlottecreations.com/MF/Untitled5.wbs

or as a ZIP file...
https://www.firlottecreations.com/MF/Untitled5.zip

Thanks...
====
Mitch
====
bkjohns
 
 
Posts: 290
Joined: Wed Nov 14, 2018 5:54 pm

Re: Toasts in Master Frame

Post by bkjohns »

I get the same result using a master frame/content holder, but if I switch to a master page it seems to work.
User avatar
Pablo
 
Posts: 21575
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Toasts in Master Frame

Post by Pablo »

Thanks for the project!
In the current version this combination is not supported.
I will investigate if this can be added to a future update.
User avatar
mfirlotte
 
 
Posts: 141
Joined: Tue May 12, 2020 5:09 pm
Location: Quebec, Canada

Re: Toasts in Master Frame

Post by mfirlotte »

Thanks for checking it out Pablo.

As a work-around, I used bkjohns concept for my index page...a 2nd master frame.

Thanks All!!!

EDIT: And also as bkjohns says...it does work with Master Page, but not Master Frames. However, master pages are not as versatile as master frames. If different pages have more or less content, then the master page footer does not move with it whereas with master frames I can have short or long pages it seems.
====
Mitch
====
bkjohns
 
 
Posts: 290
Joined: Wed Nov 14, 2018 5:54 pm

Re: Toasts in Master Frame

Post by bkjohns »

I agree master pages are a different duck regarding footers. I use an extension to keep the footer at the bottom of the page when using a master page. And the last update (today) fixed the issue with master frames so now all is good either way. Thanks, Pablo.
User avatar
mfirlotte
 
 
Posts: 141
Joined: Tue May 12, 2020 5:09 pm
Location: Quebec, Canada

Re: Toasts in Master Frame

Post by mfirlotte »

Now I'm all GIDDY :D

That's simply amazing. THANKS PABLO!!!!!!!!!!

And thank you too bkjohns for your temporary solutions you offered. They worked too.
====
Mitch
====
Post Reply