possible to put a form on a master frame?

Issues related to forms.
Post Reply
heynen
 
 
Posts: 129
Joined: Sun Dec 31, 2017 4:27 pm

possible to put a form on a master frame?

Post by heynen »

Dear all,

I want to put a form on my master page, but it doesn't work.
When I put the same form on a normal page, it works correctly.

Is the problem perhaps that the master frame is then php, whereas the pages using that master frame a still html?
User avatar
Pablo
 
Posts: 21712
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: possible to put a form on a master frame?

Post by Pablo »

What extacly "does not work"?
Is there an error?

The content page should be set to PHP.
heynen
 
 
Posts: 129
Joined: Sun Dec 31, 2017 4:27 pm

Re: possible to put a form on a master frame?

Post by heynen »

thanks for your help!

what happens is that part of the code is displayed on top of the page:
"; throw new Exception($error); } $message .= $eol; $message .=
(etc)

So if I understand your answer right, if the master frame is php, the content page (that is inserted into the "content place holder") needs to be php as well, right?

Are there any disadvantages from changing all my content pages to php?
User avatar
Pablo
 
Posts: 21712
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: possible to put a form on a master frame?

Post by Pablo »

This indicates that the page extensions is not set to PHP.
heynen
 
 
Posts: 129
Joined: Sun Dec 31, 2017 4:27 pm

Re: possible to put a form on a master frame?

Post by heynen »

Thanks!

1) If the master frame is php, ALL related content pages need to be php as well?
2) Any disadvantages from switching all my pages to php?
User avatar
Pablo
 
Posts: 21712
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: possible to put a form on a master frame?

Post by Pablo »

The page extension of the master page does not mater because the master page should not be not published.

All pages that have a form should be set to PHP, otherwise the server does not know what to do with the code.
heynen
 
 
Posts: 129
Joined: Sun Dec 31, 2017 4:27 pm

Re: possible to put a form on a master frame?

Post by heynen »

The form is directly on the master FRAME (not page, do not know it this makes a difference in this case).

So I have to switch all pages to php that use this master frame?
User avatar
Pablo
 
Posts: 21712
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: possible to put a form on a master frame?

Post by Pablo »

So I have to switch all pages to php that use this master frame?
Yes
heynen
 
 
Posts: 129
Joined: Sun Dec 31, 2017 4:27 pm

Re: possible to put a form on a master frame?

Post by heynen »

Thanks!
Post Reply