Page 1 of 1

resultpage doesn't stays included

Posted: Tue Aug 22, 2006 8:54 pm
by EMR53
Hello there,

First of all great CMS. Tried a lot of them out there but this one rocks :D

I have one little problem and i don't now how to solve it.

I have one page "contact" with a  php include like this {include_php file="location/zipcode_index.php"} this works ok. This script is a form where you can enter your zipcode and then a resultspage is called.
The problem is that the resultspage is the same as the include--> "location/zipcode.php"

The output of that results page opens in a new window like this --> http://localhost/cmsmadesimple/location ... _index.php

what i want is that it stays included in the "contact" page. I have allready try'd to edit the form with  the target part

Does somebody have an idea? ???

Sorry about the english i'm from Holland

Cheers Erik

Re: resultpage doesn't stays included

Posted: Wed Aug 23, 2006 10:26 pm
by tsw
Your best bet is to integrate these two php files into one user defined tag. You can check for post values in the udt either show the form or the information you like.

hope this helps

Re: resultpage doesn't stays included

Posted: Thu Aug 24, 2006 5:01 am
by cyberman
And this
should be more (xhtml) valid  ;).

CMSms is a xhtml CMS!

Re: resultpage doesn't stays included

Posted: Thu Aug 24, 2006 9:20 am
by EMR53
Hi there


>Your best bet is to integrate these two php files into one user defined tag. You can check for post values in the udt either show the form or >the information you like.

I have no idea how to do that udt thing