On Thu, Jan 13, 2011 at 4:52 PM, OldWest <jason.wy...@gmail.com> wrote:
> I have a unique situation.
> I need to be able to access this
> data: $planDetails['PlanDetail']['application_url'] in my controller and
> render() (or another function) to an external url.
> This is what I am doing now to get this data into an element:
> function internal_page_test($id = null) {
> if (!$id) {
> $this->Session->setFlash(__('Invalid Plan Exclusion', true));
> $this->redirect(array('action' => 'index'));
> }
> $this->set('planDetails', $this->PlanDetail->read(null, $id)); //***
> Modified by Jason:
> $this->render('/plan_details/display_application_url');
>
>  $this->render($planDetails['PlanDetail']['application_url']); // This is
> what I need to achieve somehow.
> }
> So basically the action renders the content of the array data which in this
> case is just an: http://websiteaddress.com data.
> Can anyone make a recommendation on the best path to take on this?

This isn't very clear. Do youmean that you want to redirect to the
given URL? What do you mean by "http://websiteaddress.com data"? It's
just a URL?

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to