Re: A list of open source webapps to study ?

2012-12-05 Thread Alok Mishra
any buddy help me am php developer exp guys but an naver worke din cakephp pls help me how to start cakephp On Thu, Dec 6, 2012 at 12:29 PM, Chetan Patel wrote: > > https://github.com/QuickAppsCMS/QuickApps-CMS > > -- > Thanks & Regards > > Chetan Patel > > -- > Like Us on FaceBook https://www

Re: A list of open source webapps to study ?

2012-12-05 Thread Chetan Patel
https://github.com/QuickAppsCMS/QuickApps-CMS -- Thanks & Regards Chetan Patel -- 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 post to this

Re: A list of open source webapps to study ?

2012-12-05 Thread Chetan Patel
Hi http://croogo.org/ www.quickappscms.org/ Both CMS are Best,I think -- Thanks & Regards Chetan Patel -- 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 "Cake

Re: Architecture ideas how to summarize values from a large database with multiple conditions

2012-12-05 Thread John Hardy
Aside from your storage engine you should make a Job Queue System ( Reference the 'Command' design pattern ) Queue up a report request, then notify when the report is finished. I process traffic reports with over a billion rows in scope ( I use Google Big Query for my storage engine ) If that's

Architecture ideas how to summarize values from a large database with multiple conditions

2012-12-05 Thread pseudorandomnoise
Hi all! I am currently working on an app that has to summarize times for all entries as well as multiple entries (i.e last 30 days). My problem is that this database table will contain a few thousand rows (as well as nested tables). From an architecture point of view - any ideas how to design t

Re: 3.0: a peek into CakePHP's future

2012-12-05 Thread pete
Doctrine was mentioned sometimes. I also think it would be a great idea to use this ORM for doing all the crazy DB things. There is no need for a self implementation because doctrine works very well by now. I like the "code first" approach in doctrine and i'm really missing this in cakephp to wr

Re: Problem with paths to files

2012-12-05 Thread freezed
Le mardi 11 septembre 2012 12:51:11 UTC+2, Mancho Murgan a écrit : > > Hi, > Make sure the following line is commented in file app/Config/core.php the: > //Configure::write('App.baseUrl', env('SCRIPT_NAME')); > If is commented, make sure the Apache has enabled the rewrite module. > I've got th

Listing menu items from database to layout file

2012-12-05 Thread Trisztán Thar
Hello Please bear with my noobness, I am super new to CakePHP, and don't really understand it yet. So, I was messing around with default.ctp, of course to make a layout for my site. I followed the Blog Tutorial, and I am planning to build my site on that. I'd like to add a navigation menu, wh

A list of open source webapps to study ?

2012-12-05 Thread Emanuele Santoro
Hi, i am studying CakePHP and I would like to read some web apps source code in order to see how to implement certaint functionalities common to a lot of webapps. Could anyone link me some open source web application written using CakePHP? Thanks in advance, Emanuele Santoro -- Like Us on Fa

internacionalizacion y localizacion

2012-12-05 Thread Arwen Ruz
Hola, necesito que alguien me ayude con internacionalizacion y localizacion, soy nueva usando este framework y pues desconosco muchas cosas de la magia que puede hacer, con lo que cuento por el momento dentro de mi aplicacion son mis archivos.po en donde el texto de mi vista cambia los textos

Custom routing : /parent-slug/parent-slug/title-of-my-post ?

2012-12-05 Thread Salines
Hi, there, I ask for your help, as you can see in the name of a theme, I need to implement routing with slug parent levels. How to do this? I have one tip for each post to save the full path of the table was, eg 'root-slug/parent-parent-slug/parent-slug/my-post-slug-title' but html helper does

Re: HABTM Join Table Entries Disappearing

2012-12-05 Thread crush
Thanks guys for your help. I think that I have found what is causing the problem but I need some feedback to see if it's probable. Lets say I have the models 'Order' and 'Cart' which have a HABTM relationship with a join model 'CartsOrder'. *When I run this:* $order = $this->Order->find('firs

Re: How I get the index value using Hash::extract() on this array

2012-12-05 Thread lowpass
Whoops! That should be: $keys = array_keys(Hash::remove($your_data, '{n}[check=0]')); On Wed, Dec 5, 2012 at 1:46 PM, Lucas Simon Rodrigues Magalhaes wrote: > Hi, > > I solved it using this logic: > > foreach ($arrayCheckBoxCheked as $idBilling => $value) { > > if ($value['check'] == 0) { > unse

Re: How I get the index value using Hash::extract() on this array

2012-12-05 Thread Lucas Simon Rodrigues Magalhaes
Hi, I solved it using this logic: foreach ($arrayCheckBoxCheked as $idBilling => $value) { if ($value['check'] == 0) { unset($arrayCheckBoxCheked[$idBilling]); } } I will try implement you solution. thank you!! Em quarta-feira, 5 de dezembro de 2012 15h49min21s UTC-2, cricket escreveu: > >

Re: Error: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; But execute is trying to use function name as the $sql

2012-12-05 Thread lowpass
Cake can't find your ShooterOption class. Are you sure the file is named ShooterOption.php? Delete everything in app/tmp/cache/models/ directory. On Tue, Dec 4, 2012 at 1:11 PM, glk wrote: > Hello all, thank you in advance for any help you may be able to provide. > > I'm using cakePHP 2.2.1 > >

Re: How I get the index value using Hash::extract() on this array

2012-12-05 Thread lowpass
This should do it: $keys = array_keys(Hash::remove('{n}[check=0]')); On Wed, Dec 5, 2012 at 11:50 AM, Lucas Simon Rodrigues Magalhaes wrote: > Array( > [168] => Array > ( > [check] => 0 > ) > > [169] => Array > ( > [check] => 1 > ) > > [170] => Array > ( >

How I get the index value using Hash::extract() on this array

2012-12-05 Thread Lucas Simon Rodrigues Magalhaes
Array( [168] => Array ( [check] => 0 ) [169] => Array ( [check] => 1 ) [170] => Array ( [check] => 1 ) [171] => Array ( [check] => 1 ) [172] => Array ( [check] => 0 ) ); I try it, $a = Hash::extract($arrayCheckBox

Re: Wordpress in Cake.

2012-12-05 Thread Serkan Sipahi
perhaps as plugin possible? Von: Dr. Tarique Sani An: cake-php@googlegroups.com Gesendet: 11:51 Mittwoch, 5.Dezember 2012 Betreff: Re: Wordpress in Cake. You can use whatever you want from anywhere - as long as you include the correct files It is possib

Re: Wordpress in Cake.

2012-12-05 Thread Dr. Tarique Sani
You can use whatever you want from anywhere - as long as you include the correct files It is possible to install in webroot but I personally do not like messing up app/webroot/ with other programs Tarique On Wed, Dec 5, 2012 at 4:17 PM, Serkan Sipahi wrote: > i want to use cake utilities in wor

Re: Returning false in beforeDelete kills deleteAll?

2012-12-05 Thread Dr. Tarique Sani
It is a feature. You can code your own loop if you want Tarique On Wed, Dec 5, 2012 at 8:49 AM, Benjamin Allison wrote: > The problem is that "return false" stops deleteAll completely. My > understanding was that deleteAll would simply move along to the next record. --

Re: Wordpress in Cake.

2012-12-05 Thread Serkan Sipahi
i want to use cake utilities in wordpress! if i install paralell i cant use anything from cake. Well, tell me please it is possible to install wordpress in app/webroot/blog/ > if possible, what do I need Von: Dr. Tarique Sani An: cake-php@googlegroups.com

Re: Wordpress in Cake.

2012-12-05 Thread Dr. Tarique Sani
Place /blog parallel to /app if you have that kind of setup (most common) In .htaccess add RewriteRule (blog/.*) $1 [L] Tarique On Wed, Dec 5, 2012 at 3:25 PM, Serkan Sipahi wrote: > Hi all, > > what is the best solution to integrate Wordpress in CakePHP? > > -- ===

Re: Wordpress in Cake.

2012-12-05 Thread Alok Mishra
Thanks for suggestion nice tips On Wed, Dec 5, 2012 at 3:25 PM, Serkan Sipahi wrote: > Hi all, > > what is the best solution to integrate Wordpress in CakePHP? > > My wish: > > http://somedomain.com < cakephp > http://somedomain.com/blog/ < wordpress > > someone say me: create /blog folde

Wordpress in Cake.

2012-12-05 Thread Serkan Sipahi
Hi all, what is the best solution to integrate Wordpress in CakePHP? My wish: http://somedomain.com < cakephp http://somedomain.com/blog/ < wordpress someone say me: create /blog folder in app/webroot/ and put wordpress in that folder. Is that ok? Best Regards Serkan -- Like Us on