Re: URL rewriting is not properly configured on your server

2015-01-14 Thread Marcelo F Andrade
'Internal Server Error'. Probably your host does not allow Apache dir based configuration. Ask your provider about it. Regards. -- MARCELO F ANDRADE | Belem, Amazonia, Brazil | http://marceloandrade.info -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http

Re: can any body suggest me to create cms in cakephp from scratch

2014-04-25 Thread Marcelo F Andrade
you. Start with the CakePHP blog tutorial. After finished, write us your next impressions and needs. http://book.cakephp.org/2.0/en/getting-started.html Regards. MARCELO F ANDRADE | Belem, Amazonia, Brazil | http://about.me/mfandrade -- Like Us on FaceBook https://www.facebook.com/CakePHP

Re: Missing Database Table, two models are joined and asking new table

2014-04-25 Thread Marcelo F Andrade
F ANDRADE | Belem, Amazonia, Brazil | http://about.me/mfandrade -- 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 to the Google Groups CakePHP group. To unsubscribe from this group

Re: not loading js and css !!!

2013-09-10 Thread Marcelo F Andrade
and webroot folders Regards. MARCELO F ANDRADE | Belem, Amazonia, Brazil | http://about.me/mfandrade -- 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 to the Google Groups CakePHP group

Re: Is make desktop application in cakephp

2013-08-21 Thread Marcelo F Andrade
On Tue, Aug 20, 2013 at 3:23 PM, Ankur Chauhan ankurchauhan4...@gmail.com wrote: Is make desktop application in cakephp? Years ago, I tried that using a tiny embedded webserver, Sqlite database and an interface with Mozilla Prism. Regards, MARCELO F ANDRADE | Belem, Amazonia, Brazil | http

Re: Cakephp blog tutorial, SQL error when INSERTING into posts.

2013-08-05 Thread Marcelo F Andrade
-with-utf-8-characters-in-ruby-on-rails/ Regards. MARCELO F ANDRADE | Belem, Amazonia, Brazil | http://about.me/mfandrade -- 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 to the Google

Re: hasMany / belongsTo not working

2013-07-30 Thread Marcelo F Andrade
On Tue, Jul 30, 2013 at 6:50 AM, WhyNotSmile sharongilmor...@gmail.com wrote: I have a pretty simple pair of objects, Photo and Album, defined as follows: class Album extends Model { public $name = 'Album'; public $hasMany = array( 'Photo' = array( 'className' = 'Photo', 'order'

Re: language problem in database cake1.3

2012-12-12 Thread Marcelo F Andrade
On Tuesday, December 11, 2012 10:36:01 AM UTC-8, Chris wrote: anyone,...? why do I see this crap in a view with cake1.3,? ›Ð°Ñ ковый май- Розовый вечер where it used to work in 1.2 thanks Em 11/12/2012 23:59, Chris chris...@yahoo.com escreveu: the problem is

Re: CakePHP in Production throws odd error when inside a folder

2012-12-12 Thread Marcelo F Andrade
Em 12/12/2012 07:19, Athan Clark athan.cl...@gmail.com escreveu: Hi everyone, I'm having a bit of trouble getting my app installed properly on my server. I have it inside a folder, yet CakePHP sees it as a request to a controller when I try to view it... it's a weird bug. The app is inside a

Re: Cake PHP v 2.2.4 - Newbie, blog tutorial does not work?

2012-12-10 Thread Marcelo F Andrade
Em 11/12/2012 00:42, Paul Marriott paulmarrio...@googlemail.com escreveu: I have installed and run through the Blog tutorial and am getting the error http://localhost/cakephp-cakephp-b2812f2/posts/index Error: PostsController could not be found The file definitely exists, I have tried the

Re: can anyone help me how to print the data in new window with the controller action.

2012-11-28 Thread Marcelo F Andrade
it with JavaScript code like window.opener.print(). Cheers. -- MARCELO F ANDRADE Belem, Amazonia, Brazil I took the red pill -- 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 to the Google

Re: find and display groups by higher ranking

2012-11-22 Thread Marcelo F Andrade
the documented API: http://api.cakephp.org/class/model#method-Modelfind Regards. -- MARCELO F ANDRADE Belem, Amazonia, Brazil I took the red pill -- 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

Re: Showing selected values in a HABTM

2012-06-27 Thread Deco F Martins
Arak, Would you mind posting your solution, I´m stuck in the same problem as you Thks! On Monday, March 1, 2010 12:42:02 AM UTC-3, Arak Tai'Roth wrote: Nevermind, I got it figured out, thank you for your help. On Feb 28, 9:24 pm, Arak Tai'Roth nielsen.dus...@gmail.com wrote: I'm not

Could not describe table Error: An Internal Error Has Occurred.

2011-09-06 Thread Jon F
Hey guys, I am using cake 2.0 alpha. (I don't know why I chose this for something I needed to work consistently, but I haven't had any trouble until now.). I didn't make any changes to my database or code in the last day, and am suddently getting this error. Could not describe table for

Re: When Testing controllers, what should I be testing?

2010-08-30 Thread Marcelo F Andrade
to the view (my choice) or even the HTML code rendered. http://book.cakephp.org/view/1210/Testing-controllers#The-testAction-method-1212 -- MARCELO F ANDRADE Belem, Amazonia, Brazil I took the red pill Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related

Re: save() omitted

2010-07-17 Thread Marcelo F Andrade
reason your data isn't saving, be sure to check to see if some validation rules aren't being broken. Thanks for the help. That's extremely common. Nice suggest. Best regards. -- MARCELO F ANDRADE Belem, Amazonia, Brazil I took the red pill Check out the new CakePHP Questions site http

Re: Internationalizing the Application

2010-06-22 Thread Marcelo F Andrade
') instead of 'My message'), save a .po file in the proper local and set you default language in the Config.language configuration entry. Cake can generate .po files for you when you run: cake i18n extract Best regards. -- MARCELO F ANDRADE Belem, Amazonia, Brazil I took the red pill Check out

Re: Email component

2010-06-17 Thread Marcelo F Andrade
this: !defined('EMAIL') define('EMAIL', 'exam...@domain.com'); Or even define constants in your bootstrap.php. Atts. -- MARCELO F ANDRADE Belem, Amazonia, Brazil I took the red pill Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You

Re: Problem with form creation after upgrade to 1.2.7

2010-06-17 Thread Marcelo F Andrade
set attribs for your form. ?php echo $form-create('CautareProduseVechi',array('action'='cautareProduseVechi', 'id' = 'CautareProduseVechiAddForm')); Best regards. -- MARCELO F ANDRADE Belem, Amazonia, Brazil I took the red pill Check out the new CakePHP Questions site http://cakeqs.org

Re: Format date with span classes

2010-06-17 Thread Marcelo F Andrade
',strtotime($post['Post']['date']));?br / ?php echo date('F',strtotime($post['Post']['date']));?br / ?php echo date('Y',strtotime($post['Post']['date']));? Best regards. -- MARCELO F ANDRADE Belem, Amazonia, Brazil I took the red pill Check out the new CakePHP Questions site http://cakeqs.org and help

Re: How i can increase session time in cakephp,

2010-06-14 Thread Marcelo F Andrade
On Mon, Jun 14, 2010 at 8:15 AM, arif hossen arifhossen2...@gmail.com wrote: Dear Experts, How i can increase session time in cakephp, You can change Security.level in app/config/core.php and there is a Session.timeout entry too. Atts. -- MARCELO F ANDRADE Belem, Amazonia, Brazil I took

Re: Strange form helper output I can't understand: divs after input

2010-06-05 Thread Marcelo F Andrade
the input like this div class=submitinput type=submit value=Save Category // div I'm not sure, but I think this additional div is used for validation messages. You can omit it this way echo $form-input('name', array('div' = false)); Best regards. -- MARCELO F ANDRADE Belem, Amazonia, Brazil I

Re: User errors and fat model, skinny controller

2010-06-05 Thread Marcelo F Andrade
of status code or even throw exceptions for each expected situation in your case. Best regards. -- MARCELO F ANDRADE Belem, Amazonia, Brazil I took the red pill Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received

Multiple controller for 1 layout

2009-10-04 Thread f m
I'd like to know how to display in a single layout, the result of 2 or more controllers ? Thanks for your help Franck --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email

View this page CakePHP In The Wild

2008-06-14 Thread Kim F
I noticed i forgot to add my links in alphabetical order, also moved another link i saw mas misplaced Click on http://groups.google.com/group/cake-php/web/cakephp-in-the-wild - or copy paste it into your browser's address bar if that doesn't work.

View this page CakePHP In The Wild

2008-06-10 Thread Kim F
Just put in some of my cakephp pages Click on http://groups.google.com/group/cake-php/web/cakephp-in-the-wild - or copy paste it into your browser's address bar if that doesn't work. --~--~-~--~~~---~--~~ You received this message because you are subscribed to

Re: Tools for merging directories

2008-06-06 Thread Kim F
I use piston for my vendor branching needs, really works perfectly. http://piston.rubyforge.org/ On Jun 6, 8:25 am, David Zentgraf [EMAIL PROTECTED] wrote: Oh, of course, deleting them in the Finder shouldn't be too hard. I was too fixated on the CLI. I'll try it when I get home. On 6/6/08,

Re: Having problems with javascript.

2008-02-05 Thread Juan F. Gimenez Silva
El mar, 05-02-2008 a las 11:12 -0800, Ithaka escribió: No... i don't have any anything on my site yet except a default layout, how would i make a controller for the layout? I suggest you start reading the manual (http://manual.cakephp.org/), and try to complete the tutorial

Re: Having problems with javascript.

2008-02-05 Thread Juan F. Gimenez Silva
El mar, 05-02-2008 a las 08:43 -0800, Ithaka escribió: Hi, Hello? I'm having a problem with javascript in cakephp 1.2. As if that wasn't obvious enough. The Problem: I wish to load javascript in the layout for my buttons and other little functions i will implement later on. I've been

Re: how to create sorting links ?

2008-02-04 Thread Juan F. Gimenez Silva
El lun, 04-02-2008 a las 01:22 -0800, ITBiNus escribió: Dear all, somebody can help me ? I want to make a link, when the link clicked then the contains of fields will be sorted (in 1 page). ascending or descending like ... title sorted by alphabet or sorted date. Regards, Angel

Re: How to do just a view ?

2008-02-04 Thread Juan F. Gimenez Silva
El lun, 04-02-2008 a las 02:21 -0800, zeugme escribió: Hi, Hello (also, hello to all bakers!), I'm new in CakePHP, amazingly, I choose CakePHP for the power of MVC, SQL mapping ... It's nice to hear that, I'm pretty much a newbie too. but I need to deal with my home page witch have no

Re: New record without form

2008-01-28 Thread f.
try $this-Modelname-create(); $this-Modelname-save($product); assuming $product has the right cakey structure: array('Model' = array('field1' = 'val1', 'field2' = 'value2')) regards, f. On 28 Jan., 20:34, dandreta [EMAIL PROTECTED] wrote: I have a function that receives an array of data

Re: Using cake extract in command line

2007-09-16 Thread f.
Hi, you can run the command locally. Get something like XAMPP on your computer, install your cake app and execute the command. You can use the resulting .po file in your production environment. Greets, f. On 13 Sep., 00:30, Igurpi [EMAIL PROTECTED] wrote: I'm working in the translation of mi

setTitle dentro do método ele não funciona

2007-08-16 Thread John-Henrique F. Silva
emails dos seus amigos? Conheça o www.BemHumorado.comcadastre-se e receba piadas, vídeos engraçados e muito mais. --- John-Henrique F. Silva 65 8403-4456

Image Submit Buttons with AJAX Helper

2007-07-15 Thread Casper F.
Hello, I have just been getting more acquainted with Cake in the last couple of weeks - it is quite a difference to being used to code everything by foot. I am looking for a workaround to be able to use Image-Submit- Buttons to initiate AJAX calls. In the API Description (1.2.x Alpha) it

Re: Sessions on production server with cookies disabled

2007-05-22 Thread f.
;':'?'; $url .= CAKE_SESSION_COOKIE . '=' . $_REQUEST[CAKE_SESSION_COOKIE]; } parent::redirect($url, $status, $exit); } Seems to work. Thx anyway, have a nice day, f. --~--~-~--~~~---~--~~ You received this message because

Sessions on production server with cookies disabled

2007-05-21 Thread f.
. Thanks in advance, f. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED

Re: Navigation element

2007-03-20 Thread f.
foreach($menus['Section']['Menu'] as $menu) { Hi, it' hard to read code in the google layout... especially pr() output...;) looks like the array is numeric... try: foreach($menus as $menu) { echo $menu['Section']['id']; pr($menu['Menu']); ... } greets, f. Array ( [0

Model access from a Vendor?

2007-03-14 Thread E. F.
I have a nice little vendor package that locates places within a radius of a zipcode among other things. But currently it needs to run a query against a zipcode table in my database. I was wondering if anyone knows how I could access the model so that I could run a query? I know that I can

Re: Lightbox + Cake

2007-03-12 Thread f.
Hi, http://img88.imageshack.us/img88/5099/77614616od5.png I think string concatenation is done with '+' in Javascript. Maybe a PHP habit, the dot...;) greets, f. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Pure Flex

2007-03-03 Thread f.
the XML in your view, just like you would do with HTML. Never used AMFPHP... greets, f. On Mar 2, 8:41 pm, randomblink [EMAIL PROTECTED] wrote: Alrighty... I am designing an app that is 100% flex on the client side. The only HTML will be the Flex Holder Page... EVERYTHING else will be Flex

Re: Pass an array as a parameter

2007-03-02 Thread f.
Hi zipman but if I have $arr=array('key1'='value1','key2','value2') and I want to pass that as an argument of foo I cannot use the code above. Why not do button onclick=update_div('http://localhost/cake/tests/foo/ some_string?key1=value1key2=value2','main') Click me /button In fact I have

Re: Creating links a la Html helper in a component

2007-02-14 Thread Rosie F.
psychic, I don't think you're really understanding my problem/ question. If the data was corrected by the controller (via a component or whatever) before it hit the view, you'd have to do nothing to the HtmlHelper. That's what I'm doing. I'm correcting the data at the controller. I don't

Creating links a la Html helper in a component

2007-01-17 Thread Rosie F.
Hello all, I have a need to create links (both regular and images) from within the controller/component side of things. Normally of course we would use the Html helper to make links. But for this particular need I have, the links must be created before sending to the view. Is there a

Re: Creating links a la Html helper in a component

2007-01-17 Thread Rosie F.
AM, Rosie F. wrote: Hello all, I have a need to create links (both regular and images) from within the controller/component side of things. Normally of course we would use the Html helper to make links. But for this particular need I have, the links must be created before sending

Re: Creating links a la Html helper in a component

2007-01-17 Thread Rosie F.
Of course, you could also try to fix TinyMCE so the paths are correct from the source... ;) That would be my preferred method, but if I change the paths in TinyMCE, then it will not display the images in WYSIWYG mode. It needs the physical path to preview assets in WYSIWYG mode. So if the

Suggestions on a multi-app installation

2006-11-13 Thread F. Robin Knight Jr
Hey everyone, I've been lurking on the list for some time now, and thought I'd send of my first message. I have two extra files (one component and one helper) that I've put into my /cake/libs. At first I told myself I shouldn't do this, as it's not really convention to mess around with the

Re: How to use $ajax-sortable and update in a db?

2006-11-09 Thread f.
($this-params['url']['sortlist'])) { for ( $i=0; $i count($this-params['url']['sortlist']); $i++ ) { $this-Article-id = $this-params['url']['sortlist'][$i]; $this-Article-saveField('sort', $i); } } hope this helped, f

Re: How to use $ajax-sortable and update in a db?

2006-11-09 Thread f.
be more elegant ways to do it, or more generic, but basically thats it. Use Firefox for development, there is a very nice extension called firebug, which shows headers and responses to ajax-calls, amongst others... greets, f. --~--~-~--~~~---~--~~ You received