Excellent! Many thanks, I will search for more info on this and
hopefully solve this!
I had searched the group many times, in fact I read thru the group
daily at the moment as I'm trying to learn as much as poss, its just
trick sometimes knowing exactly what to search for as I'm still not
100% wi
Hi AD7six
I like you answer - letting the database use CONCAT leaves your code
nice and clean, how exactly are you suggesting to do it though?
Can you append it to the model in some way when you use a built in
method (e.g. findAll) or were you suggesting creating a custom query
function in the
On Jan 18, 10:29 am, designvoid <[EMAIL PROTECTED]> wrote:
> Noone able to add any insight to this?
There is a lot of insight already listed on the frequent discussions
page.
The really really easy solution is to make a model of your join table
and call $this->Project->ProjectsTeam->findAll($c
Noone able to add any insight to this? Sorry to bump, I know its
annoying, but I'm loathed push forward with this app if I'm unsure
about cases like this...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" g
In my opinion it's more correctly to keep one view template that
contains both view templates and switches between them (so you'll got
one one view file for controller/action - that is how CakePHP wants
you to do this).
Louie Miranda:
> Is it possible to display two view templates (*.ctp) on one
On Jan 18, 10:06 am, Frobozz <[EMAIL PROTECTED]> wrote:
> In my opinion it's more correctly to keep one view template that
> contains both view templates and switches between them (so you'll got
> one one view file for controller/action - that is how CakePHP wants
> you to do this).
Since when?
On Jan 18, 10:03 am, MrTufty <[EMAIL PROTECTED]> wrote:
> You're not telling us anything about your specific situation, so it's
> unlikely anyone is going to be particularly helpful.
I feel like being a bit particular :).
My powers are telling me that allenxie should remove cake/ from
the
On Jan 18, 9:43 am, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> Hi everyone,
> I have been thinking a bit about how elements work and how to best
> make use of them. My starting-point is that I really don't like having
> to "set" a variable in the controller to get it to the view and then
>
You're not telling us anything about your specific situation, so it's
unlikely anyone is going to be particularly helpful.
Some things that would help:
What version of Cake are you using?
What environment are you running it in? Windows? Linux? Where do you
have it installed?
With that informati
Explicitly call the controller's render() function with the name of
the view file.
If no call to render() is made, the default view for this action will
be used, unless turn off autoRender too.
On Jan 18, 8:01 am, "Louie Miranda" <[EMAIL PROTECTED]> wrote:
> Is it possible to display two view te
Hi
I have configurated CakePHP with webservice and CAKE_ADMIN enable.
If I use them separately they work perfectly.
But If I would use then together which url have I to use?
"http:www.mysite.com/xml/admin/controller/view" doesn't work
"http:www.mysite.com/xml/controller/admin/view" doesn't work
-
Hi everyone,
I have been thinking a bit about how elements work and how to best
make use of them. My starting-point is that I really don't like having
to "set" a variable in the controller to get it to the view and then
have to also pass it along to the element. This somehow feels
redundant to me
Is it possible to display two view templates (*.ctp) on one function?
example..
function view($id == null)
{
if ($id == 1) {
// display page 1
} else { // id2
// display page 2
}
}
How could i do this?
--
Louie Miranda ([EMAIL PROTECTED])
http://www.axishift.com
Security
101 - 113 of 113 matches
Mail list logo