CakeResponse force zip download

2014-05-30 Thread fabio mangolini
r keep showing strange characters. Seems 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 --

Research about frameworks

2013-05-15 Thread Fabio Schunig
e frameworks can do. 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

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 dat

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 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 of a select ? I mean a thing like this: Spider (see http://www.lattimore.id.au/2005/06/18/disable-options-in-a-select-dropdown-element/) thanks a lot 3s Check out the new CakePHP Q

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 app/views/users/admin_ad

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
aybe better to choose 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" wrote: > You are using MySQL? > Try switching the text encoding from wh

Re: help on a textarea in edit.ctp

2009-12-11 Thread fabio
ta['Property'] ['description_long'].''; Like this, in edit.ctp i can get all the texts in their right textareaplace with only one problem... every apostrophes and quotation marks are not showing: in their place there is a weird character (kind of black romb with inside

Re: help on a textarea in edit.ctp

2009-12-11 Thread fabio
should be widely supported by LONGTEXT, isn't it ?) any advice ? tnx a lot fabio On Nov 18, 2:47 pm, sphereweb 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

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 th

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 wrote: > Try > this:http://bakery.cakephp.org/articles/view/fi

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 prop

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" wrote: > I was thinking that it was also useful to know how one might have both > frameworks working in the same folder

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

2009-11-16 Thread fabio
#x27;s say one single row) 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 wrote: > Hello Martin> Since the field is empty I suspect you may have Sanitize

Re: checkboxes with alternative value

2009-08-31 Thread fabio
x27;][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 wrote: > Hi Fabio; > Dr Loboto is correct - you'll have to

Re: Form with saving of true/false/null

2009-08-28 Thread fabio
lot in advance for any suggestion 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 em

Re: checkboxes with alternative value

2009-08-28 Thread fabio
t this point... :-( damn ! i think i'll end avoiding the FormHelper and coding it with pure html even if like this i'm gonna loose all the benefits of Cake Anyway thank you again for your tips fabio On 28 Ago, 10:16, "Dr. Loboto" wrote: > Read > manual.http://book.

Re: checkboxes with alternative value

2009-08-28 Thread fabio
r "after[string]" 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" wrote: > echo $form->input('User.name', array('onfocus' => 'CheckCheckBo

checkboxes with alternative value

2009-08-27 Thread fabio
How you can see, the javascript function allows the user to input an alternative value to yes/no only if the checkbox is previously checked So the point is: how to get done this behaviour togheter with CakePHP default Form Helper ? Do you think it

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 { par

Re: Custom queries test

2009-01-22 Thread Fabio Kreusch
Message- > 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 quer

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 te

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

2008-12-20 Thread Fabio M
so what happened before when it didnt work, I guess). So I think I didnt understand well which is the lifecycle of this Configure object. Thank you for your patience : ) Fabio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Group

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 this

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

2008-12-18 Thread Fabio M
message (that is clickable and links to the redirect url). I guess something is not working fine. I checked the default flash layout, and I see that redirect is performed with the following. Any help? Thank you, Fabio --~--~-~--~~~---~--~~ You received this message

Re: Understanding if a model-controller couple is needed

2008-12-03 Thread Fabio M
lly 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, Fabi

Understanding if a model-controller couple is needed

2008-11-29 Thread Fabio M
guage. Thank you 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

$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

Re: Favicon Path

2008-09-06 Thread fabio . sfuncia
er is type (and not title... it's a mistake for version 1.2) If you 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 &

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. ); w

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'){ $this->viewVars['sc

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 .ht

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: 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.

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 drag me On 11/29/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Drag Demo > > drag me > $options = array( > 'revert'=> true, > ); > echo $ajax->drag('product1', $options); > ?> > $html->image('ajax-loader.gif') ?> > > > > >

ajax doubt

2006-11-29 Thread Fabio Esposito
easy 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!

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: > > > > Drop > > hi, > > seems that you've a typo ("span") > > > > > -- []'s Fábio Espósito Pires (11) 9248- --~--~-~--~~~---~--~~ You received this message because you a