, or if there is
something on the server level which I dont have access to which is stopping
it from working.
Any help would be greatly appreciated.
Cheers,
Peter
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you
in advance
Peter
--
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 and stop receiving emails from it, send an email
hello guys
i want create function in mysql database to return result of select
statement with joins
or return result of stored procedure
and thx
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are
Hello cakephp member
i need table content all country and all cities relate to this countries
and other table content units measurement
and Thanks :)
--
Like Us on FacekBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because
bake ?
VM
Sent from iPhone smartphone
On 2012-09-27, at 11:02 AM, Peter Nassef peter.nas...@gmail.com wrote:
Hello cakephp member
i need table content all country and all cities relate to this countries
and other table content units measurement
and Thanks :)
--
Like Us on FacekBook
Hi Everyone,
I'm looking for the Cake way to paginate a model with
two sub-queries joined as tables :
*MY TABLES *
*products :*
* id | name*
1 | Product A
2 | Product B
*sales:*
*
*
*| id| product_id | date | **amount *
| 1 | 1 | 2012-01-01 | 20.00
| 2 | 1 | 2012-01-02 |
Hi I have exactly the same problem, did you figure out something ?
--
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
Hi All,
I'm looking for a way to pass a multidimensional array through named
arguments.
Array
(
[state] = NY
[city] = Array
(
[0] = New York
[1] = Brooklyn
)
)
When i do
...@googlegroups.com For more options, visit this group
at http://groups.google.com/group/cake-php
--
Peter Brown
pe...@sponsorhub.com
+1 646-233-8031
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org
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
--
Peter Brown
pe...@sponsorhub.com
+1 646-233-8031
--
Our newest site for the community: CakePHP
Works perfectly, thanks again!
On Wed, Jan 11, 2012 at 2:50 PM, Peter Brown pe...@sponsorhub.com wrote:
Thanks Jeremy I will try
On Wed, Jan 11, 2012 at 2:15 PM, jeremyharris funeralm...@gmail.comwrote:
It should probably go in the controller, since it's dealing with the
params. Maybe
wouldn't this do it??
foreach($myarray as $key = $subarray) {
$myarray[$key] = $myarray[$key]['Industry'];
}
On Aug 4, 2:32 pm, Tilen Majerle tilen.maje...@gmail.com wrote:
$new = array();
foreach ($old as $tmp)
{
$new[] = $tmp['Imdustry'];
}
--
Lep pozdrav, Tilen
I am new to CakePHP and I have a lot of existing mysql tables that
have a field is_active that I use for soft-deletes. The field is an
enum('false','true'). I wanted to know if I can somehow take
advantage of Cake's soft-delete functionality without changing my
tables.
From what I read Cake does
After upgrading form 1.3.7 to 1.3.8 we encountered a problem with
handling custom field names. This commit is supposed to fix custom
name attributes, but when we pass a name that ends in a [] it is not
handled correctly.
This example code produces the following:
$this-Form-fields = array(
Thanks for the info! I'm glad you mentioned the afterSave technique, I
was using that for the overall rating average. What I was trying to do
was grab the ratings posted in the past month and average from there.
That seems a bit intensive, just going with the afterSave for now.
On Thu, May 13,
thoughts? Any help would be appreciated.
Thanks.
Regards,
Peter
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email
Thanks but it didn't help. I'm desperate enough to start looking at
Code Igniter :(
On Nov 9, 3:21 pm, Dr. Loboto drlob...@gmail.com wrote:
Try add rewrite base to your webroot .htacces:
RewriteBase /myproject
On Nov 9, 3:43 am, Peter Bowen prbo...@gmail.com wrote:
Hi,
I'm sure
Hi,
I'm sure the routing is messed up somewhere and I'd appreciate some
help (8 hours of googling and experimenting and I'd be about ready to
tear my hair out if I wasn't already bald).
--setup--
I'm using Mac OSX with XAMPP for development. I've got the project in
a
Why not do for($I = 0; $i 10; i++) if(!in_array($i, $missing_array2))
array_push($missing_nums, $i);
On Tue, Aug 4, 2009 at 12:57 AM, liaogz82 liaog...@gmail.com wrote:
Hi all,
I know this is not directly related to cakePHP but i am cracking my
head trying my best to figure out how to
Hi Guys,
I'm looking for someone to hold my hand in getting cake set up on my
mac. I've wasted a couple of hours trying to get it working and keep
bumping into url not found problems.
Time to call in the experts - anyone in Northern Ireland? I'm happy to
pay for help.
Thanks
Pete
how can i change the content-type of a view? i have an xml-view which
renders just fine, but my browser sees it as text/html.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group,
thanks, that's what i neededalthough i moved it to the top of the
default xml-layoutfile i use.
On 14 jun, 23:44, Miles J mileswjohn...@gmail.com wrote:
I usually put this at the end of my controller actions:
$this-header('Content-Type: text/xml');
On Jun 14, 10:26 am, Peter peterdun
I read that adding a 'created' DATETIME-field to a table will be
recognized and automatically filled whenever i save a new model to the
db, but at the moment it's just empty all of the time. It seemed to
work fine when i tested it on another model which i added through a
form on a webpage, but
Hello,
I have a tree with about 400+ records and when I try to call reorder method
it executes about 10 SQL queries and takes several minutes to finish. Is
there any way to optimize it?
Thanks!
--
Пётр Шевцов
--~--~-~--~~~---~--~~
You received this message
10, 8:40 pm, Peter A. Shevtsov webmas...@mera.com.ru wrote:
Hello,
I have a tree with about 400+ records and when I try to call reorder
method
it executes about 10 SQL queries and takes several minutes to finish.
Is
there any way to optimize it?
Thanks!
--
Пётр Шевцов
Thank you both. I decided to try installing Cake on my ISP instead of
running it on my own PC. They asked me to send in photo ID before
they'd let me use the system services I'd need to complete the
install. Not very reassuring.
So, I tried installing CodeIgniter and had it up 15 minutes after I
I want to learn CakePHP to add functions to our website
(northbreeze.com). My PHP/MySQL experience is limited to a site search
function I wrote some time ago. A long time interest in Smalltalk led
me to Ruby on Rails. One good look at that led me to try CakePHP.
I've just installed XAMPP on my
I'm looking to implement a search on my CakePHP App. I'd like to
implement the search using GET, so users can link to search results.
It also makes it a little easier to handle pagination. I wanted the
URL to be clean so I have the form set up without using the Cake
FormHelper:
form method=get
Cheers, that's perfect. Thanks!
--~--~-~--~~~---~--~~
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
I had the SQL being dumped even in my ajax calls. Not sure if this is
what you are looking for but I use the following to disable that.
Configure::write('debug', '0');
Peter Lombardo
On Jan 20, 12:58 pm, keymaster [EMAIL PROTECTED] wrote:
I use the following code to turn off debug info
Take a look at Section 5 here:
http://manual.cakephp.org/appendix/blog_tutorial
I had the same issue and the above fixed it. And when I revisited the
issue, it turned out for some reason I was missing an .htaccess in the
root directory.
Peter Lombardo
On Jan 20, 2008 8:23 PM, Dave Porter
I'm creating a user registration area and I am having difficulty doing
custom validation on the Password input field. I have the following
code in my controller:
__
/* Custom Password Validation */
if (empty ($this-data['User']['password'])) {
Session information is not available in the model.
I had a similar requirement where I needed to get user information out of
the session for auditing purposes when records are updated. I solved the
problem by implementing an Observable Model. Have a look at this article
for information on how
How can I use $this-EventItem inside the Item model ?
It gives the error
Notice: Undefined property: Item::$EventItem in /Users/pvhee/Sites/
webdev/satellite/satellite-activation/app/models/item.php on line 66
Does it work similar to using the $uses array in the controller?
Bye,
Peter
On Mar
extra fields. Then querying for all models you will also
want to have the
extra fields for EventItem and NewsItem included. Your trick will do
the job!
Thanks!
Peter
On Mar 3, 5:40 pm, Grant Cox [EMAIL PROTECTED] wrote:
One way would be to have all the possible item types (ie NewsItem,
EventItem
?
Cheers,
Peter
--~--~-~--~~~---~--~~
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]
For more
someone point me in the right
direction, I wish to fully implement this login system and so what
more must I develop?
Thanks for your time.
Best wishes,
Peter
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP
Hi there,
I'm totally new to CakePHP and I am struggling to get my head around
how to do shared navigation across a site. Basically, every page will
use the same unordered list navigation on the left-hand side.
Regardless of the page controller, I need to have this navigation on
all pages. The
Quick background: I'm still a pretty much total newbie at cakePHP, but
I've been coding websites in PHP, ASP, Java, and Perl for 10 years.
I've recently started on a cakePHP project and things are going
relatively well, if extremely slowly. I could have completed the whole
project by now using
can handle this by creating entries in my routes.php file,
but if I understand how that file works I would need to create a
seperate entry for each of my functionx_controllers. Is that correct?
Is there a better approach?
Thanks in advance.
Peter
Thanks for the info - I will take a look. I am also reading about
plugins as a possible solution - creating a seperate plugin for each
module.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To
Yeah! that did the trick.
(although you forgot a closing parenthesis:
$this-set('some_variable',array('some'='data');
)
THNX.
Peter
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post
dependant on the view (you might compare it to a breadcrumb).
So in short:
view - layout - element
TIA.
Peter
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send email to cake
5 different tables) and put the
output of the form in a sixth table?
Thanks in advace for your answer.
Peter
--
http://www.boosten.org
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post
.
Thanks,
Peter
--~--~-~--~~~---~--~~
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]
For more
of
the features of what I am building through a web service (e.g. SOAP).
How could I organize the code so that both my web site and web service
implementation are able to reuse the core of the business logic code.
Thanks,
Peter
John Zimmerman [gmail] wrote:
This should get you started...
http
46 matches
Mail list logo