# |
Oct 22nd 2009, 06:29 |
tPl0ch |
~api paginatecount |
# |
Oct 22nd 2009, 06:28 |
tPl0ch |
I take it in the controller, since paginate is a controller function |
# |
Oct 22nd 2009, 06:28 |
tPl0ch |
do I have to override paginateCount in the model or in the controller? |
# |
Oct 22nd 2009, 06:17 |
Mike_MnD |
rchavik: tnx it's my cakephp flying off point :D |
# |
Oct 22nd 2009, 06:17 |
Phally |
SaToNiO: its in $this->id |
# |
Oct 22nd 2009, 06:16 |
SaToNiO |
ty |
# |
Oct 22nd 2009, 06:16 |
abbasali |
SaToNiO: $this->Model->getLastInsertID(); |
# |
Oct 22nd 2009, 06:16 |
rchavik |
Mike_MnD: pretty impressive.. good luck with this site |
# |
Oct 22nd 2009, 06:15 |
SaToNiO |
? |
# |
Oct 22nd 2009, 06:15 |
SaToNiO |
how can i get the row id of a element created with $this->save (the table is auto increment and i haven't specified the id) |
# |
Oct 22nd 2009, 06:14 |
dakota |
ateTate: at the begining :) |
# |
Oct 22nd 2009, 06:14 |
SaToNiO |
hi |
# |
Oct 22nd 2009, 06:13 |
ateTate |
Where's a good place to start when performance-profiling a live cakephp app? |
# |
Oct 22nd 2009, 06:07 |
Mike_MnD |
the site have an admin panel which is fairly easy and cool with cake :P |
# |
Oct 22nd 2009, 06:07 |
Mike_MnD |
rchavik: i just sow you asked me bout the "cms" - and yes that was my point |
# |
Oct 22nd 2009, 06:05 |
Mike_MnD |
Ï |
# |
Oct 22nd 2009, 06:05 |
Mike_MnD |
*decision |
# |
Oct 22nd 2009, 06:04 |
Mike_MnD |
well "lamia, set yout avatar" - designer dessiosions :D |
# |
Oct 22nd 2009, 06:04 |
Mike_MnD |
dragon |
# |
Oct 22nd 2009, 06:04 |
Mike_MnD |
but lamer is not best translation cause ëàìÿ means a lamia (äðàãîí) |
# |
Oct 22nd 2009, 06:04 |
rchavik |
abatap = lamer ? :D |
# |
Oct 22nd 2009, 06:03 |
rchavik |
Mike_MnD: so cakephp is handling the 'cms' ? |
# |
Oct 22nd 2009, 06:03 |
Mike_MnD |
btw to translate something for you :P in your avatar in the moment writes "set your avatar, lamer" :P |
# |
Oct 22nd 2009, 06:01 |
Mike_MnD |
rchavik: congratulations :) |
# |
Oct 22nd 2009, 06:01 |
dakota |
bigcalm: Well, a helper belongs to a view, so it does make sense |
# |
Oct 22nd 2009, 06:01 |
rchavik |
Mike_MnD: registered now.. |
# |
Oct 22nd 2009, 05:57 |
bigcalm |
Seems an odd place to have it, but heyho |
# |
Oct 22nd 2009, 05:57 |
bigcalm |
Thank you :) |
# |
Oct 22nd 2009, 05:57 |
dakota |
views/helpers? |
# |
Oct 22nd 2009, 05:56 |
bigcalm |
It's a matter of extending the HtmlHelper class. I just need to know where I should be storing my files |
# |
Oct 22nd 2009, 05:56 |
Mike_MnD |
and also when upload a pic using some php and gd to make several thumbs |
# |
Oct 22nd 2009, 05:55 |
Mike_MnD |
rchavik: cause you asked me for the avatar thing i use http://projects.webtechnick.com/file_upload_plugin |
# |
Oct 22nd 2009, 05:55 |
dakota |
I don't know if you can overide html helper tags in 1.1 (I never used it) |
# |
Oct 22nd 2009, 05:55 |
dakota |
lol |
# |
Oct 22nd 2009, 05:55 |
bigcalm |
dakota: yep. no budget for moving to 1.2 |
# |
Oct 22nd 2009, 05:54 |
dakota |
) |
# |
Oct 22nd 2009, 05:54 |
dakota |
Easier to just update it |
# |
Oct 22nd 2009, 05:54 |
dakota |
bigcalm: Legacy app? |
# |
Oct 22nd 2009, 05:54 |
Mike_MnD |
but fornow have to battle in local teritory |
# |
Oct 22nd 2009, 05:54 |
Mike_MnD |
someday i'll make english/international version :P |
# |
Oct 22nd 2009, 05:53 |
rchavik |
РЕГИСТРÐЦИЯ ! |