This can be achieved with your .htaccess file in the ~/html directory and a 301
re-direct.
E.g.
RewriteCond %{http_HOST} ^www\.wiltonsoftware\.com$ [NC]
RewriteRule ^(.*)$ http://wiltonsoftware.com/$1 [R=301,L]
…
Brett
http://wiltonsoftware.com
On 4/10/2011, at 8:17 AM, creat1v1ty
Thanks Larry for your efforts.
On 3/10/2011, at 6:28 PM, Larry E. Masters wrote:
> I have started uploading videos from CakeFest 2011. Over the next few days I
> will release more as I complete audio enhancements and editing of raw video.
> Hope you enjoy, hope to see everyone at the next CakeF
Look forward to it, he could punch out a couple at a time :-)
Also if you email the group when the odd one gets added would be appreciated.
On 16/09/2011, at 7:00 PM, Walther wrote:
> Octavian, I spoke with Larry the other day. He has something like 44
> videos to transcode, edit and upload. It
Brilliant, look forward to watching a few.
On 7/09/2011, at 11:56 PM, Larry E. Masters wrote:
> I will be compressing and uploading the recordings now that I am back in the
> states.
>
> --
> Larry E. Masters
>
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.
I use css as jburns suggested but had a quick glance at the code. If
you just want an image you need to put that in the first parameter
e.g. $form->submit('your-image.jpg');
If you need more control use css with 'class' or 'div', e.g.
$form->submit('Edit', array('class' => 'your_css_class');
---
check you have all the .htaccess files,
http://book.cakephp.org/view/37/Apache-and-mod_rewrite-and-htaccess
explains a bit more.
Under FF you can use Firebug to check that the CSS files are being
loaded i.e. your paths are correct.
http://wiltonsoftware.com
--~--~-~--~~
Yes thanks gwoo, thanks for your time and effort, you've made CakePHP
a better place.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To
I haven't tried getClientIP() but I'd check that you have the field
name correct etc, try putting something known in. As an alternative
I've used $_SERVER['REMOTE_ADDR'] in the past which does work.
http://wiltonsoftware.com
--~--~-~--~~~---~--~~
You receiv
We encountered this error on an CakePHP1.2 installation and found that
it was related to the installed PHP version. It may be the same for
you, PHP5.2 had a problem which was part of a debian install in our
clients servers case.
Hope that helps.
http://wiltonsoftware.com
--~--~-~--
Probably related to your path, you need to add the directory under
webroot, I wrote a bit about this sometime back
http://wiltonsoftware.com/posts/view/java-applet-not-running
Hope that helps.
-
http://wiltonsoftware.com
On Tue, Jul 28, 2009 at 10:13 PM, PraDz Misc wrote:
> Hi
>
> I have a
, but I don't know which
> setting is wrong...
> Tnx in advance!
>
> Broom
>
> On 16 mrt, 02:51, Brett Wilton wrote:
>> Hi Gwoo,
>>
>> > Can you run the Inflector tests?
>>
>> Unfortunately as soon as I put the original inflector.php ba
You can use something like this in your view (code snips):-
submit('Save', array('div'=>false,
'name'=>'submit'));
echo $form->submit('Cancel', array('div'=>false,
'name'=>'cancel'));
?>
end(); ?>
and in your controller :-
if (array_key_exists('cancel', $this
what version of PHP is the centos machine running ?
have you got all the required .htaccess files and mod_rewrite
installed in apache2 ?
-
http://wiltonsoftware.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Group
Check your apache2 setup has mod_rewrite installed and your directory
permissions.
If you still have trouble with MT Centos setup I'd suggest asking the
MT framework forum as a number of people use Cake on DV.
http://wiltonsoftware.com
--~--~-~--~~~---~--~~
You could use private functions in the controller or if the code lends
to it make your models fat.
Just google something like "cakephp fat models skinny controllers"
Hope that helps.
http://wiltonsoftware.com
--~--~-~--~~~---~--~~
You received this message
Thanks gwoo and all the dev.
To find out about the 1.3 features and to keep up with progress on 1.3
is the http://thechaw.com/cakephp/wiki/1.3 wiki the best place to
follow this ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Go
This error could be due to the php version you have, is it 5.2.0 by any chance ?
I encountered this error on a server running 5.2.0, I believe its due
to a regex PHP bug. We did figure out a work around with the error
being in the inflector code, let us know if you need the adjusted
code. In ou
Hi Gwoo,
> Can you run the Inflector tests?
Unfortunately as soon as I put the original inflector.php back in
nothing will run. When loading the test page I get the following
error :-
Fatal error: Class 'Overloadable' not found in
/cake/libs/model/model.php on line 43
--~--~-~--~~
dev or someone else can see how
this function can produce _dispatcher ?
In terms of server setup its running debian4, apache2 and a custom
compiled version of php 5.2.0.
On Mon, Mar 2, 2009 at 7:40 PM, Brett Wilton wrote:
>> Any warning/notices before fatal error?
>
> No nothing a
Another method is to use $this->addScript() in your view as long as
you have echo $scripts_for_layout; in your layout file.
http://wiltonsoftware.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" gr
I wrote a small example on this a while back, can be found here :-
http://wiltonsoftware.com/posts/view/custom-group-by-pagination-and-a-calculated-field
On Wed, Mar 4, 2009 at 6:22 PM, Rimoe wrote:
> hi,
> I have write a
> var $paginate = array(
> 'limit' => 50,
> 'fields' => array('acc
> Any warning/notices before fatal error?
No nothing at all, this is a fresh install. All I can think of at
this point is that App::import() is failing in the bootstrap to import
the Dispatcher for some reason and then the app/webroot/index.php file
is trying to create the Dispatcher and failing
No one with any ideas ?
Unfortunately I don't have access to the machine so can't investigate
further at this stage.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email
Thanks majna, I'll take a look and see if that does the trick.
It would be nice if there was a way to limit some of the other headers
output by cake as well. In the case of mobile events it can cost allot
more with the extra bytes being transmitted.
--~--~-~--~~~---~-
I haven't used it yet but the RequestHandler component has an
isMobile() function call that may be enough to help change layouts
depending on the device.
Brett Wilton
http://wiltonsoftware.co.nz
--~--~-~--~~~---~--~~
You received this message because yo
I wrote a small pagination example a while back, the link is
http://wiltonsoftware.com/posts/view/custom-group-by-pagination-and-a-calculated-field.
I used the function for 3 paginated views, since I only had one of the
paginated views using the group by clause I just checked for that
condition.
The other thing to remember if your using any caching is to delete all
cached files in the directories under app/tmp/cache.
Brett Wilton
http://wiltonsoftware.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
quite like Tarquie's array_walk() one line solution as well.
----
Brett Wilton
http://wiltonsoftware.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, se
helps.
Brett Wilton
http://wiltonsoftware.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send
I assume this is on the grid and your using the latest cakephp ?
I'm using the grid and aren't having any problems with adding records
via MySQL, have you set the grid to use PHP 5 rather than 4 ?
--~--~-~--~~~---~--~~
You received this message because you are sub
Thanks for the group information. I see the article is available now,
will have a read soon.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-php@googlegroup
If your model data isn't changing much using an cached element should
be quick. You can set the cache to renew each hours, days, weeks, or
longer. You could also clear the element cache when you save the
model.
--~--~-~--~~~---~--~~
You received this message beca
s slowed things down.
Brett Wilton
http://wiltonsoftware.com
On Thu, Dec 11, 2008 at 4:04 AM, rgu...@googlemail.com
wrote:
>
> Hi all,
>
> I've recently written a bakery article with regards to mobilizing cake
> applications.
>
> It got published (hooray), but i made a chang
In your view you can use something like :-
if ($session->check('Auth.User.id')) {
echo $session->read('Auth.User.username');
}
Brett Wilton
http://wiltonsoftware.com
On Fri, Dec 12, 2008 at 8:10 AM, bioselem...@gmail.com
wrote:
>
> I've been wacking
tions');
$this->recursive = $recursive;
$count = $this->find('count', array_merge($parameters, $extra));
if (isset($extra['group'])) {
$count = $this->getAffectedRows();
}
return $count;
}
Hope this helps.
$this->recursive = $recursive;
$count = $this->find('count', array_merge($parameters));
return $count;
}
Essentially this is the same as the default count method but I ignore
the extra field which contains the group by clause i.e. $extra is not
passed to the find(
rm on request or link to a non-cached
page with a form. I quite like having the form visible, not that I
get many comments.
Brett Wilton
http://wiltonsoftware.com
On Sun, Nov 16, 2008 at 7:29 AM, Tyler S. <[EMAIL PROTECTED]> wrote:
>
> I ran into the same problem last night. A tempor
that helps.
Brett Wilton
http://wiltonsoftware.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from t
Brilliant that worked for me, thanks Mark.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send emai
If you type in the page with IE7 I get the same result, even on a
1.1.X project I had with othAuth. I was wrong in saying RC2 worked as
I was clicking a link rather than typing one in.
The only way to stop IE7 from caching the page is to use the
disableCache(), I did a quick hack in my app_contro
Hi Rohman,
I just tried the latest RC3 7866 and have found that the IE7 is
functioning as you indicated, this is not how it worked under RC2.
I'm not sure off hand why there is this difference.
Brett
--~--~-~--~~~---~--~~
You received this message because you are
and it prevents access in the same way FF does. I'm using the
Auth component to login and logout with and use the
$session->read('Auth.User.username') to get the user information.
This was on a 1.2 RC2 site, haven't tried with the latest RC3will
try
branches
version.
However with the branches SVN you get a brief user log entry about the
files that have been modified which can be useful.
Brett Wilton
http://wiltonsoftware.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
Not sure if this is what your after or not,
Controller::disableCache...http://book.cakephp.org/view/431/disableCache
Brett Wilton
http://wiltonsoftware.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
svn co https://svn.cakephp.org/repo/branches/1.2.x.x /path/to/save
Info is on this page...https://trac.cakephp.org/
Brett Wilton
http://wiltonsoftware.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
You can add an app_controller.php file to your app directory and add
the helpers there.
Brett Wilton
http://wiltonsoftware.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To po
ay end up
implementing it via an ajax-load as you suggest, however I quite like
having the form visible.
Thanks again for you thoughts on this.
Brett Wilton
http://wiltonsoftware.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed t
got xdebug going on Debian or in my case I'm trying Ubuntu
(which is essentially Debian) ?
Brett Wilton
http://wiltonsoftware.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
Anyone get any further with this ? I'm running a LAMP ubuntu install
and get the same result either a blank screen or empty test.php.
Phpinfo says the xdebug is installas far as I can tell.
--~--~-~--~~~---~--~~
You received this message because you are su
Have been trying to figure out this for a while now, anyone used the
file engine caching under 1.2 with around a form ?
In the controller I'm using var $cacheAction = array('index' => '1
day', 'view' => '1 day'); the view page has a few elements which are
cached as well but I only get the errors
Can you say which version you are running RC3 and latest svn ?
Brett Wilton
http://wiltonsoftware.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send ema
Don't mean to hijack this threadbut
Anyone recommend some good articles for jquery and cakephp ?
Or any recommend jquery books ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this gr
-which-grid-cluster-your-site-is-on-at-mediatemple
Simple answer is a traceroute to your site.
---
Brett Wilton
http://wiltonsoftware.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To p
Just re-read your first post, seems like you are running on cluster 1
for both your 1.1 and 1.2 applications so they should experience the
same latency, maybe 1-2 seconds plus any extra code 1.2 might have.
To exclude any issues in regard to this have you setup the same static
page for 1.1 and 1.2
I've seen a couple, can't say if its all of them though.
---
Brett Wilton
http://wiltonsoftware.com
On Fri, Oct 24, 2008 at 9:31 AM, Christian Leskowsky
<[EMAIL PROTECTED]> wrote:
>
> Testing...
>
> >
>
--~--~-~--~~~---~--~~
You
not a windows server issue, as far as I'm aware the machines are
running debian
Brett Wilton
http://wiltonsoftware.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this g
Also Mariano did another article before Sluggable behaviour which was
quite good :-
http://bakery.cakephp.org/articles/view/adding-friendly-urls-to-the-cake-blog-tutorial
If you want a more restful URL you can use the router side of things for this.
Brett Wilton
http://wiltonsoftware.com
Using the router is one way to achieve this.
Here's a few articles on this...
http://book.cakephp.org/view/46/Routes-Configuration
http://debuggable.com/posts/new-router-goodies:480f4dd6-4d40-4405-908d-4cd7cbdd56cb
Brett Wilton
http://wiltonsoftwar
Congrat's to the team and thanks for the efforts. The speed increase
sounds brilliant. Also I have to say thanks to Teknoid and all those
who have improved and added to the book, its becoming a great
resource.
--~--~-~--~~~---~--~~
You received this message becaus
Gabriel this is the third thread you have started on the same topic!
There are answer on the other threads it poor editicate to start yet
another thread on the same topic.
https://mail.google.com/mail/?zx=15ic3dxc3p7ft&shva=1#trash/11c7b06bf600e1d7
https://mail.google.com/mail/?zx=15ic3dxc3p7ft&s
in your controller you can use
$this->Auth->user('id') or $this->session->read('Auth.User.id')
or in your view
$session->read('Auth.User.id')
---
Brett Wilton
http://wiltonsoftware.com
On Sat, Sep 20, 2008 at 3:51 AM, gabriel <[EMAIL PROT
pr($this->validationErrors) in your view will show you the errors.
---
Brett Wilton
http://wiltonsoftware.com
On Fri, Sep 19, 2008 at 12:31 PM, David C. Zentgraf <[EMAIL PROTECTED]> wrote:
>
> On 18 Sep 2008, at 23:53, 703designs wrote:
>
>> So a rendered view wi
Hi dan3501,
it would be worth giving your solution to the problem so others down
that track can google it.
---
Brett Wilton
http://wiltonsoftware.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP&q
Sound's like you don't have the .htaccess file in your /var/www/dan
directory. If that is not there it will not load your img and css
directories correctly.
---
Brett Wilton
http://wiltonsoftware.com
--~--~-~--~~~---~--~~
You received this message b
> If we cannot use http://www.example.com why are they telling us to use it?
Take a glance at this link Jerry, http://en.wikipedia.org/wiki/Example.com
example.com is reserved for documentation use for this exact purpose
i.e. www.itsjustanexample.com
---
Brett Wilton
http://wiltonsoftware.
your error
messages as Donkeybob indicated.
---
Brett Wilton
http://wiltonsofware.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-php@googlegro
You want instant support and help for all your employee's and all for FREE ?
If your employee's are struggling where's your in-house training? If
you can't provide that why not contact some one like
http://cakefoundation.org who offer this service.
There is a learning curve in a framework just a
nge and it was very nice,
however the new license makes it questionable at the very least.
---
Brett Wilton
http://wiltonsoftware.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to t
An element is probably the best way to go for this...
http://book.cakephp.org/view/97/elements
---
Brett Wilton
http://wiltonsoftware.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
If you only want this in a particular view you can set
Configure::write ('debug', 0); in your controller method.
This is particularly useful for those controllers that require no
extra information e.g. sitemap producing xml
----
Brett Wilton
http://wiltonso
on
RewriteRule ^(.*)$ http://wiltonsoftware.com/$1 [R=301,L]
RewriteCond %{http_HOST} ^www\.wiltonsoftware\.com$ [NC]
RewriteRule ^(.*)$ http://wiltonsoftware.com/$1 [R=301,L]
RewriteRule ^$ app/webroot/[L]
RewriteRule (.*) app/webroot/$1 [L]
AddHandler php5-script .php
---
Brett
I have a couple of sites running on MT using both CakePHP 1.2 beta and RC2
and haven't had any problems on the GS just using the standard install. One
thing to be aware of is that they are linux machines so the filenames are
case sensitive (need to be lower case).
---
Brett Wilton
As a further example to the form input helper you can set color and size
information as follows :-
echo $form->input('Contact.name', array('label' => array('text' => 'Name* :'), 'size' => '2
Hi,
This article implements a hitcounter behaviour.
http://dsi.vozibrale.com/articles/view/simple-hitcount-behavior-for-cakephp
There is also an article in the bakery as well...
http://bakery.cakephp.org/articles/view/increment-behavior
Hope that helps.
---
Brett Wilton
http
74 matches
Mail list logo