means that fixes we make to
enable this for PHP 5.2 strict mode break fairly frequently.
Watch the repository for updates, as its being working on all the time.
Also feel free to contribute. We love contributors.
Cheers,
Graham Weldon
e. gra...@grahamweldon.com
w. http://grahamweldon.com
.
They'd certainly benefit from an upgrade to one of the more recent versions.
However, it appears as though a decision has been made, and we wish the Mozilla
AMO team all the best as they migrate to django.
Cheers,
Graham Weldon
e. gra...@grahamweldon.com
w. http://grahamweldon.com
On 18
Just one small change will fix this.
You're hashing the password, and sending that via email.
Change this part:
Your new password: {$user['User']['password']};
to use ['tmp_password'] instead of ['password'] since tmp_password isn't hashed.
Cheers,
Graham Weldon
e. gra...@grahamweldon.com
with the
data submitted:
- Check the ID supplied
- if it exists, load the data, overwrite with supplied data, and save
- if it didnt exist, save new record.
I would be ensuring validation on the fields you need with the exception of the
ID.
Cheers,
Graham Weldon
e. gra...@grahamweldon.com
p
to my app.
Cheers,
Graham Weldon
e. gra...@grahamweldon.com
p. +61 407 017 293
w. http://grahamweldon.com
On 13/11/2009, at 2:11 PM, James P. Howard, II wrote:
I am about to start a new project based on CakePHP and would like to
know about others' experiences using CakePHP (or similar tools
,
Graham Weldon (AKA: Predominant)
e. gra...@grahamweldon.com
w. http://grahamweldon.com
--
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email to cake-...@googlegroups.com.
To unsubscribe from this group, send email to
cake
Hey,
I would use something like this:
http://www.schillmania.com/projects/soundmanager2/
But as other have suggested, for easing your users experience, be
minimal with sounds if you can.
They are great for band sites.. and for audible notifications. Thats
about it ;-)
Cheers,
Graham Weldon
Cool :-) Lots of signups happening. Nice to see.
Cheers,
Graham Weldon
e. gra...@grahamweldon.com
w. http://grahamweldon.com
On Nov 11, 10:33 am, Larry E. Masters aka PhpNut php...@gmail.com
wrote:
CakePHP Questionshttp://cakeqs.orghas just come out of beta testing and
registration is open
soon.
Cheers,
Graham Weldon
e. gra...@grahamweldon.com
w. http://grahamweldon.com
On 12/11/2009, at 12:25 AM, keymaster wrote:
Not sure where best to post this, but ... there needs to be a Resend
Verification Email link on the new questions site or people whose
verification email is lost
We're planning to add this to the top links on the other Cake Software
Foundation websites to ensure everyone is able to reach the site.
This should be happening very soon.
Thanks for the positive feedback :-)
Cheers,
Graham Weldon
e. gra...@grahamweldon.com
w. http://grahamweldon.com
On 12
If this fails, I'll get you to tar up your files and and them to me to
check...
Are you editing on a windows machine? It's possible that some line
endings are being screwed up.
Remove all unnecessary whitespace just to eliminate any issues there.
Gentoo's latest Php is 5.2.11-p0. So I
You might need to do:
1) URL encode your category names
Or
2) refactor to allow category name slugs for URL access to avoid use
of special characters
Cheers
Graham
On 10/11/2009, at 11:56 AM, ashok.b email2...@gmail.com wrote:
Hi, I'm trying to pass values having an ampersand... like
vAllowedCharacters($data) {
/// -- implementation
}
function vSomethingElse($data) {
/// -- implementation
}
Cheers,
Graham Weldon
e. gra...@grahamweldon.com
p. +61 407 017 293
w. http://grahamweldon.com
On 27/08/2009, at 2:08 PM, JamesF wrote:
var $validate = array
Try something like:
if (!class_exists('ParentController')) {
App::import('Controller', 'ParentController');
}
class ChildController extends ParentController {
// Imeplement controller as normal
}
Cheers,
Graham Weldon
e. gra...@grahamweldon.com
p. +61 407 017 293
w. http
can copy the standard
one from: cake/libs/views/layouts/default.ctp
Let us know how you go, and if you need anything else.
Cheers,
Graham Weldon
http://grahamweldon.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Ensure that your environment variable PATH includes the path to the php
executable.
Cheers,
Graham Weldon
http://grahamweldon.com
Miles J wrote:
I found out that my CLI was PHP 4, so I changed it to PHP 5. I can run
the cron through SSH manually, but when I run through cron I now get
Sounds like you have your web server documentroot for that host set to
the folder containing app.
http://book.cakephp.org/view/34/Production
That link describes a production installation, and that your
documentroot should be made as the app/webroot directory. Once this is
done, your URLs
Hi Dave,
You can use addScript to ensure it gets added to the head block at the
top of the page like so:
$this-addScript($html-css('my_file'));
Cheers,
Graham
Dave Maharaj :: WidePixels.com wrote:
Can you include CSS per view as you do js?
I need sifr css on only 1 view. Is there a way
Hey,
What is your php.ini value for mysql.default_socket set to?
This will tell PHP where your socket file is for MySQL, and help get you
connected.
You can check this file location by looking in your MySQL my.cnf file
for the line indicating socket =
For example, a MAMP install has the
clients
[client]
#password = your_password
password = xyzzy
port = 3306
socket= /Applications/XAMPP/xamppfiles/var/mysql/mysql.sock
On May 14, 2:35 am, Graham Weldon gra...@grahamweldon.com wrote:
Hey,
What is your php.ini value for mysql.default_socket
, what is ln telling me?
On May 14, 6:53 am, Graham Weldon gra...@grahamweldon.com wrote:
You can always create a symlink to solve your issues.
ln -s /var/mysql/mysql.sock
/Applications/XAMPP/xamppfiles/var/mysql/mysql.sock
That will create a symlink to the location that PHP is looking
Hi Louie,
I believe the cc and bcc variables need to be arrays.
Try wrapping them in an array and see how that goes for you.
Cheers,
Graham Weldon
http://grahamweldon.com
Louie Miranda wrote:
Hi, I have setup the email component properly on cakephp. I can send
and it's ok for both html
Hey,
There are quite a few out there. I just googled cakephp star rating
and found a bunch.
Try there first, and report back if you have any specific implementation
issues that you need help with.
Cheers,
Graham Weldon
http://grahamweldon.com
jwerd wrote:
Hey there fellow Bakers
Looking
I'm going to say it... RTFM.
http://book.cakephp.org/view/476/REST
Cheers,
Graham
Ma'moon wrote:
Hello guys,
Any one knows a good example usage for creating RESTfull web services
in CakePHP 1.2?
--
http://phpirate.net
--~--~-~--~~~---~--~~
You
already RTFMed
googled it and i couldn't find any good examples!
Any other resources? i appreciate all the help!
On Wed, Apr 22, 2009 at 6:25 AM, Graham Weldon
gra...@grahamweldon.com mailto:gra...@grahamweldon.com wrote:
I'm going to say it... RTFM.
http://book.cakephp.org/view
You can use a method like this one:
http://jqueryfordesigners.com/coda-slider-effect/
hope that helps.
Cheers,
Graham
Gwoo wrote:
Jquery
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To
Try this:
http://noserub.com
Cheers,
Graham
jwerd wrote:
I am building a Cake-PHP based project but I feel instead of
reinventing the wheel, I'd like to just integrate an existing open
source social networking solution that is Cake-PHP friendly.
What I mean by friendly is: You have
The only reasnon I can think you would want to so this is to either
group functionality or to make your URL's look pretty.
In the case you at trying to group functionality, look into creating
plugins for your controllers.
If you are simply trying to control URL presentation, then you need
class AppController extends Controller {
var $allowedHosts = array('127.0.0.1', '::1', '85.127.249.210');
var $accessDeniedRedirect = ... // Define your action to redirect to
here.
function beforeFilter() {
if (!in_array(env('REMOTE_ADDR'), $this-allowedHosts)) {
Error and Affected are two separate results. Throw some CSS into
your page to style up the table generated by cake, and it will make it
all a little clearer.
Affected is the number of rows affected by the query that was run.
Cheers,
Graham
Joshua wrote:
What does 'Error Affected' stand
Hi Rajesh,
I'm interested to know what your project is and what time you need
allocated to the development.
Cheers
Graham Weldon
On 13/03/2009, at 11:48 AM, Rajesh rajesh.mukk...@gmail.com wrote:
I need cakephp developer for a new project. If any one interested let
me know
Hey,
Try escaping the hyphen:
\-
That should work out for you.
Cheers,
Graham Weldon
w. http://grahamweldon.com
e. gra...@grahamweldon.com
p. +61 407 017 293
On Sat, 7 Mar 2009 16:02:58 -0800 (PST), KS ksush2...@gmail.com wrote:
Hi there,
This might not be a cakePHP issue, but here
` FROM
`items`
AS `Item` WHERE `Item`.`id` = 1 1 1
0
7 SELECT `Member`.`id`, `Member`.`username`, `Member`.`slug`,
`Member`.`gender_id`, `Member`.`birth` FROM `members` AS `Member`
WHERE `Member`.`id` = 2 1 1 0
--
Cheers,
Graham
for a single sprite, this
essentially shows the backgorund image in place, while hiding overflow, and
pushing your text outside its display area. This is also a useful image
replacement technique for headings and such too.
Give it a go, and let me know how it works out.
Cheers,
Graham Weldon.
On Tue
the permissions. This should solve the
problem.
Let us know how you go.
Cheers,
Graham Weldon
w. http://grahamweldon.com
e. gra...@grahamweldon.com
p. +61 407 017 293
On Mon, 23 Feb 2009 12:51:07 -0800 (PST), RyOnLife
ryan.mckil...@gmail.com
wrote:
I am getting this (and other similar) warnings
. This could
potentially be more powerful, allowing you to pass back more information
like ID's to link to, as well as doing SQL WHERE LIKE matches, for
mid-string matching.
Hope this gets you started.
Cheers,
Graham Weldon
w. http://grahamweldon.com
e. gra...@grahamweldon.com
p. +61 407 017 293
$form-input('password', array('type' = 'hidden', 'value' =
'genericpassword')); ?
That should cover you :-)
I dont recommend only requiring a username to login... unless the stored
data is completely trivial.
Cheers
--
Cheers,
Graham Weldon
w. http://grahamweldon.com
e. gra...@grahamweldon.com
(SOTF_MSG_USER_WELCOME);
$this-redirect(array('controller' = 'users' ,'action' =
'dashboard'));
}
##
While the code for this looks clean, what I've read seems to indicate
this isn't such a good idea due to performance issues.
What else would I do?
Thanks
Turgs
--
Cheers,
Graham
. I have not touched anything other than to chmod the tmp
directories to 666.
I thought this was supposed to be a drop in install.
willirl
Rick
--
Cheers,
Graham Weldon
w. http://grahamweldon.com
e. gra...@grahamweldon.com
p. +61 407 017 293
one rather than the other?
Will CakePHP eventually migrate to GIT?
--
Cheers,
Graham Weldon
w. http://grahamweldon.com
e. gra...@grahamweldon.com
p. +61 407 017 293
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
-0800 (PST), Pyrite thelette...@gmail.com
wrote:
I can't get $ajax-submit() to work, only $form-end('Submit').
What's the difference between the two?
On Jan 26, 7:59 am, Graham Weldon gra...@grahamweldon.com wrote:
$ajax-submit() creates an ajax submit element.
$form-end('something
$ajax-submit() creates an ajax submit element.
$form-end('something') creates a submit button, and ends the form.
$ajax-form() starts a form.
Your usage will depends very much on your implementation, and requirements.
The simple reason for there not being an $ajax-formEnd() is because its
Have you released / are you planning to release source for this?
Cheers,
Graham
On Mon, 19 Jan 2009 13:43:05 -0800 (PST), Miles J mileswjohn...@gmail.com
wrote:
www.sc2armory.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
Provision of = value in a function call for PHP means that if the value
is not provided, the specified is used as a default.
Example:
function foo($b = World) {
echo Hello . $b;
}
foo();
foo(CakePHP);
Output:
Hello World
Hello CakePHP
hope that explains it for you.
Cheers,
Graham
Hey,
'conditions' = array(
'OpportunityCategory.id !=' = 1)
That should do it for you.
Cheers.
On Thu, 15 Jan 2009 05:13:20 -0800 (PST), exo_duz robin.jul...@gmail.com
wrote:
Hi all,
Simple question. I want to create a Does Not Equal To SQL statement
within the Controller. The SQL
Hey,
I know its a basic thing, so don't get annoyed at me for asking..
But are you restarting the webserver after these changes?
You'll need to restart or reload your apache config in order for changes to
take effect.
Cheers,
Graham
On Thu, 15 Jan 2009 10:15:38 -0800 (PST), neridaj
Hey,
Better than including php files, use the CakePHP App::import() and
ClassRegistry::init() methods.
These locate, include and in the case of the ClassRegistry, instantiate and
return the object for you.
You would in this case, do something like:
App::import('Controller',
$_SERVER['REMOTE_ADDR'] should tell you what you need.
Cheers,
Graham
Aus wrote:
I'm writing an application like no-ip.com , the user will send a _POST
message includes the domain name to the website, and the website
should map the domain name in the message with the source IP of the
You can, through using an optimiser / byte code generator, for
example:
- Zend Optimiser http://zend.com/store/products/zend-optimizer.php
- eAccelerator http://eaccelerator.net/
Cheers,
Graham
On Jan 5, 2:10 pm, Aus awsra...@gmail.com wrote:
I've designed a PHP webpage, but i don't want to
This is actually the expected behavior.
Consider the join table (when modelised, like you are doing) to be a
simple name.
The inflector will look at the plural string (as is the convention)
and remove the 's' at the end of the last word detected.
Table: teams_untils
Model: TeamsUnit
Cheers,
-1.2.0/app/controllers/benchmark_controller.php
Benchmark testing should be done with non-trivial code, and given these
frameworks abstract databases, and that abstraction can affect
performance, it should probably include tests that include database access.
Cheers,
Graham Weldon
kiang wrote
any issues modifying it.
Best of luck with it.
Cheers,
Graham Weldon
Kyle Decot wrote:
How would I find the first occurrence of a word or phrase in a string
and then strip off everything after that?
I know that I will probably need to use regex but I am unsure how to
write it.
Any help
Your benchmarks are still Hello World examples, from what I can see there.
Great as a benchmark for those using static only pages with their
frameworks, but I suggest that the majority of developers out there are
doing something more complex.
Cheers,
Graham Weldon
kiang wrote:
You could have
Everyone has reasons for and against various technologies.
Thankfully, CakePHP provides you a complete fantastic framework without
limiting you to something as specific as only being able to use xhtml.
You should be able to extend the html helper for all (most?) the tags
you want to produce.
You should be able to do something like:
Router::connect('/:username/:controller/:action/*', array(),
array('username' = '[a-z0-9]*'))
Read through this: http://book.cakephp.org/view/542/Defining-Routes
The most relevant examples are down the bottom, but work your way from
the top, and try
Hey Ranjana,
Were you looking to create a password reminder feature for a site you are
building?
Provide a little more detail about what you are trying to achieve, and
someone will be able to provide some direction or assistance.
Cheers,
Graham
On Tue, Sep 2, 2008 at 5:18 PM, Ranjana
at 1:35 PM, Ranjana Sriavastava
[EMAIL PROTECTED]wrote:
hello
I wnat to forget passord via email id and send email to user email id with
cakephp.
On Wed, Sep 3, 2008 at 4:48 AM, Graham Weldon [EMAIL PROTECTED]wrote:
Hey Ranjana,
Were you looking to create a password reminder feature
101 - 157 of 157 matches
Mail list logo