Help with getting data

2012-08-08 Thread Daren W
I am in the learning process and would like to know how to write the two below statements in cake format, could someone please advise. SELECT SUM(credit) - SUM(debit) AS total FROM `bids` AS `Bid` WHERE `Bid`.`user_id` = 3 LIMIT 1 SELECT SUM(bids) AS total FROM `bidbutlers` AS `Bidbutler` LEFT

Re: Big Problem theme!! Please Help

2012-08-06 Thread Serkan Sipahi
ah ok :) i use thmes since cake 2.0. this project works with 2.1 and i forget to read the manuell of 2.1 :( Von: Tilen Majerle An: cake-php@googlegroups.com Gesendet: 12:23 Montag, 6.August 2012 Betreff: Re: Big Problem theme!! Please Help probably

Re: Big Problem theme!! Please Help

2012-08-06 Thread Tilen Majerle
ps.com > *Gesendet:* 12:01 Montag, 6.August 2012 > *Betreff:* Re: Big Problem theme!! Please Help > > and you need to enable ThemeView in controller > > public $viewClass = 'Theme'; > -- > Lep pozdrav, Tilen Majerle > http://majerle.eu > > > > 2012/8/6 T

Re: Big Problem theme!! Please Help

2012-08-06 Thread Serkan Sipahi
thnx, it works :) i have a question, i get this strange problem sometimes, why? Von: Tilen Majerle An: cake-php@googlegroups.com Gesendet: 12:01 Montag, 6.August 2012 Betreff: Re: Big Problem theme!! Please Help and you need to enable ThemeView in

Re: Big Problem theme!! Please Help

2012-08-06 Thread Serkan Sipahi
@googlegroups.com Gesendet: 12:01 Montag, 6.August 2012 Betreff: Re: Big Problem theme!! Please Help View/Themed/Frontend/Frontend/Layouts/default.ctp  your path is incorrect it should be: View/Themed/Frontend/Layouts/default.ctp  -- Lep pozdrav, Tilen Majerle http://majerle.eu 2012/8/6 Serkan Sipahi

Re: Big Problem theme!! Please Help

2012-08-06 Thread Tilen Majerle
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

Re: Big Problem theme!! Please Help

2012-08-06 Thread Tilen Majerle
ity: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at h

Big Problem theme!! Please Help

2012-08-06 Thread Serkan Sipahi
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more opti

Can anybody help me with this postLink() delete?

2012-08-03 Thread amprodes
#x27;], $client_id)); ?> Html->link('Del', array('action' => 'delete', $account['Account']['id'], $client_id)); ?> Html->link('Add Event', &#x

cakephp help 1.3 to 2.+ migration can you help me classRegistry::getObject(model is not working)

2012-07-28 Thread chiffonphp
del.$fld LIKE"] = "%$fldata"; break; case "cn": $conditions["$model.$fld LIKE"] = "%$fldata%"; break; default : $conditions = array(); } if(array_key_exists('conditions', $paginate)) $conditions = array_merge($paginate['conditions'],$conditions); $paginate['conditions'] = $conditions; } private function prepareForSort(&$paginate , $model){ $sidx = $_REQUEST['sidx']; $sord = $_REQUEST['sord']; $order = array("$model.$sidx ".strtoupper($sord)); if(array_key_exists('order', $paginate)) $order = array_merge($order,$paginate['order']); $paginate['order'] = $order; } private function strip($value){ if(get_magic_quotes_gpc() != 0) { if(is_array($value)) if(array_is_associative($value)){ foreach( $value as $k=>$v) $tmp_val[$k] = stripslashes($v); $value = $tmp_val; } else for($j=0;$j -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

Re: router help

2012-07-21 Thread Mike Griffin
st site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

Re: router help

2012-07-20 Thread elogic
x27;action' => 'view', array('routeClass' => 'SlugRoute')));* It seems to be working for my requirements however I wanted to see if this was the best way to do it or should it be done differently? Thankyou -- Our newest site for the community: Cake

router help

2012-07-20 Thread elogic
t all my other controllers will work. Thanks Thanks -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send

saveAssociated Help

2012-07-18 Thread Carlos Eduardo Sotelo Pinto
Hi people.. I have a trouble on the saveAssociated method, please if some onw could give me a help, my problem is that the the saveAssociated method is saying me that the model couldnt be saved, thanks I am attaching the code and the bin link http://bin.cakephp.org/view/1231114400 1. /** 2

Re: NEED HELP

2012-07-17 Thread Lboogie
roject manager created with cake php but > can't seem to trigger the install option when there is no install folder or > files to do so...can anyone help me? -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Qu

Re: NEED HELP

2012-07-16 Thread Daniel Baird
On Mon, Jul 16, 2012 at 11:40 PM, Lboogie wrote: > Hello, i am trying to install a project manager created with cake php but > can't seem to trigger the install option when there is no install folder or > files to do so...can anyone help me? Perhaps you just unzip it into a fold

Re: NEED HELP

2012-07-16 Thread Tilen Majerle
this is group for help, but you have to corrent describe your problem, give us your details (cake version, php version, server type, problem) -- Lep pozdrav, Tilen Majerle http://majerle.eu 2012/7/16 Lboogie > Are you able to help or not...isn't this what is group for? Excuse me

Re: NEED HELP

2012-07-16 Thread Justin Edwards
http://book.cakephp.org/2.0/en/installation.html On Mon, Jul 16, 2012 at 11:15 AM, Lboogie wrote: > Are you able to help or not...isn't this what is group for? Excuse me if > i'm wrong > > > On Monday, July 16, 2012 10:20:12 AM UTC-4, euromark wrote: >> >>

Re: NEED HELP

2012-07-16 Thread Lboogie
Are you able to help or not...isn't this what is group for? Excuse me if i'm wrong On Monday, July 16, 2012 10:20:12 AM UTC-4, euromark wrote: > > how i hate those non-sense for-crying-out-loud thread titles^^ > > Am Montag, 16. Juli 2012 15:40:06 UTC+2 schrieb Lboogie: &g

Re: NEED HELP

2012-07-16 Thread euromark
t; files to do so...can anyone help me? -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to

Re: 2.1.3 Freshly Baked App Help

2012-07-13 Thread Steve Found
deo Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups

Re: Very ( very ) weird mod_rewrite problem. Please help!

2012-07-11 Thread DANNY
Hi Koray Maybe you can look for Apache error log file http://www.cyberciti.biz/faq/apache-logs/ It may help u Koray Tugay於 2012年7月11日星期三UTC+8上午3時07分52秒寫道: > > Hi, > > I have recently installed CakePHP and I am having a very weird problem > with mode_rewrite. > > We

Re: 2.1.3 Freshly Baked App Help

2012-07-11 Thread lowpass
kePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups

RE: 2.1.3 Freshly Baked App Help

2012-07-11 Thread Advantage+
Subject: Re: 2.1.3 Freshly Baked App Help Apache's config requires "AllowOverride All" for .htaccess files to be read. Missing that? On Wed, Jul 11, 2012 at 4:37 PM, Advantage+ wrote: > The new baked app folder looks like this > > App /Config ..th

Re: 2.1.3 Freshly Baked App Help

2012-07-11 Thread lowpass
> > RewriteCond %{REQUEST_FILENAME} !-f > > RewriteRule ^(.*)$ index.php [QSA,L] > > > > -Original Message- > From: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On Behalf > Of lowpass > Sent: Wednesday, July 11, 2012 6:03 P

RE: 2.1.3 Freshly Baked App Help

2012-07-11 Thread Advantage+
To: cake-php@googlegroups.com Subject: Re: 2.1.3 Freshly Baked App Help Missing the .htaccess files? On Wed, Jul 11, 2012 at 4:02 PM, Advantage+ wrote: > Basically I have a few older cake 1.3 sites on my server > > > > App <- site 1 v 1.3.x > > Site2 folder > >

Re: 2.1.3 Freshly Baked App Help

2012-07-11 Thread lowpass
> > Any suggestions? > > > > Thanks > > Dave > > -- > Our newest site for the community: CakePHP Video Tutorials > http://tv.cakephp.org > Check out the new CakePHP Questions site http://ask.cakephp.org and help > others with their CakePHP related questions. >

2.1.3 Freshly Baked App Help

2012-07-11 Thread Advantage+
akePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

Very ( very ) weird mod_rewrite problem. Please help!

2012-07-11 Thread Koray Tugay
Hi, I have recently installed CakePHP and I am having a very weird problem with mode_rewrite. Well first I am getting the message as I supposed to when I first install CakePHP. URL rewriting is not properly configured on your server. 1) Help me configure it<http://book.cakephp.org/2.0

Re: TinyMCE for CakePHP help

2012-07-07 Thread David Lozzi
; I did get an >>>> error at >>>> > this point stating TinyMceHelper didn't exist, so i copied it, and >>>> the rest >>>> > of the contents from the plugin/TinyMCE folder to their respective >>>> locations >>>> > in my

Re: TinyMCE for CakePHP help

2012-07-07 Thread David Lozzi
t >>> > of the contents from the plugin/TinyMCE folder to their respective >>> locations >>> > in my app. That removed errors and my pages load. >>> > >>> > When I view source, I see the javascript reference to the tiny_mce.js >>>

Re: TinyMCE for CakePHP help

2012-07-07 Thread Sam Sherlock
s >> > in my app. That removed errors and my pages load. >> > >> > When I view source, I see the javascript reference to the tiny_mce.js >> file, >> > and I can download the file from the path, so it's there. My textarea >> never >> > changes to the e

Re: TinyMCE for CakePHP help

2012-07-07 Thread David Lozzi
h, so it's there. My textarea > never > > changes to the editor. > > > > Any pointers? > > > > Thanks - David > > > > -- > > Our newest site for the community: CakePHP Video Tutorials > > http://tv.cakephp.org > > Check out

Re: TinyMCE for CakePHP help

2012-07-07 Thread lowpass
, so it's there. My textarea never > changes to the editor. > > Any pointers? > > Thanks - David > > -- > Our newest site for the community: CakePHP Video Tutorials > http://tv.cakephp.org > Check out the new CakePHP Questions site http://ask.cakephp.org and help >

TinyMCE for CakePHP help

2012-07-07 Thread David Lozzi
iny_mce.js file, and I can download the file from the path, so it's there. My textarea never changes to the editor. Any pointers? Thanks - David -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.ca

Help Upload plugin: validation rules

2012-06-30 Thread Matteo Landi
nction will always return false (it looks up the attachment type using $check[$field]['type'] which is still equal to 'M'). It is really strange both lookups return the same string value. Thanks, Matteo [1] https://github.com/josegonzalez/upload -- http://www.matteolandi

Re: "URGENT" - NEED HELP IN ASSOCIATION HABTM

2012-06-27 Thread Mark Wratten
Often it is easier to create a model for the linking table, i.e. OrderProduct and use belongsTo Order and Product rather than using HABTM associations. Then query using that model. Mark On Monday, June 25, 2012 11:10:11 AM UTC-4, Caio Vncius wrote: > > Hello, > > need a help in a

Re: "URGENT" - NEED HELP IN ASSOCIATION HABTM

2012-06-25 Thread rchavik
putting "URGENT" in your subject line is a sure fire way to get your questions ignored and get replied with mindless answers such as this one :p On Monday, June 25, 2012 10:10:11 PM UTC+7, Caio Vncius wrote: > > Hello, > > need a help in a ratio of two-mode HABTM tabl

Re: Help getting started with CakePHP 2.1.3

2012-06-16 Thread DiabloGeto
is: > /cake_2_0 > /app > /lib > /vendors > /plugins > .htaccess > index.php > /readme > > > What needs to happen next? > -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://as

Re: Help getting started with CakePHP 2.1.3

2012-06-14 Thread lowpass
this: > /cake_2_0 >   /app >   /lib >   /vendors >   /plugins >   .htaccess >   index.php >   /readme > > > What needs to happen next? > > -- > Our newest site for the community: CakePHP Video Tutorials > http://tv.cakephp.org > Check out the new CakePHP Questi

Help getting started with CakePHP 2.1.3

2012-06-14 Thread BasementJack
ideo Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

Re: I'm coming from Rails 3.2. There are some specific things I'd know how to do in CakePHP 2.0. Can someone help me?

2012-06-14 Thread Bruno Dias
mentioned CakeDC migrations plugin is better. > > And - welcome in CakePHP community! :-) -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions

Re: I'm coming from Rails 3.2. There are some specific things I'd know how to do in CakePHP 2.0. Can someone help me?

2012-06-14 Thread Bruno Dias
> If I want only the draft posts ordered by recent, integrated with > > pagination, I would call "Post.drafts.recent.page(2)". > > What is the best way to create and chain scopes on CakePHP? Build > > dynamically an array of conditions and send it as the paramete

Re: Help on URLs

2012-06-14 Thread thanat
book.cakephp.org/2.0/en/development/routing.html On Jun 14, 3:15 am, pxm wrote: > Hi, > > A client recently requested me to migrate his website from using Wordpress > to CakePHP. But I have to make sure that the URLs is still the same as his > Wordpress site. So I am now having p

Help on URLs

2012-06-13 Thread pxm
* Somehow I need help even just to redirect it to the _ urls. I tried with .htaccess, but my efforts didn't seem to work. Thanks! -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help o

Re: I'm coming from Rails 3.2. There are some specific things I'd know how to do in CakePHP 2.0. Can someone help me?

2012-06-06 Thread stork
newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options

Re: I'm coming from Rails 3.2. There are some specific things I'd know how to do in CakePHP 2.0. Can someone help me?

2012-06-06 Thread stork
ials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/g

Re: I'm coming from Rails 3.2. There are some specific things I'd know how to do in CakePHP 2.0. Can someone help me?

2012-06-06 Thread randy
testing tools adopted by the CakePHP community? I need to > test the models and its methods, test the controllers and its > responses and variables, and test the views content (also Javascript > interaction), create fixtures, etc. I also would know if there is a > way to create something l

I'm coming from Rails 3.2. There are some specific things I'd know how to do in CakePHP 2.0. Can someone help me?

2012-06-06 Thread Bruno Dias
e autotest, that run the tests after file saves. Well, basically these are the points. Sorry for the long post, and for my error-prone and redundant english (i'm not a native speaker). Hope we can have a good conversation. Thank you! -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

Re: Need help populating a select box

2012-05-23 Thread Mike Griffin
#x27;options' => $icons, 'label' => 'Choose Icon ID:'))?> > > > > The select is being populated with fields from both the icons tables > as well as the products table. I really ONLY want to display the > filename field from the IconCategory model along wit

Need help populating a select box

2012-05-22 Thread dpinion
.id' => $productId)); $this->set('product', $product); $products = $this->Product->findAll('Product.category_id IS NOT NULL'); $icons = $this->Icon->findAll(array('product_id' => $this- >params['named']['product_

Re: Little help with routes and links

2012-05-16 Thread Confused Dev
ials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/

Re: Little help with routes and links

2012-05-09 Thread lowpass
); } controller: public function view($slug = null, $color = null) { ... } That should work fine but if you're using Cake 2.x you'd probably be better off creating a route class by extending CakeRoute. On Tue, May 8, 2012 at 8:26 AM, Confused Dev wrote: > H

Re: Little help with routes and links

2012-05-08 Thread Jeremy Burns | Class Outfit
have links like this: >> http://example.com/items/blue/bowl/1 >> >> I don't even know where to begin to make it produce automatic links >> like that. Any help would be greatly appreciated. > > You could try something like this, it probably won't work as written, &g

Re: Little help with routes and links

2012-05-08 Thread Mike Griffin
On Tue, May 8, 2012 at 1:26 PM, Confused Dev wrote: > Hello. > I'd like to have links like this: > http://example.com/items/blue/bowl/1 > > I don't even know where to begin to make it produce automatic links > like that. Any help would be greatly appreciated. You c

Re: Little help with routes and links

2012-05-08 Thread Michael Stelly
, 2012 at 7:26 AM, Confused Dev wrote: > Hello. > > I need help with defining some unusual routes. > > Here are my 2 tables Colors and Products: > > mysql> select * from colors; > ++--+ > | id | name | > ++--+ > | 1 | blu

Little help with routes and links

2012-05-08 Thread Confused Dev
Hello. I need help with defining some unusual routes. Here are my 2 tables Colors and Products: mysql> select * from colors; ++--+ | id | name | ++--+ | 1 | blue | ++--+ mysql> select * from products; ++--+--+ | id | name | co

Re: Need help in Ajax

2012-05-01 Thread Ankit Patel
Any ajax is not working actually so please help me with I want to use this example http://www.cakephp.4uk.pl/ajax/link I have included helper in Post controller and also in the app controller should I work -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org

Re: Need help in Ajax

2012-05-01 Thread Ankit Patel
I am using cakephp 2.1.1 and now it shows like this Error The requested address was not found on this server. When I am using ajax -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help

Re: Need help in Ajax

2012-05-01 Thread Tilen Majerle
PP\View\Posts\index.ctp, line 39] > > -- > Our newest site for the community: CakePHP Video Tutorials > http://tv.cakephp.org > Check out the new CakePHP Questions site http://ask.cakephp.org and help > others with their CakePHP related questions. > > > To unsubscribe f

Need help in Ajax

2012-05-01 Thread Ankit Patel
o use this and it shows error like Undefined variable: ajax [APP\View\Posts\index.ctp, line 39] -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related

Re: Some Issues: multiple views on one page and help with javascript

2012-04-22 Thread Timo
glad for any advice, especially since I'm just beginning to learn Cake :) Timo -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To u

Re: CakePHP Cache Help Needed

2012-04-21 Thread stork
community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

CakePHP Cache Help Needed

2012-04-20 Thread creat1v1ty
yout file. The problem is that it's taking a noticeable amount of time to parse the XML and relay the posts to my layout. I'm assuming this is because it's doing the same thing on every page. What I would like to know is how I can cache the posts so that I'm not having to par

Help with saveAll

2012-04-18 Thread Steven Scaffidi
it does not properly save data to the business table or the measures table. Note however that you may be able to better understand what I'm doing in this method. Any help is very much appreciated. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out

Re: Some Issues: multiple views on one page and help with javascript

2012-04-18 Thread bs28723
t;; $html .= $this->_View->element('address', array("addr" => $address['Address'], "title" => $title)); } return $html; } In the Helper in order to call an element that is associated with a view, you need

Re: Some Issues: multiple views on one page and help with javascript

2012-04-18 Thread luca capra
ew of "View/Company/add.ctp" into an element? ... I suggest you to look at the new -cool- templating system (from 2.1 I think) http://book.cakephp.org/2.0/en/views.html Luca -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new

Re: Some Issues: multiple views on one page and help with javascript

2012-04-18 Thread Timo
that is viable or if there is another, better way to do this. I hope that was somewhat intelligible :) Many thanks in advance for any helpful advice Timo -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://a

Re: Some Issues: multiple views on one page and help with javascript

2012-04-17 Thread bs28723
I will try to help with the view issue. First look at the 2.x View Template section http://book.cakephp.org/2.0/en/views.html And look into Extending Views. This will allow you to break up the view. You create a frame work for a controller, then the view can have different content in the

Some Issues: multiple views on one page and help with javascript

2012-04-17 Thread Timo
o the "elements" functionality of cake, though I could only find the cookbook entry for 1.3 ( http://book.cakephp.org/1.3/view/1081/Elements ). Please tell me whether this will help me with my problem, or if there is a better, simple solution for what I am trying to do. (I might have

Help with Finder

2012-04-05 Thread ingcara
anything, moreover wanted to have the same form a SELECT list of options that will be added and show Users with these criteria. I've tried everything, but unfortunately not able to make it work. Who can help thanks. The application works like this: The search criteria are in VIEW Busca_a

Re: Help Regarding ACL

2012-03-19 Thread jeremyharris
That error is because it's looking for Group.1, which is missing from your posted ARO tree. On Sunday, March 18, 2012 4:41:12 AM UTC-7, mohit wrote: > > Hi Experts, > > Need some help, > I am in process of learning of Cake PHP. I was creating an app which needs > ACL f

Help Regarding ACL

2012-03-18 Thread mohit kumar
Hi Experts, Need some help, I am in process of learning of Cake PHP. I was creating an app which needs ACL feature. While reading various docs this is what I have learn. Please correct me if I am wrong ACL has 2 components, ACO and ARO Object(ARO) Requests - Object(ACO) Now using

Re: Help with testing different things

2012-03-11 Thread majna
>> $expected = array( >> array('input'=>array('id'=>'post_id')), >> ); >> >> This will not work because I didn't include the array structure for >> the form thats wrapped around it, if I add the entire form and all the

Re: Help with testing different things

2012-03-11 Thread andrewperk
successfully saved')); $Posts of course is your mock. This may help someone some day. On Saturday, March 10, 2012 7:56:37 PM UTC-8, andrewperk wrote: > > Hello, > > I have a couple of questions about testing certain things: > > Flash Messages: I know how to test that

Re: Help with testing different things

2012-03-11 Thread andrewperk
l not work because I didn't include the array structure for > the form thats wrapped around it, if I add the entire form and all the > divs that the form helper generates it works just fine. > > Thanks, > > Andrew > > > > > -- Our newest site for the communit

Help with testing different things

2012-03-10 Thread andrewperk
work because I didn't include the array structure for the form thats wrapped around it, if I add the entire form and all the divs that the form helper generates it works just fine. Thanks, Andrew -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Che

Re: CakePHP 2.1 pagination routing (Help)

2012-03-09 Thread lowpass
#x27;t say it's a bug. Maybe an oversight. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send

Re: CakePHP 2.1 pagination routing (Help)

2012-03-07 Thread mikeottinger
> -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com Fo

Re: Displaying images using MediaView based Controller - Help!

2012-03-06 Thread lowpass
ller). Then also create an ajax.ctp layout which has just echo $content_for_layout; Also, there's no need such thing as ''. Close the tag with ' />'. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions s

Re: Displaying images using MediaView based Controller - Help!

2012-03-06 Thread Blues Clues
data: 'id='+id, > > success: > function(msg){ > > > $('#preview-img').html('<img src="data:image/png;base64,' + > > msg + &#x

Re: Displaying images using MediaView based Controller - Help!

2012-03-06 Thread lowpass
t;                                                         } >                                                         }).error(function(){ >                                                         alert('ajax error!'); >                                           }); > >

Re: Code Help

2012-03-06 Thread jeremyharris
am writing a function and i would like to call all the site users > who are not being followed by the session user. > > I am stuck here since 2 days, could anyone help me here? > > function people() { > $options=array( > > 'fields'=>array('Use

Displaying images using MediaView based Controller - Help!

2012-03-06 Thread Blues Clues
img src="data:image/png;base64,' + msg + '" ></img>'); } }).error(function(){ alert('ajax error!');

Code Help

2012-03-04 Thread Wasif
Hi all, I am writing a function and i would like to call all the site users who are not being followed by the session user. I am stuck here since 2 days, could anyone help me here? function people() { $options=array( 'fields'=>array('User.id','User.fn

Re: CakePHP 2.1 pagination routing (Help)

2012-03-01 Thread Salines
You save my life :) Thank You. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php

Re: CakePHP 2.1 pagination routing (Help)

2012-03-01 Thread lowpass
;named']['page'] = $this->request->params['page']; } You might want to change your route to specifically check for an integer for 'page' in the third array: Router::connect('/satovi/:page', array('controller'=>'products',&#x

CakePHP 2.1 pagination routing (Help)

2012-03-01 Thread Salines
Hello, i need small help my cakephp 1.3.x site has correct url, like first page : http://detas.ba/satovi second page :http://detas.ba/satovi/2 ... with this routing codes Router::connect('/satovi/:page', array('controller'=>'products','actio

Re: Need Help

2012-03-01 Thread jeremyharris
wrote: > > Hi Experts, > > Greetings!! > > Just need some help on good documents and video tutorials on Cake PHP. > I am working with WordPress, for last 2 years.I want to learn cake php.I > have searched internet and found many good tutorials. > But it would be very help

Need Help

2012-03-01 Thread mohit kumar
Hi Experts, Greetings!! Just need some help on good documents and video tutorials on Cake PHP. I am working with WordPress, for last 2 years.I want to learn cake php.I have searched internet and found many good tutorials. But it would be very helpful if you can send me some good links for Cake

Re: Help needed for developing ACL

2012-02-24 Thread Allan Douglas
4. Admin > > Here admin or supervisor will assign permissions to moderator or > registered user. > > -- > Our newest site for the community: CakePHP Video Tutorials > http://tv.cakephp.org > Check out the new CakePHP Questions site http://ask.cakephp.org and help >

Help needed for developing ACL

2012-02-24 Thread konda
community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http

Re: beginner In CakePHP . HELP PLEASE

2012-02-20 Thread phpMagpie
site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit

Re: beginner In CakePHP . HELP PLEASE

2012-02-17 Thread Kalaiarasan Eswaramoorthy
Hi Thanks, first of all i am starting to edit already existing code developed in 1.3 version.. i added some actions in it , as i am new to cakePHP i just followed the tutorial... in this i am attaching the entire code. so please help to figure it out... please find the attachment regards Kalai

Re: beginner In CakePHP . HELP PLEASE

2012-02-17 Thread Sam Sherlock
2 21:57, kalai wrote: Hi Sam Thanks for your kind Reply. i changed the edit function still i have that issue.. i thought better understanding of my functionality will help you better to help me.. If don't mind i would send my entire code and my table structure, so that i can get exactly what i

Re: beginner In CakePHP . HELP PLEASE

2012-02-17 Thread kalai
Hi Sam Thanks for your kind Reply. i changed the edit function still i have that issue.. i thought better understanding of my functionality will help you better to help me.. If don't mind i would send my entire code and my table structure, so that i can get exactly what i whant can you help

Re: beginner In CakePHP . HELP PLEASE

2012-02-17 Thread Kalaiarasan Eswaramoorthy
Thank you Sam, for your kind reply building is one of the functionality, like Building there are Department,People,User,Group..etc.. I edited add function but still it has some other issues pooping up.. if you don't mind i would send my entire code and my table structure.? can you help me p

Re: beginner In CakePHP . HELP PLEASE

2012-02-17 Thread Sam Sherlock
} else { $this->Session->setFlash(__('The building could not be saved. Please, try again.', true)); } } } -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check

Re: beginner In CakePHP . HELP PLEASE

2012-02-17 Thread kalai
$this->data = $this->Building->read(null, $id); } } function delete($id = null) { if (!$id) { $this->Session->setFlash(__('Invalid id for building', true)); $this-&g

Re: beginner In CakePHP . HELP PLEASE

2012-02-17 Thread Sam Sherlock
You need to show your code Sounds like your missing parts of an if-statement in the edit action - S On 17 Feb 2012 17:59, "kalai" wrote: > HI to all, > I am a beginner in CakePHP. > I would like like to get help in my coding. > i am currently creating a directory using Ca

<    1   2   3   4   5   6   7   8   9   10   >