Cakephp Help: Task Remider App

2013-01-16 Thread Olufemi Oluoje
Hello People, Please am kind of new to cakephp, I need your help. As a platform to learn cakephp, I plan to develop an app that remind you of your task that you input with the date you fill in so the app can remind you thrpugh email on that day. App have done it to a stage of adding the task to t

Re: loading plugin in cake 1.3 bootstrap

2013-01-16 Thread Chris
anyone,...?? On Wednesday, January 16, 2013 6:12:55 AM UTC-8, Chris wrote: > > hi guys,... can someone help please,... > I'm having a problem loading plugin from bootstrap > > CakePlugin::load('Facebook'); > > I have also tried: > CakePlugin::load(array('Facebook' => array('bootstrap' => true))

Re: CakePHP and Twitter Bootstrap

2013-01-16 Thread Salar Rahmanian
I am using this and it works perfectly : https://github.com/slywalker/TwitterBootstrap I highly recommend it. On Monday, January 14, 2013 11:46:22 PM UTC-5, Chad wrote: > > I am fairly new with cakePHP too so I thought I would use a plugin like > BootstrapCake for setting up Bootstrap. It was a

Cache::cleargroup() doesn't make sense to me

2013-01-16 Thread bbf
According to: http://book.cakephp.org/2.0/en/core-libraries/caching.html#using-groups "Groups are shared across all cache configs using the same engine and same prefix. If you are using groups and what to take advantage of group deletion, choose a common prefix for all your configs." So this se

Re: Save Uploaded/Parsed File to Database Table

2013-01-16 Thread Karl Smith
> > Now as far as my view goes..do I need to add an input for user_id and > > coverage_id as hidden fields? > > The user_id you can add manually after the upload with > $this->Auth->user('id') but for coverage_id you can either use a > hidden form field or add that data to the array before s

HTML in forms

2013-01-16 Thread Advantage+
I have integrated CKEditor with a file browser / uploads and all that is working fine except the actual image part. If I used the editor to create a table, ul ol lists the html saves in the database fine. But whenever I insert an image the code gets encoded. Example1: Random elements / tab

Re: Routing help

2013-01-16 Thread gonzela2006
Hello, I have already created the wildcard subdomain *.domian.com. I just need to know how to make the routing process. Thanks, -- 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 th

Routing help

2013-01-16 Thread gonzela2006
Hello, I need your help to make this routing http://domain.com/members/users/view/username/posttitle to be http://username.domain.com/posttitle Where domain.com -> My domain members -> Routing prefix users -> Controller view -> Action username -> Member username(First variable for view() action) p

Re: Multiple domains sharing a single database with non-unique user names

2013-01-16 Thread lowpass
On Tue, Jan 15, 2013 at 9:09 AM, wrote: > I have a Cake 1.3 application that we have been developing for a while. The > application will support multiple domains and sub domains on a single > database. We are using the standard ACL for user login and permissions. > The problem that we have run

Re: custom logger

2013-01-16 Thread euromark
Yes, or at least add a link to the SO post here in this thread. So everyone can see what the current answering status is. Also, it might make sense to use this group mainly for support regarding ideas and unconcrete ideas/concepts. Or general questions. And leave technical questions to SO for ex

Re: very slow response from CakePHP when performing a simple query

2013-01-16 Thread lowpass
To begin with, you're doing a few things wrong here. Your say_hello action doesn't belong in AppController. And the query method is not the best approach, either. Also, if you're testing Cake for speed, ensure that debug is set to 0 and you've implemented caching. On Tue, Jan 15, 2013 at 2:23 PM,

Re: problem with nuSoap

2013-01-16 Thread lowpass
Perhaps your XML is malformed. Or maybe it's sending the wrong headers. Try inspecting the raw output with Firebug. On Tue, Jan 15, 2013 at 3:35 AM, Manh Hung Nguyen wrote: > I have used nuSoap as vender and created a soap webservice as a cakephp > controller. > 1. route: >>> >>> Router::connect(

Re: custom logger

2013-01-16 Thread lowpass
On Tue, Jan 15, 2013 at 6:42 PM, euromark wrote: > Wouldnt you find it annoying to thoroughly answer a question only to see > that this was not necessary and you just wasted your time because somewhere > else already answered the question to the same degree somewhere else as it > has been posted m

Re: viewing PDF

2013-01-16 Thread Patrick Drijkoningen
After a couple of hours of deep research, i noticed some capitals were missing where they should be Lessons learned be very disciplined with the orthographe Thanks for your concerns Op maandag 14 januari 2013 schreef euromark (dereurom...@gmail.com) het volgende: > Without seeing the code we cann

problem with nuSoap

2013-01-16 Thread Manh Hung Nguyen
I have used nuSoap as vender and created a soap webservice as a cakephp controller. 1. route: > Router::connect('/sms_gateway', array('controller' => 'SMS', 'action' => >> 'receiveMO')); > > Router::connect('/soap/:controller/:action/*', array('prefix'=>'soap', >> 'soap'=>true)); > > 2. Serv

What about a more flexible JsonView?

2013-01-16 Thread Sun Zheng
Make an interface called IRenderer, like interface IRenderer { public static function render($object, $options = array()); } where render means rendering the object into an array. The renderer is called in JsonView. Then, there could be some interesting implementation of renderer, for exampl

very slow response from CakePHP when performing a simple query

2013-01-16 Thread Quoc Lam
Hi there, I am new to CakePHP and is trying to setup my first "Hello World" project. When working on that, I experienced a very slow response from CakePHP when performing a simple query to the DB. Here are the steps that I have done: 1. Download the CakePHP framework (2.3.0 RC1) 2. Creat

Multiple domains sharing a single database with non-unique user names

2013-01-16 Thread david . suna
I have a Cake 1.3 application that we have been developing for a while. The application will support multiple domains and sub domains on a single database. We are using the standard ACL for user login and permissions. The problem that we have run in to is that the user name space is not uniq

Re: CakePHP and Twitter Bootstrap

2013-01-16 Thread Chad
I am fairly new with cakePHP too so I thought I would use a plugin like BootstrapCake for setting up Bootstrap. It was a mistake. BootstrapCake is not a very good implementation and there are a lot of issues with it. I spent a lot of time fixing the templates and troubleshooting what it did not

Re: PHPUnit_Util_Skeleton_Test not found in CakePHP

2013-01-16 Thread Mathew
Is there any official information from CakePHP on what version of PHPUnit should be used with Cake 2.2.5? On Wednesday, 16 January 2013 09:21:34 UTC-5, jsundquist wrote: > > Looks like you got your answer. > > > http://stackoverflow.com/questions/14348318/phpunit-util-skeleton-test-not-found-in-c

Re: PHPUnit_Util_Skeleton_Test not found in CakePHP

2013-01-16 Thread Jonathan Sundquist
Looks like you got your answer. http://stackoverflow.com/questions/14348318/phpunit-util-skeleton-test-not-found-in-cakephp On Tue, Jan 15, 2013 at 9:34 PM, Mathew wrote: > I'm able to run my individual tests for each model in a plugin called Agg, > but when I try to run a CakeTestSuite, then

loading plugin in cake 1.3 bootstrap

2013-01-16 Thread Chris
hi guys,... can someone help please,... I'm having a problem loading plugin from bootstrap CakePlugin::load('Facebook'); I have also tried: CakePlugin::load(array('Facebook' => array('bootstrap' => true))); nu luck,... I'm getting an error: Fatal error: Class 'CakePlugin' not found in H

Re: Advanced find with mulitple OR/WHERE/AND conditions

2013-01-16 Thread AD7six
On Wednesday, 16 January 2013 14:03:44 UTC+1, MetZ wrote: > > SELECT COUNT(*) AS `count` FROM `DATABASE`.`app_items` AS `Item` WHERE > `Item`.`published` = '1' AND ((`Item`.`start_date` BETWEEN '2013-01-16 > 00:00' AND '2013-01-16 23:59') OR (`Item`.`end_date` BETWEEN '2013-01-16 > 00:00' AND

Re: Advanced find with mulitple OR/WHERE/AND conditions

2013-01-16 Thread MetZ
SELECT COUNT(*) AS `count` FROM `DATABASE`.`app_items` AS `Item` WHERE `Item`.`published` = '1' AND ((`Item`.`start_date` BETWEEN '2013-01-16 00:00' AND '2013-01-16 23:59') OR (`Item`.`end_date` BETWEEN '2013-01-16 00:00' AND '2013-01-16 23:59') OR (FIND_IN_SET('search_word',`Item`.`location_st

Re: Advanced find with mulitple OR/WHERE/AND conditions

2013-01-16 Thread Marcus James
Open the debug mode and see what the exact query is? -- 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 group, send email to cake-ph

Advanced find with mulitple OR/WHERE/AND conditions

2013-01-16 Thread MetZ
Hi all.. I am looking to do a search for ITEMS with mulitple conditions. 1 = location_start 2= location_end 3=start_date 4=end_date Here is what I have this far: $start_date = date("Y-m-d 00:00"); $end_date = date("Y-m-d 23:59"); $conditions = array( 'Item.published' => 1,