Zen Cart Logo
Forums / General Questions / Adding Forms to EZ Pages BUG

Adding Forms to EZ Pages BUG

Locked

Views: 1,985

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
15 Nov 2006, 7:06 PM
#1
dizz avatar

dizz

Zen Follower

Join Date:
Oct 2006
Posts:
170
Plugin Contributions:
0

Adding Forms to EZ Pages BUG

Hi all,

I've attempted to add forms to my EZ Pages three times now, and each time Zen Cart manages to delete my code and/or render it un-editable. It is really strange - has anyone else had this problem? Is there any special format/technique I should use when adding forms to the EZ pages?

My guess is that the PHP is reading the form tags & parsing them incorrectly (since each cart page is basically a form itself - correct?) - is there a way to avoid this conflict using certain syntax?

16 Nov 2006, 4:10 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Adding Forms to EZ Pages BUG

ezpage content is essentailly html...so if you wrap this in html tags and write as html there should be no issues

16 Nov 2006, 2:55 PM
#3
dizz avatar

dizz

Zen Follower

Join Date:
Oct 2006
Posts:
170
Plugin Contributions:
0

Re: Adding Forms to EZ Pages BUG

Ooooooohhhhhhhhh

So the EZ pages require <html></html> tags? I thought that since they are still part of the overall template this was unnecessary. I would also need to add <meta> tags as well then?

16 Nov 2006, 3:58 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Adding Forms to EZ Pages BUG

ezpage content is essentailly htmlYou can try meta data but I think that it will end up displaying as it is not true html code, just html formatting.

Buit it might respond...I have never tried, relying on the main meta data.

17 Dec 2006, 1:19 AM
#5
stteacher avatar

stteacher

New Zenner

Join Date:
Sep 2006
Posts:
31
Plugin Contributions:
0

Re: Adding Forms to EZ Pages BUG

Did this work for you Dizz? I'm having the same issue trying to get a form into an EZ page...I have this working fine for feedback forms but I'm attempting to upload a new one that is a little more complex and uses Java and html.

Any additional thoughts Kobra, or have you heard of this problem before?

Thanks.

17 Dec 2006, 4:17 PM
#6
dizz avatar

dizz

Zen Follower

Join Date:
Oct 2006
Posts:
170
Plugin Contributions:
0

Re: Adding Forms to EZ Pages BUG

Stteacher,

Yes it did actually. Zen Cart actually removes the <html></html> tags after I submit the changes, but it did solve the problem. For some reason there must be a problem with the parsing without them. Strange, but this fix did work for me.

17 Dec 2006, 5:51 PM
#7
stteacher avatar

stteacher

New Zenner

Join Date:
Sep 2006
Posts:
31
Plugin Contributions:
0

Re: Adding Forms to EZ Pages BUG

Thanks for the post Dizz. Turns out a new firewall I installed was blocking a proper upload for some files and not others. That's gone now (firewall caused all kinds of other problems!) and it seems to be working fine.

Have a good one.