, are another matter ;)
Brad
---
Brad Daily
Developer, SlideShowPro Director
http://slideshowpro.net
[EMAIL PROTECTED]
On Sep 10, 2:50 pm, Troy Gilbert [EMAIL PROTECTED] wrote:
I'm wondering how stable 1.2 is currently? I've got a site with a
minimal
---
Brad Daily
Developer, SlideShowPro Director
[EMAIL PROTECTED]
--~--~-~--~~~---~--~~
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
Looks like the Bakery article is live:
http://bakery.cakephp.org/articles/view/assetpackager-for-cakephp
Brad
---
Brad Daily
Developer, SlideShowPro Director
[EMAIL PROTECTED]
On Jul 30, 2:52 am, Brad Daily [EMAIL PROTECTED] wrote:
On Jul 30, 12
I get error messages (doubled up app dir in paths).
Remove the 'app' string in both cases and it works perfectly. I presume APP
provides this subdir for you.
HTH,
Howard
On 7/30/07, Brad Daily [EMAIL PROTECTED] wrote:
Looks like the Bakery article is live:
http://bakery.cakephp.org
I'd also recommend implementing gzip[1] where possible. When I use
AssetPackager to combine Prototype, Scriptaculous and my other custom
javascripts, then tell my web server to gzip any javascript documents,
it results in about 52k for that single file.
[1]
Driven by ySlow[1] plastering an F on my application because of so
many JS and CSS files (not to mention so much whitespace in those
files), I really needed something like the AssetPackager plugin for
Rails[2].
So last night and this morning I cobbled together a CakePHP version of
AssetPackager.
was a huge selling point for us
choosing the framework, and we appreciate the Cake team's continued
support of PHP 4.
Brad
---
Brad Daily
Developer, SlideShowPro Director
[EMAIL PROTECTED]
On May 28, 8:17 am, R. Rajesh Jeba Anbiah
[EMAIL PROTECTED
of the
env() function to the top, so it intercepts any calls for PHP_SELF:
if ($key == 'PHP_SELF') {
return r(env('DOCUMENT_ROOT'), '', env('SCRIPT_FILENAME'));
}
Brad
--
Brad Daily
Developer, SlideShowPro Director
http://www.slideshowpro.net
application will surface that the community can be proud of.
Brad
--
Brad Daily
Developer, SlideShowPro Director
http://www.slideshowpro.net
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post
-upload-with-flash-and-ruby-on-rails/
On Mar 3, 4:08 pm, Sam Sherlock [EMAIL PROTECTED] wrote:
Brad Daily uses something similar in ssp Director which is a cakePHP App.
its either similar or its the same.
The director multi - upload works very well.
On 03/03/07, phirschybar [EMAIL PROTECTED
Prepend their names with an underscore:
// A normal, viewable action
function index() {
$this-_dry();
}
// Private function, not available via a URL
function _dry() {
// Blah
}
On Mar 2, 10:08 am, Mech7 [EMAIL PROTECTED] wrote:
How should i add functions in controller which don't need
Hi everyone! Some time ago, I submitted a patch[1] that allowed you to
disable sessions for either an entire controller or a subset of
actions within a controller. My thinking was (and is) that turning
AUTO_SESSION off is overkill when all you want to do is disable
sessions for a limited number
separation between objects. We'll keep you posted.
On Feb 19, 2:10 pm, Brad Daily [EMAIL PROTECTED] wrote:
Hi everyone! Some time ago, I submitted a patch[1] that allowed you to
disable sessions for either an entire controller or a subset of
actions within a controller. My thinking
://slideshowpro.net/product_sspdir.php
[2] http://blog.bradleyboy.com/2007/01/05/baking-with-cakephp/
Brad Daily
Lead Developer, SlideShowPro Director
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post
Pardon my use of a Rails example here, but that is my reference point.
Let's say I have two models, Album and Image. Obviously:
Album hasMany Images
Image belongsTo Album
In Rails, I would do this:
albums = Album.find(:all, :include = [ :images ])
Which would produce this query:
SELECT
We are using Cake in a project that will eventually be distributed to
be installed on a user's server. One thing I am struggling with is how
to catch when they have entered the wrong connection details for their
particular database server in the configuration file. Is there an easy
way to catch
Thanks Mariano, that did the trick. One change I had to make was
commenting out this line in the else statement:
$DataSource-disconnect();
Mariano Iglesias wrote:
Edit your webroot/index.php file and look for the following lines:
$Dispatcher=new Dispatcher();
$Dispatcher-dispatch($url);
Just to follow up, I found the following workaround in case anyone else
runs into this.
After the move_uploaded_file call returns true, I do the following:
if (move_uploaded_file($this-params['form']['Filedata']['tmp_name'],
$lg_temp)
{
copy($lg_temp, $lg_path);
unlink($lg_temp);
I should have been more clear with my example. The destination_dir
variable is actually the full path the the destination director plus
the file name (held in $this-params['form']['Filedata']['name']).
When I was using that alone, it was writing the appropriate file (with
the correct name) to
(PHP 5.1.6, Apache 1.3, Cake 1.1.8.3544)
We are in the process of porting an existing PHP app to cake, and have
ran into an odd problem with file uploads (for images) using Flash 8.
The image appears to upload correctly, to the correct directory, but
when you try to open the file, it is
20 matches
Mail list logo