resultpage doesn't stays included

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
EMR53
Forum Members
Forum Members
Posts: 31
Joined: Tue Aug 01, 2006 6:09 pm

resultpage doesn't stays included

Post 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
Last edited by EMR53 on Wed Aug 23, 2006 7:10 am, edited 1 time in total.
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: resultpage doesn't stays included

Post 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
cyberman

Re: resultpage doesn't stays included

Post by cyberman »

And this
should be more (xhtml) valid  ;).

CMSms is a xhtml CMS!
EMR53
Forum Members
Forum Members
Posts: 31
Joined: Tue Aug 01, 2006 6:09 pm

Re: resultpage doesn't stays included

Post 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
Last edited by EMR53 on Thu Aug 24, 2006 10:56 am, edited 1 time in total.
Post Reply

Return to “CMSMS Core”