# |
Sep 22nd 2011, 12:47 |
ADmad |
whats not working and what doesnt do anything |
# |
Sep 22nd 2011, 12:47 |
isaqual |
ADmad: Does nothing actually |
# |
Sep 22nd 2011, 12:47 |
isaqual |
ADmad: I get no error anymore but it is not working.. |
# |
Sep 22nd 2011, 12:44 |
isaqual |
ADmad: sounds good, I ll try |
# |
Sep 22nd 2011, 12:43 |
ADmad |
isaqual: after the line $this->Controller =and new Controller(); do $this->Controller->helpers = array('foo', 'bar'); |
# |
Sep 22nd 2011, 12:43 |
isaqual |
aff.. and work day is too near to end.. |
# |
Sep 22nd 2011, 12:43 |
isaqual |
yeah |
# |
Sep 22nd 2011, 12:43 |
isaqual |
ADmad: And there is no problems sending emails. Problem is using own helpers in email-templates. |
# |
Sep 22nd 2011, 12:42 |
rchavik |
he can't get his helpers working in the email view |
# |
Sep 22nd 2011, 12:42 |
isaqual |
ADmad: thanks but I've readed this many times today :) |
# |
Sep 22nd 2011, 12:41 |
ADmad |
isaqual: http://bakery.cakephp.org/articles/Jippi/2007/12/02/emailcomponent-in-a-cake-shell |
# |
Sep 22nd 2011, 12:40 |
isaqual |
rchavik: I can't understand how it can help in this case |
# |
Sep 22nd 2011, 12:39 |
DidItAgain |
aright. Lemme know |
# |
Sep 22nd 2011, 12:38 |
DidItAgain |
rchavik, Id be interested in the git project you had an idea about |
# |
Sep 22nd 2011, 12:38 |
rchavik |
maybe create a dummy controller with all your required helpers + component, then use that in the shell |
# |
Sep 22nd 2011, 12:37 |
rchavik |
yeah.. you're using a Controller, no name |
# |
Sep 22nd 2011, 12:36 |
isaqual |
rchavik: "Fatal error: Class '' not found in .." |
# |
Sep 22nd 2011, 12:34 |
dakota |
franki: you don't have to use it, but it will show you how to do it at least :) |
# |
Sep 22nd 2011, 12:33 |
rchavik |
isaqual, try adding $this->Controller->constructClasses() after line 5 |
# |
Sep 22nd 2011, 12:32 |
franki |
im not so lucky with plugins usually |
# |
Sep 22nd 2011, 12:31 |
franki |
lets see |
# |
Sep 22nd 2011, 12:31 |
isaqual |
basic cake helpers works fine.. like $html |
# |
Sep 22nd 2011, 12:31 |
dakota |
franki: look at the cakedc users plugin. It includes that |
# |
Sep 22nd 2011, 12:31 |
isaqual |
I can send emails but not use any own helpers like image-resize in email templates |
# |
Sep 22nd 2011, 12:30 |
franki |
but what if users closes page |
# |
Sep 22nd 2011, 12:30 |
franki |
or i could just send email and ask for a code in the same page |
# |
Sep 22nd 2011, 12:29 |
rchavik |
fenix`, yeah.. isaqual |
# |
Sep 22nd 2011, 12:29 |
fenix` |
oh auto name completion fail |
# |
Sep 22nd 2011, 12:29 |
franki |
how do i retrieve data from it?it should be kinda random page |
# |
Sep 22nd 2011, 12:29 |
fenix` |
not me.. |
# |
Sep 22nd 2011, 12:29 |
fenix` |
rchavik: what? |
# |
Sep 22nd 2011, 12:28 |
franki |
i need a "register module"but it must have an email of confirm |
# |
Sep 22nd 2011, 12:28 |
franki |
also another question but a little harder |
# |
Sep 22nd 2011, 12:28 |
rchavik |
fenix`, you're having problems sending email from shell ? |
# |
Sep 22nd 2011, 12:27 |
isaqual |
dakota: Good point but our client doesn't agree that.. |
# |
Sep 22nd 2011, 12:27 |
dakota |
isaqual: Well, I never send html emails. far too much of a hassle to get working |
# |
Sep 22nd 2011, 12:26 |
isaqual |
) |
# |
Sep 22nd 2011, 12:26 |
dakota |
isaqual: I see |
# |
Sep 22nd 2011, 12:26 |
isaqual |
dakota: and actually it is allready in production.. I'm just trying to do some additional features.. |
# |
Sep 22nd 2011, 12:26 |
fenix` |
dakota: centos is.. a redhat knockoff. |
# |
Sep 22nd 2011, 12:26 |
dakota |
then what is centos ;) |