Hello all, I recently published a site built with WB19 that exhibits an odd behavior on the Contact page. (Edit: I just checked, it does it when navigating from the home page and others as well) When navigating away from the page hidden code above the page is briefly visible. The page has a contact form, so it's extension is .php I'm trying to figure out why this code is briefly visible when navigating away. Any ideas? The site is live, the page in question is https://eztaxbythebay.com/About-Contact.php
If necessary I can gather the elements to provide a demo page, I just thought the cause may be spotted by one of the experts that lurk here. Click on a link to another page and you will see what I'm asking about.
(Looking forward to 20.01! Just sent in my upgrade discount request!)
Code briefly visible above .php page? **SOLVED**
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
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
Code briefly visible above .php page? **SOLVED**
Last edited by Fredl on Thu Jan 16, 2025 9:55 pm, edited 1 time in total.
- BaconFries
-
- Posts: 5868
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Code briefly visible above .php page?
A quick look and view of the page(s) source code it looks like you may have simply "cloned" page(s) to maybe save time instead of building "New" pages..
Page(s) in question
https://eztaxbythebay.com/Forms-and-Resources.html
https://eztaxbythebay.com/Pricing.html
Page(s) in question
https://eztaxbythebay.com/Forms-and-Resources.html
https://eztaxbythebay.com/Pricing.html
Re: Code briefly visible above .php page?
The code you see at the top of the page is the PHP script for the form.
If you do not set the page extension to PHP then the server will not process this code.
If you do not set the page extension to PHP then the server will not process this code.
Re: Code briefly visible above .php page?
Correct, I did copy a page to use as the basis for the next few pages. Does that cause problems, and is there a way to fix them?BaconFries wrote: ↑Thu Jan 16, 2025 8:19 pm A quick look and view of the page(s) source code it looks like you may have simply "cloned" page(s) to maybe save time instead of building "New" pages..
Page(s) in question
https://eztaxbythebay.com/Forms-and-Resources.html
https://eztaxbythebay.com/Pricing.html
***EDIT*** Ah, I think I get it, I should remove the code that was copied from the contact page to the others that don't need it.
**2nd edit** That did it! Thanks again BaconFries, you have helped me in the past and it's always appreciated!
Last edited by Fredl on Thu Jan 16, 2025 9:49 pm, edited 2 times in total.
Re: Code briefly visible above .php page?
Yes, I did set the extension to PHP, the form works, I just didn't love seeing that code when changing pages, I'd like to prevent that. Thanks for responding.
- BaconFries
-
- Posts: 5868
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Code briefly visible above .php page? **SOLVED**
Correct although you can clone pages for use to other pages it is not advisable to use pages that use php such as forms unless you are going to be using it again.***EDIT*** Ah, I think I get it, I should remove the code that was copied from the contact page to the others that don't need it.