Re: java script detection at the time of site load

2012-01-19 Thread AD7six
On Jan 18, 10:04 pm, Miles J mileswjohn...@gmail.com wrote: You can't detect if JS is enabled via PHP. You can, however, do something ball-achingly simple like this: script (function() { var img = document.createElement(img); img.setAttribute(src, /I/haz/js.gif);

facebook connect pluggin

2012-01-19 Thread vikram acharya
i am new to cake php currently i am using CakePHP-Facebook-Plugin facebook i have downloaded the pluggin and inserted that file in pluggin/ facebook folder in my app i have changed my facebook.php file means all app detail i have entered now when i am running my app it shows the error Notice

Re: Custom Find Type Pagination Problem - CakePHP 2.0.5

2012-01-19 Thread Thiago Belem
Thank you Lorenzo. Att., -- ***Thiago Belem* Desenvolvedor Rio de Janeiro - RJ - Brasil +55 (21) 8865.9250 thiagobelem.net cont...@thiagobelem.net *Skype / gTalk **»* thiago.belem.web *LinkedIn* *»* br.linkedin.com/in/thiagobelem/pt* Assando Sites*, curso de CakePHP *»* assando-sites.com.br

Re: Starting with 1.13 or 2.0

2012-01-19 Thread ton jansen
you should start with 2.0 Simple reason is that the developpers change the api every time there is a new release. This makes for a very slow workpace, you have to learn the new version every time. Cakephp is great, but if you want to be productive be sure to read a lot and to start over every time

Re: how to count downloads

2012-01-19 Thread ahmed fakher
you come her to linking my question in stackoverflow... thanks man you are welcome..but my question here or in stackoverflow. not answered..and i still waiting answer On Jan 18, 5:15 pm, euromark dereurom...@googlemail.com wrote: a pretty similar question has just been asked a day before you

Question about routing

2012-01-19 Thread heohni
Hi, from a relaunch I have many old links in google which all land on a 404 page and I would like to redirect them to the new homepage. What do I have to do when I want to catch all of these links with this file name: /search.php?anylongquerystring to redirect it to the homepage? I tried this:

dealing with multicolumn unique indexes... best practice?

2012-01-19 Thread Ernesto
Hi all What's the most Cake-ish way to deal with multicolumn unique indexes? let me explain: i have two models *Material HABTM Mix*. I must keep track of some addtional infos (% of material for each mix) in the join table so, as stated in the cookbook, i scomposed the relationship in *2x

Re: Installation problem with newly baked app

2012-01-19 Thread Daniel
I uncommented the following line: define('CAKE_CORE_INCLUDE_PATH', 'C:' . DS . 'wamp' . DS . 'www' . DS . 'cake' . DS . 'lib'); ... and the error went away. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site

Re: Question about routing

2012-01-19 Thread Thiago Belem
Check the Router class on the documentation. -- Thiago Belem, Desenvolvedor WEB Enviado do meu Android Em 19/01/2012 11:28, heohni heidi.anselstet...@consultingteam.de escreveu: Hi, from a relaunch I have many old links in google which all land on a 404 page and I would like to redirect

captcha problem

2012-01-19 Thread xparm...@yahoo.com
I made a captcha file an put it under the images directory. I display it as an image and works nice. However when i use the file with cake php I cannot find anywhere the value that I put it in session. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check

saveAll(..) + hasOne NOT WORKING !! ... is it a bug?!

2012-01-19 Thread toka...@gmail.com
Hi! Could anybody give me a hint whats wrong? I am trying to save two keyed model's records at once using saveAll(), and MySQL gives me that error: *** SQL Error: 1048: Column 'ip_id' cannot be null I have main model called Ip that hasOne Backbone and Backbone belongsTo Ip ... (It is very similar

Re: java script detection at the time of site load

2012-01-19 Thread Miles J
Right but I would rather just set a cookie via JS and check it on the PHP side. Same effect. But now a days, you shouldn't have to worry about the user not having JS enabled. On Jan 19, 12:57 am, AD7six andydawso...@gmail.com wrote: On Jan 18, 10:04 pm, Miles J mileswjohn...@gmail.com wrote:

Re: Captcha reload problem

2012-01-19 Thread Daniel
I found the answer was to pass in the time() to the image link so forcing IE to reload the image (instead of using its cache.) -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others

date Field in german format dd.mm.yyyy

2012-01-19 Thread schulte.christ...@googlemail.com
Dear all, I'm a beginner and I try to find a way to have a date field call it 'mydate' and I want to display it as a normal textfield (not the dd - mm - thing) in the german format. In the MySQL database I have a datefield with -mm-dd im my edit and add view I have a code like: ...

Re: date Field in german format dd.mm.yyyy

2012-01-19 Thread schulte.christ...@googlemail.com
Additional Information: I have CakePHP 2.05 on debian and php 5.3.3-7 -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from

Re: date Field in german format dd.mm.yyyy

2012-01-19 Thread euromark
you can use a behavior for it I use an InputBehavior which formats them on beforeSave() and back on afterFind() On 19 Jan., 21:49, schulte.christ...@googlemail.com schulte.christ...@googlemail.com wrote: Additional Information: I have CakePHP 2.05 on debian and php 5.3.3-7 -- Our newest site

Re: cakeDC utils csvImport - extra record

2012-01-19 Thread José Lorenzo
Not much, you should debug into the behavior to see where it is trying to add a blank row. I've used it many times in the past without any issues -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org

Need Financial/Accounting Plugin for CakePHP 2.x

2012-01-19 Thread Tanvir Gaus
Can anyone help me out with this one? -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to

Re: Installing CakePHP 2 in Ubuntu 11.04

2012-01-19 Thread thom
On Tue, Jan 17, 2012 at 11:24 AM, freakysquash jacobdaniel.fernan...@gmail.com wrote: 0 down vote favorite share [fb] share [tw] I am running Ubuntu 11.04 with Apache/MySQL/PHP5 installed. I completely followed the installation process form this link:

Re: date Field in german format dd.mm.yyyy

2012-01-19 Thread schulte.christ...@googlemail.com
Dear euromark, thanks for your advice... Can you provide me some more advice on this or maybe the code? TIA Christian On 19 Jan., 23:16, euromark dereurom...@googlemail.com wrote: you can use a behavior for it I use an InputBehavior which formats them on beforeSave() and back on afterFind()