# |
Sep 12th 2009, 18:36 |
dogmatic69 |
just some divs |
# |
Sep 12th 2009, 18:35 |
dogmatic69 |
it an element "message" in folder ajax |
# |
Sep 12th 2009, 18:34 |
AD7six |
dogmatic69: what's in ajax/message |
# |
Sep 12th 2009, 18:33 |
dogmatic69 |
line 21 |
# |
Sep 12th 2009, 18:33 |
dogmatic69 |
http://bin.cakephp.org/view/246434004 |
# |
Sep 12th 2009, 18:32 |
dogmatic69 |
!bin |
# |
Sep 12th 2009, 18:32 |
dogmatic69 |
that is the exact line in the helper |
# |
Sep 12th 2009, 18:32 |
AD7six |
dogmatic69: why do you want to render an element, from a helper |
# |
Sep 12th 2009, 18:32 |
dogmatic69 |
AD7six: dont know what you want to know? |
# |
Sep 12th 2009, 18:31 |
AD7six |
dogmatic69: I didn't ask you to repeat what you already said |
# |
Sep 12th 2009, 18:30 |
dogmatic69 |
look for the auth tut in book.cakephp.org |
# |
Sep 12th 2009, 18:29 |
NoReGreT |
where can I find a sample login page in cakephp ? |
# |
Sep 12th 2009, 18:26 |
dogmatic69 |
\o/ |
# |
Sep 12th 2009, 18:26 |
dogmatic69 |
my ftp just made my file look like this ????? ????????????? ??????? ??????????? |
# |
Sep 12th 2009, 18:26 |
dogmatic69 |
$this->element( 'someelement' ); in a helper |
# |
Sep 12th 2009, 18:20 |
AD7six |
dogmatic69: what's your use case |
# |
Sep 12th 2009, 18:19 |
unclezoot |
dont answer your question mind |
# |
Sep 12th 2009, 18:19 |
unclezoot |
i know you can call js and css from the plugin helper |
# |
Sep 12th 2009, 18:19 |
unclezoot |
that's a good question |
# |
Sep 12th 2009, 18:15 |
dogmatic69 |
is it posible to call a element from a helper? |
# |
Sep 12th 2009, 17:51 |
unclezoot |
vs class Advantage extends AppModel { |
# |
Sep 12th 2009, 17:50 |
unclezoot |
you cant spell var $name = 'Avantage'; |
# |
Sep 12th 2009, 17:50 |
unclezoot |
hehe |
# |
Sep 12th 2009, 17:46 |
dogmatic69 |
i think that might only work in the controller |
# |
Sep 12th 2009, 17:45 |
dogmatic69 |
change var $useTable = 'users'; to var $uses = array( 'User' ); |
# |
Sep 12th 2009, 17:39 |
Hedz |
thun_ and how do you use the model? |
# |
Sep 12th 2009, 17:38 |
thun_ |
line #9 already fixed and still same error |
# |
Sep 12th 2009, 17:37 |
thun_ |
http://pastebin.com/m2f55c330 |
# |
Sep 12th 2009, 17:34 |
dogmatic69 |
pr( $this->Model ); |
# |
Sep 12th 2009, 17:34 |
Hedz |
thun_ bin your model |
# |
Sep 12th 2009, 17:34 |
dogmatic69 |
its the rendering and dl that is the problem |
# |
Sep 12th 2009, 17:34 |
thun_ |
can i debug(current database settings) ? what var keeps that in a model |
# |
Sep 12th 2009, 17:34 |
dogmatic69 |
cos your sql is about 2 - 5ms |
# |
Sep 12th 2009, 17:34 |
dogmatic69 |
yip |
# |
Sep 12th 2009, 17:34 |
unclezoot |
speedwise |
# |
Sep 12th 2009, 17:34 |
dogmatic69 |
unclezoot: caching the modle would not give much |
# |
Sep 12th 2009, 17:34 |
unclezoot |
i suspect static html would be the way forward |
# |
Sep 12th 2009, 17:33 |
dogmatic69 |
lol |
# |
Sep 12th 2009, 17:33 |
unclezoot |
but if i had time, id try both and compare |
# |
Sep 12th 2009, 17:33 |
unclezoot |
my conclusion is the administrators can get stuffed and im not going to bother with any caching because i still have to finish the rest of this app first |
# |
Sep 12th 2009, 17:32 |
BlackIce |
unclezoot: and, what was your conclusion? |