Re: file upload with ajax

2010-03-04 Thread donnerbeil
, that when you quit editing a post the images will be shown again, when you add a post at a later point. I couldn't find a better solution. What do you think? Donnerbeil On Mar 4, 10:05 am, martinp he...@martinpetts.com wrote: This might be of interest:http://www.zurb.com/playground/ajax_upload On Mar

file upload with ajax

2010-03-02 Thread donnerbeil
ajax-submit and $ajax-form together cause a known issue) I couldn't find much about file upload with ajax in cake Any ideas? Thanks Donnerbeil Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you

Re: update db insted of insert if entry already exists

2010-01-06 Thread donnerbeil
Hi Ian, Thanks, I'll try that and will let you know, if it works. Donnerbeil Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post

update db insted of insert if entry already exists

2010-01-05 Thread donnerbeil
(__('Page not found.', true),'error'); } } $this-redirect($this-referer()); } } ? Thanks Donnerbeil Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received

mysql crashes on acl-allow()

2009-08-03 Thread donnerbeil
Hi all, I started my community website without acl. Now its time to have acl as I want to have moderators for some parts of the website. I wrote a little controller, that assists me in putting all the aros and acos in the db. In order for it to work i had to set the max execution time in

img tags and autolink

2009-04-24 Thread donnerbeil
fine, but not for img-tags. Any solution for this or is this worth a ticket? Thanks in advance Donnerbeil --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php

Re: special i18n problem

2009-04-13 Thread donnerbeil
, as their main language is also German. Same thing for USA and Canada. The presentation language is not the problem. That's quite easy done with the po-files. Well, I'll try out a few things and post the best solution, when I'm done. Happy Eastern Donnerbeil On 8 Apr., 08:05, John Andersen j.andersen

special i18n problem

2009-04-07 Thread donnerbeil
equal the given country_id. Do you have any other ideas? I'm just not sure, if this is the best way to do it. Thanks in advance Donnerbeil --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post

Re: skype links with html helper

2009-04-03 Thread donnerbeil
Oh, thats easy. Is that HTML? Just kidding. Sometimes it's still easier without cakebut only sometimes Thanks for helping my brain thinking in a non-cake way Donnerbeil --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

skype links with html helper

2009-03-31 Thread donnerbeil
Hi, Does anyone know, if it is possible to generate a link like: skype:username?call with the html-link() method? I tried this: $html-link('username','skype:username?call); output is: http://www.mydomain.com/skype:username?call Any ideas?

Re: COUNT HABTM whith condition

2009-03-26 Thread donnerbeil
', 'order' = 'num DESC', 'limit' = 10 //int )); So I'm just starting from the join model, that is bound to two belongsTo relations. Then the whole data is fetch with a single sql query Hope this helps someone. Donnerbeil

COUNT HABTM whith condition

2009-03-25 Thread donnerbeil
'), 'group' = 'User.id', 'order' = 'num DESC', 'limit' = 10 //I onlyneed the top10 )); All I need is a way to only count the posts with post.created [given_date] Any ideas? Thanks Donnerbeil

automatic language detection in cake?

2008-10-06 Thread donnerbeil
be quite useful for my future plans, but I haven't found anything about it. thanks for any help Donnerbeil --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php

email with link to mydomain.com

2008-09-27 Thread donnerbeil
tell cakephp, that it has to put http://www.mydomain.com in front of the url, so that it works when someone clicks on the link in the email? any ideas? Thanks Donnerbeil --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Making Paginator first sort direction DESC

2008-05-22 Thread donnerbeil
('description','fieldname',array('direction'='desc')); Donnerbeil On 21 Mai, 22:03, donnerbeil [EMAIL PROTECTED] wrote: Actually you can do this in your view: $paginator-sort('Name','name',array('direction'='desc')); At least the API says that. But I tried and it didn't work. Maybe it's not yet

Re: Making Paginator first sort direction DESC

2008-05-21 Thread donnerbeil
Actually you can do this in your view: $paginator-sort('Name','name',array('direction'='desc')); At least the API says that. But I tried and it didn't work. Maybe it's not yet implemented in the current 1.2beta. Or my syntax is not correct. Anyone any idea? Donnerbeil On 20 Mai, 11:09, Tim W

Re: Email Component sends email with empty body

2008-05-20 Thread donnerbeil
great. I just have to understand what's wrong. Donnerbeil --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group

open real url

2008-05-20 Thread donnerbeil
Hi! I have my web statistics in www.mydomain.com/statistics When I try to open that url cake of course looks for a ststistics controller. How can I open the real url? Do I have to change the .htaccess? Donnerbeil --~--~-~--~~~---~--~~ You received this message

Re: Email Component sends email with empty body

2008-05-20 Thread donnerbeil
in utf8 because of some special chars in $this-Session-setFlash(); Setting $this-Email-charset = 'iso-8859-15'; didn't help I'm confused Donnerbeil Also my DB is utf8 encoded. And my subject is also changed to something like, =?UTF-8?B?V2VsY29tZ

Re: Email Component sends email with empty body

2008-05-20 Thread donnerbeil
, to check if it's hidden somewhere. nope, it's just not there. Donnerbeil --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from

Email Component sends email with empty body

2008-05-19 Thread donnerbeil
can at least read the email, but still only with all the headers in it. I'm trying to fix this for over a week now. My whole web app is working, but I need to send an email with an activation code for the new users. So please help me fix this last issue. Thanks a lot for any help. Donnerbeil