I'm migrating a tree backend to cake.
Unfortunately there are manay functions who depend from this value, as
they look for "-1" to identify a root entry.
On 24 Nov., 21:50, AD7six wrote:
> On 24 nov, 21:48, Aldo wrote:
>
> > Hello,
>
> > When using recover t
Hello,
When using recover the parent_id fields for root entries are empty.
Is there a way to set a default value like "-1" as parent_id for root
items?
Thanks
Aldo
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
Yo
Thanks!
That's what I was looking for.
On 13 Nov., 16:19, AD7six wrote:
> On 13 nov, 16:12, Aldo wrote:
>
> > I already did, but was not able to find an answer to my question.
> > In the Tree behavior documentation there is only mentioned tu use the
> > filed nam
I already did, but was not able to find an answer to my question.
In the Tree behavior documentation there is only mentioned tu use the
filed name "parent_id", but not how to change this setting.
On 13 Nov., 15:56, AD7six wrote:
> On 13 nov, 13:46, Aldo wrote:
>
> > Hello
Hello,
I have already a table structure for a tree, where the field
"parent_id" has another name. As other functions depend on this name I
need to tell Cakes's Tree Behavior in which field it has to look for
the parend ID.
Any idea how I can achive this?
Thanks!
Aldo
--
Yo
Key' => 'document_id'
)
);
?>
and
Thanks for any help.
Aldo
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send
o';
require_once 'sb/app/webroot/index.php';
$Dispatcher =& new Dispatcher();
$content = $Dispatcher->dispatch('/controller/action');
Thanks for any help!
Aldo
--~--~-~--~~~---~--~~
You received this message because you are subscr
I'm trying with CURL now to get the contents.
Is there something more simple?
On Jun 13, 12:50 am, Aldo <[EMAIL PROTECTED]> wrote:
> Any new idea on this?
>
> Thanks for any input!
>
> On Jun 12, 5:40 pm, Felix Geisendörfer <[EMAIL PROTECTED]> wrote:
content = $Dispatcher->dispatch('/controller/action');
>
> -- Felix
> --http://www.thinkingphp.orghttp://www.fg-webdesign.de
>
> Aldo wrote:
> > Hello
>
> > Does anybody know how to show the output from cakephp in a normal PHP
> >
();
> $content = $Dispatcher->dispatch('/controller/action');
>
> -- Felix
> --http://www.thinkingphp.orghttp://www.fg-webdesign.de
>
> Aldo wrote:
> > Hello
>
> > Does anybody know how to show the output from cakephp in a normal PHP
> &g
http://www.thinkingphp.org/2006/08/15/the-ultimate-cakephp-bootstrap-...
>
> Then do:
>
> $Dispatcher =& new Dispatcher();
> $content = $Dispatcher->dispatch('/controller/action');
>
> -- Felix
> --http://www.thinkingphp.orghttp://www
=& new Dispatcher();
> $content = $Dispatcher->dispatch('/controller/action');
>
> -- Felix
> --http://www.thinkingphp.orghttp://www.fg-webdesign.de
>
> Aldo wrote:
> > Hello
>
> > Does anybody know how to show the output from cakeph
website, where
this news come from cake.
Thanks for any help!
Aldo
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe
ow what is this error about?
Thanks.
Aldo.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group,
le where to look
$controllerName = $this->controller->name;
$output = $this->controller->$controllerName->findAll('id=2');
return $output;
}
}
Thanks for any help!
Aldo
--~--~-~--~~~---~--~~
Yes, thats what I ended up with ;-)
Thanks!
On Mar 8, 2:29 am, "Sergei" <[EMAIL PROTECTED]> wrote:
> Idea is simple:
>
> Use $this->query() to make custom sql queries. Don't mess with
> findAll() if you need something complex with grouping, having, cases
>
"$controllerName.id" => "!=
$id",
"$controllerName.folder" => 0,
"$controllerName.prev" =>
$fileData[0][$controllerName]["prev"]
ename" => "skyline.jpg")
So the problem is not getting the value of 'fullfilename', it's
setting the filed 'fullfilename'.
Any idea? Thanks!
On Mar 7, 1:26 pm, "Sergei" <[EMAIL PROTECTED]> wrote:
> You should access it like:
>
> $fil
;
$findOther = $this->controller->$controllerName-
>findAll($queryArray,
$fieldArray);
I dont know how to access 'fullfilename', defined in the AS statement.
Using it as showed in the example i dont get any result.
Thanks
Aldo
On Mar 6, 10:58 pm, "Zoltan&quo
t; Array
(
[id] => 15
[prev] => 1
[filename] => nyc_skyline.jpg
[fileExtension] => 0
[folder] => 0
)
[0] => Array
(
Thanks a lot!
That works.
Aldo
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email
No, I would like to try it without.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMA
stylesheets and images are not set
or wrong.
What should i change or set in my configuration?
Thanks for any help
Aldo
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this g
23 matches
Mail list logo