Hello,

I have a website which I'm working on. I have one part of a page I'd
like to use more than once, only with different parameters. I've used
the elements feature of CakePHP. But that becomes too complex, because
the page I want to reuse has all kinds of references to one controller
(and I'd like to use it also in another controller).

Now, I've tried requestAction, but that only imports data from a
controller action, and not the view.

App:import also doesn't seem right, because views still get approached
by a different controller than the references point to.

So I thought, maybe I should use the 'good old' PHP include
function :) But that doesn't seem to work, because of mod_rewrite.

Does anyone know of a way how to solve this or point me in the right
direction? Could there be a way for the include function to work?

Thanks in advance for any advice.

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 [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

To unsubscribe, reply using "remove me" as the subject.

Reply via email to