CakeResponse force zip download

2014-05-30 Thread fabio mangolini
that the headers are not correct...can someone help me with that because i didn't find anything useful in the cakebook? Thanks in advance. Fabio. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed

Research about frameworks

2013-05-15 Thread Fabio Schunig
. But, in the moment, I came here trying to know what CakePHP **can't do**. In other words, those features that we miss after working some time with the framework. Can you please tell me some features that you miss in CakePHP for the improvement of my research? Thank you! Fabio Schunig -- Like

Re: Can't locate the database?

2011-09-30 Thread Fabio Batista Araujo
Yves, The *cake_posts* is your MySql database and what is missing, accordingly the error response, is the *table* posts for the model Post. To fix it, create the table *posts* inside *cake_posts* database. If it is not the case, you have to be sure that you application is running the correct

DavidPersson Media plugin HABTM

2010-06-17 Thread Fabio
Hello everyone, I just started using CakePHP. I followed the blog tutorial and would like to attach images to posts with David Persson media plugins, but I wonder if it's possible to use a many to many relation (habtm). I made this structure in the database: posts table: id title body

disable single option in a select

2010-05-23 Thread fabio
Hello mates, do you know if it's possible with FormHelper to set the attribute disable=disabled in a single option of a select ? I mean a thing like this: option value=”spider” disabled=”disabled”Spider/option (see

Cake 1.3 problem setting admin layout in app_controller.php

2010-05-09 Thread fabio
Hello mates, i'm experimenting a problem while passing from 1.2 to 1.3 regarding how to set a style from app_controller.php Basicly i've a simple kind of admin area using the Auth component and what i need is to set a custom style for all the views in the admin area: ie

Re: Kaching: CakePHP Shopping Cart Framework Plugin

2010-04-21 Thread fabio
Dear Mike, thanks a lot for sharing your good work... I'm trying to get Kaching working, but i've encountered an obstacle regarding plugin routing... i guess I'm trying and trying to solve this but I couldn't solve it yet... that's why I'll try to explain it and hope on a little help... Basicly

Re: Kaching: CakePHP Shopping Cart Framework Plugin

2010-04-21 Thread fabio
Dear Mike, thanks a lot for sharing your good work... I'm trying to get Kaching working, but i've encountered an obstacle regarding plugin routing... i guess I'm trying and trying to solve this but I couldn't solve it yet... that's why I'll try to explain it and hope on a little help... Basicly

Re: help on a textarea in edit.ctp

2009-12-12 Thread fabio
for example utf8_unicode_ci instead... do you think my choice utf8_ bin is ok ? Thanks again for your precious help best regards fabio On 12 Dic, 08:50, j0n4s.h4rtm...@googlemail.com j0n4s.h4rtm...@googlemail.com wrote: You are using MySQL? Try switching the text encoding from whatever

Re: help on a textarea in edit.ctp

2009-12-11 Thread fabio
that should be widely supported by LONGTEXT, isn't it ?) any advice ? tnx a lot fabio On Nov 18, 2:47 pm, sphereweb ggr...@gmail.com wrote: What about in textarea field in the db? Do you have it as TEXT or VARCHAR? On Nov 17, 11:45 am, fabio 3bi...@gmail.com wrote: Dear Cakers, I'm

Re: help on a textarea in edit.ctp

2009-12-11 Thread fabio
questio mark...) Any idea how can i manage and solve this thing ? Tnx a lot fabio 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

Re: How I can integrate cakephp into Joomla.

2009-11-17 Thread fabio
of properties in a Real Estate Website). Did you came up with any working experiment using this model ? cheers fabio On 22 Ott, 12:37, www.landed.at calvincr...@gmail.com wrote: I was thinking that it was also useful to know how one might have both frameworks working in the same folder

help on a textarea in edit.ctp

2009-11-17 Thread fabio
Dear Cakers, I'm experimenting a strange behaviour on a baked edit.ctp view... Basicly in the edit.ctp there's a textarea (included by Form Helper) that when it's filled and the Submit button is press everything seems to work fine... and even the whole text inserted is correctly saved in the

Re: Simple Multiple File upload

2009-11-17 Thread fabio
I also suggest you this component that I've succesfully tried... by the way it has recently been updated to handle multiple uploads: http://www.webtechnick.com/blogs/view/221/CakePHP_File_Upload_Plugin On 17 Nov, 09:21, Jeremy Burns jeremybu...@me.com wrote: Try

Re: help on a textarea in edit.ctp

2009-11-17 Thread fabio
Hello is me again :-) I feel a bit stupid, but happy because I've solved the thing. I had just to change the type of the relative field in the database table: from TEXT to LONGTEXT Now the text limit is wide enough to be always rendere inside the text area when i call the edit.ctp view. I hope

Re: $form-input('') when database-field contains special characters

2009-11-16 Thread fabio
) it correctly shows in the textarea on edit.ctp Could you maybe suggest me how could I solve this strange behaviour ? thanks a lot in advance fabio On 3 Ott, 18:01, Melanie Sommer melanie-som...@mailinator.com wrote: Hello Martin Since the field is empty I suspect you may have Sanitize

Re: checkboxes with alternative value

2009-08-31 Thread fabio
... I know how i can access and echo elements from this array: ie. echo $this-data['Amenity'][0]['name']; and i think i should use a for each ... statement... but how can i loop this kind of multidimensional associative array in CakePHP ? tnx a lot fabio On 30 Ago, 06:50, delocalizer

Re: checkboxes with alternative value

2009-08-28 Thread fabio
] but i'm not really sure it make sense... Any additional suggestion ? thanks a lot, really appreciate fabio On 28 Ago, 07:59, Dr. Loboto drlob...@gmail.com wrote: echo $form-input('User.name', array('onfocus' = 'CheckCheckBox (this.form)')); On Aug 27, 9:18 pm, fabio 3bi...@gmail.com wrote

checkboxes with alternative value

2009-08-27 Thread fabio
is: how to get done this behaviour togheter with CakePHP default Form Helper ? Do you think it's possible somehow or another approach would be better to achieve the same result ? Thanks a lot in advance for some suggestions Best regards fabio

Mocking render method

2009-05-20 Thread Fabio Kreusch
Hello all, For the functional test of my system, I am mocking some of the controller methods. The only one I am having problems with is the render method. This is in my AppController: function render($action = null, $layout = null, $file = null) { if (CAKE_UNIT_TEST) { } else {

Re: Custom queries test

2009-01-22 Thread Fabio Kreusch
- From: cake-php@googlegroups.com [mailto:cake-...@googlegroups.com] On Behalf Of Fabio Kreusch Sent: Thursday, January 22, 2009 10:48 AM To: CakePHP Subject: Custom queries test Hello all! I'm thinking about on how to test custom queries in a model. Suppose I have something like

Custom queries test

2009-01-21 Thread Fabio Kreusch
Hello all! I'm thinking about on how to test custom queries in a model. Suppose I have something like this in a model: function doSomethingWithCustomQuery() { return $this-query('SELECT * FROM table'); } How can I test this using the fixtures and all? My main problem is how to detect the

Re: How to use the controller flash() method and what's the expected behaviour and output?

2008-12-20 Thread Fabio M
. Thank you for your patience : ) Fabio --~--~-~--~~~---~--~~ 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, send email to cake-php

How to use the controller flash() method and what's the expected behaviour and output?

2008-12-18 Thread Fabio M
is not working fine. I checked the default flash layout, and I see that redirect is performed with the following. ?php if (Configure::read() == 0) { ? meta http-equiv=Refresh content=?php echo $pause; ?;url=?php echo $url; ?/ ?php } ? Any help? Thank you, Fabio

Re: How to use the controller flash() method and what's the expected behaviour and output?

2008-12-18 Thread Fabio M
Wait. Changing the debug value in the core configuration make the flash messages work. Contrarily the change I tried to do in the add.ctp view was not holded outside that context. So the question is: why? Thank you, Fabio --~--~-~--~~~---~--~~ You received

Re: Understanding if a model-controller couple is needed

2008-12-03 Thread Fabio M
HABTM, or are they parent-child? I would think that you'd have:    1. Movies has many Reviews    2. Reviewers has many Reviews    3. Reviews belong to Movies and Reviewers On Nov 29, 11:43 am, Fabio M [EMAIL PROTECTED] wrote: --~--~-~--~~~---~--~~ You received

Understanding if a model-controller couple is needed

2008-11-29 Thread Fabio M
in advance. : ) Fabio M --~--~-~--~~~---~--~~ 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, send email

$javascript-object problem

2008-11-26 Thread Fabio Kreusch
Hello all, I'm starting with CakePHP, and I'm having this problem: When I use $javascript-object() to convert an array to a json object, it simply cut out my values with accents (áêé etc). Is there an option to stop doing this? Thanks! --~--~-~--~~~---~--~~ You

Creating and Destroying Associations

2008-09-06 Thread fabio . sfuncia
Hi bakers, Quickly, in cookbook (3.7.6.6): 1. $this-Model-unbindModel( 2. array('associationType' = array('associatedModelClassName')) 3. ); Is not more proper this ?: 1. $this-Model-unbindModel( 2. array('associationType' = array('associatedAlias')) //assocName 3. ); what

Re: Favicon Path

2008-09-06 Thread fabio . sfuncia
want set path use second parameter and look API ;) Fabio /fiblan However, the correct path was not being generated. In other words, the href attribute was always set to /favicon.ico even if the application was installed to a sub web. The $html-css(), $html- image() and $javascript-link() all

Re: scaffold

2008-09-03 Thread fabio . sfuncia
Scaffold is wonderfuland cake is very flexible (gymnast :D) framework ;) I suggest to exclude field with beforeRender (controller) + array_diff: //example to exclude created modified function beforeRender(){ if ($this-action=='index'){

Re: 404 Error When Accessing Controllers Using XAMPP

2008-08-31 Thread fabio . sfuncia
Try to add RewriteBase /myapp in app/webroot/.htaccess On Sun, Aug 31, 2008 at 12:26 PM, Wole [EMAIL PROTECTED] wrote: So far I have successfully setup CakePHP using XAMPP on my Mac. I am able to view the main page for my application with the CSS working. Next I created a users table,

Re: 404 Error When Accessing Controllers Using XAMPP

2008-08-31 Thread fabio . sfuncia
On Sun, Aug 31, 2008 at 6:24 PM, Wole [EMAIL PROTECTED] wrote: Thanks for the reply. I tried adding RewriteBase /myapp to app/ webroot/.htaccess but no luck. I still get the same error. I'm not even sure mod_rewrite is working properly in XAMPP, because even if I make an error in a .htaccess

Re: Unable to read $this-session() in AppController when using Admin Routes

2008-08-30 Thread fabio . sfuncia
On 8/29/08, Jaime [EMAIL PROTECTED] wrote: Weird: it only happens when Routing.admin is set to 'admin'. When I change it, everything works perfectlly. On 29 ago, 13:13, Jaime [EMAIL PROTECTED] wrote: I've been dealing with this for two days; hope it's not a lame question. On 1.2.0.7296

Re: CakePHP php5?

2007-05-26 Thread Fabio
Hi, I remember another app that had significative performance improvements, when turned to PHP5 only, without compatibility to PHP4 in the PHP5 interpreter. It would in fact be interesting to know if this will ever happen (ie, be possible) to CakePHP, with this in mind. Bye, Fabio On May 26, 2

Re: Drag hoverclass not effect, within my code

2006-12-01 Thread Fabio Esposito
try to use div class=products id='product1'drag me/div On 11/29/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: h1Drag Demo/h1 h2 class=products id='product1'drag me/h2 ?php $options = array( 'revert'= true, ); echo $ajax-drag('product1', $options); ?

ajax doubt

2006-11-29 Thread Fabio Esposito
to make my functions and interact with templates How to make a loading message like ruby on rails?? its an image? To make comboboxes and date comboboxes exists any helper? its inside html helper? Anybody have a drag and drop ajax example? In my project just de drag works :( thanks a lot! Fabio

Re: $ajax-drop problem

2006-11-28 Thread Fabio Esposito
not work :( neither div /div span /span On 11/27/06, Alex [EMAIL PROTECTED] wrote: div id=drop class=drop Drop/span hi, seems that you've a typo (span) -- []'s Fábio Espósito Pires (11) 9248- --~--~-~--~~~---~--~~ You received this message