to configure on my part, 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
---
Y
) <http://localhost/unidirectory/pages/email-tester#>
- APP/webroot/index.php line 108
<http://localhost/unidirectory/pages/email-tester#> →
Dispatcher->dispatch(CakeRequest,
CakeResponse) <http://localhost/unidirectory/pages/email-tester#>
If anyone can decode th
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
VM
>
> Sent from iPhone smartphone
>
> On 2012-09-27, at 11:02 AM, Peter Nassef 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 :)
>
&
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 y
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
Hello cakephp team
i need to make website with admin panel
but ican't do that
i need to know who can make admin panel ??
with session and site and make admin in split section
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questio
Works perfectly, thanks again!
On Wed, Jan 11, 2012 at 2:50 PM, Peter Brown wrote:
> Thanks Jeremy I will try
>
>
> On Wed, Jan 11, 2012 at 2:15 PM, jeremyharris wrote:
>
>> It should probably go in the controller, since it's dealing with the
>> params. Maybe ca
g 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
>
--
Peter Brown
pe...@sponsorhub.com
+1 646-233
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 Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Ques
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
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 th
wouldn't this do it??
foreach($myarray as $key => $subarray) {
$myarray[$key] = $myarray[$key]['Industry'];
}
On Aug 4, 2:32 pm, Tilen Majerle wrote:
> $new = array();
> foreach ($old as $tmp)
> {
> $new[] = $tmp['Imdustry'];
>
> }
>
> --
> Lep pozdrav, Tilen Majerlehttp://majerle.eu
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( 'Mod
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, 201
to be happening in memory (I've added debugging to session.php).
Any 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 su
Thanks but it didn't help. I'm desperate enough to start looking at
Code Igniter :(
On Nov 9, 3:21 pm, "Dr. Loboto" wrote:
> Try add rewrite base to your webroot .htacces:
> RewriteBase /myproject
>
> On Nov 9, 3:43 am, Peter Bowen wrote:
>
> > Hi
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 subdirectory
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 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 discover a missin
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
--~--~--
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 now
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 wrote:
> I usually put this at the end of my controller actions:
>
> $this->header('Content-Type: text/xml');
>
> On Jun 14, 10:26
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, se
gt; might be selecting more than you need to?
>
> Maybe you should show your code though, because 10 queries is a
> lot!
>
> Cheers,
> Adam
>
> On Jan 10, 8:40 pm, "Peter A. Shevtsov" wrote:
> > Hello,
> >
> > I have a tree with about 400+ recor
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 b
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 XP
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 PRO
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:
Search Qu
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 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 followin
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'])) {
$this->User->inv
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 t
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
have 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
tables based on the Item.type field.
Anyone an idea of how I can mix these tables based on the field type
in the "base model" Item ?
Cheers,
Peter
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ca
gh the manual. Could 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 Goog
Thanks for all the replies! I'll get to work on an element today and
if (read: when) I come across difficulties, I'll let you know ;)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this
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 fu
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 PHP
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
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
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
Oh, if I say 'Title', I do not mean .
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 f
Why don't you have an ID-field on your table? Doesn't hurt to have one,
IMHO.
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-
ge,
that's 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 po
at data from my database (from 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
. can
someone point me in the right direction as to what classes would need
to be modified in the cake library to make this happen?
regards,
peter
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP"
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...
>
ppreciated.
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 [
51 matches
Mail list logo