ssionConfig['cookieTimeout'])) {
> $sessionConfig['cookieTimeout'] = $sessionConfig['timeout'];
> }
the conditions won't match and code inside won't be executed, cookieTimeout
will still be 240 , which is cake's default value.
is this a bug? I thin
for youbut you need to
> pass a class to it as the first parameter... $this->Html->div('someClass',
> 'foo'); should do the trick.
>
>
>
>
> On Tue, Feb 21, 2012 at 4:13 PM, Perry wrote:
>
>> Hi guys, I want to wrap some elements in a div, and
Hi guys, I want to wrap some elements in a div, and I'm using
$this->Html->div('foo')
to generate the starting div tag, but I can't find a method to generate the
closing tag
how can I use the HtmlHelper to do this? I think write the ''
directly is ugly
AppExceptionRenderer file, but according to the
manual, I do put it in app/Lib/Error, please help
--
Perry | 彭琪
http://pengqi.me
--
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
time
> (as you did here^^)
>
>
> On 31 Jan., 04:38, Perry wrote:
> > when I pass a https url to HttpSocket::get, it won't use 443 port
> > automatically, and return nothing
> >
> > but when i specify the port in url, likehttps://example.com:443/, it
>
when I pass a https url to HttpSocket::get, it won't use 443 port
automatically, and return nothing
but when i specify the port in url, like https://example.com:443/, it works
fine
is this a bug?
--
Perry | 彭琪
http://pengqi.me
--
Our newest site for the community: CakePHP Video Tuto
in Cake 2.0, controllers don't persistent models in tmp/cache/persistent/
directory, right?
then where does it store those cached objects? or model objects are not
cached any more?
i do see some files in tmp/cache/models, but those are table structures i
guess.
--
Perry | 彭琪
http://peng
, how would you
> suggest to only use the menu database retrival when needed?
>
> using if this params controller= controller ? or something like that?
> or do you know of a better way ?
>
> Thanks for all help and suggestions this far!
>
> -Tom
>
>
> On 12 Des, 07:
ering about the best practice
> to do this?
>
> Example, get menues and links from db in component, generate menu
> output with helper.
>
> Or should i do all this in the helper?
>
> Thanks!
>
> tom
>
> On Dec 8, 11:42 pm, Perry wrote:
> > why consider components and h
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 this group, send email to
> cake-php+unsubscr...@google
r
> than the app itself
> the base classes are in the base (=parent) folders.
>
>
> On 7 Dez., 11:04, Perry wrote:
> > I defined a custom AppHelper as View/Helper/AppHelper.php
> >
> > App::uses('Helper', 'View/Helper');
> >
> > class AppH
I defined a custom AppHelper as View/Helper/AppHelper.php
App::uses('Helper', 'View/Helper');
class AppHelper extends Helper
but it gives a php error:
Fatal error: Class 'Helper' not found in
i don't why, it works fine in 1.3, thx for any help
--
P
; 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
>
--
Perry | 彭琪
http://pengqi.me
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Ch
bscr...@googlegroups.com For more options, visit this group
> at http://groups.google.com/group/cake-php
>
--
Perry | 彭琪
http://pengqi.me
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.o
hp.org 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
>
--
Perry | 彭琪
http://pengqi.me
--
Our
I've found the solution in
http://www.pseudocoder.com/blog/8-ways-to-speed-up-cakephp-apps
I need to add a '_cake_core_' cache configuration using memached engine
On Thu, Aug 4, 2011 at 6:57 PM, Perry wrote:
> Hi all,
> I've enabled file cache in core.php, and
p me here, thx a lot!
--
Perry | 彭琪
http://pengqi.me
--
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 this group, se
You can use some of the model hooks (like after save) to clear the
cache, then call a method that rebuilds it, or the appropriate parts.
You might also consider storing separate caches for each component/
model whenever it's updated.
With the home page idea, you can create a controller with no mod
features are PHPUnit tests and integation form
> helper.
>
> By the way, thinking of naming this project "phpMerchant" but googling
> on that i found this linkhttp://code.google.com/p/php-merchant/
>
> It is an Active Merchant like project, but it is inactive
gt; - Bharadwaj
>
> On 12-Jul-10, at 10:23 PM, iamcam (Cameron Perry) wrote:
>
>
>
> > How closely are you following the original ruby version? I'd be
> > interested in helping out here and there once you put it on github (so
> > much better than google).
>
documentation.
>
> I hope this will help php developers to integrate payments api to
> their eCommerce applications.
>
> On Jul 6, 1:51 am, "iamcam (Cameron Perry)"
> wrote:
>
>
>
> > Has anyone seen anything like ActiveMerchant on the PHP side? I
> >
Cache an item, assuming the cache is working, turn memcached off, then
try to read it on the next request. That will tell you right away if
memcache is working.
On Jul 9, 7:05 pm, Hugo M wrote:
> I've configured memcached as caching system in CakePHP, how can I test it?
> Because I tried to get c
er thought about something similar mostly
> because the API support of most payment gateways is pretty
> straightforward using php...
>
> On Jul 5, 11:51 pm, "iamcam (Cameron Perry)"
> wrote:
>
>
>
> > Has anyone seen anything like ActiveMerchant on the PHP sid
Has anyone seen anything like ActiveMerchant on the PHP side? I
searched around a bit but haven't seen anything.
I'm intrigued by the fact that it supports so many gateways out of the
box, and wonder if (a) anyone has already come up with a PHP
alternative, or (b) thinks it feasible to attempt a p
Have you seen this post yet?
http://mark-story.com/posts/view/using-mongodb-with-cakephp
Check the post comments. There's one in there about the primary key
issue.
On Apr 15, 1:42 am, zulfiqar wrote:
> Hi,
>
> I am planning to use mongoDB as database for my application. I found
> mongoDB datas
I believe you have to break the automagic HABTM relationship into
hasMany and belongsTo with an explicit model representing the join
table - manually join your Event and Guest models to the EventGuest
through those relationships. The issue is that any time HABTM
relationships get updated, the rows
+1 on keeping the idea of the bakery. The current system is nice for
articles, but it still feels like it's lacking in a couple of areas -
one is comments.
Why not use a service like akismet to filter comments? They have a non-
profit version that allows free usage in exchange for some cross-
prom
'User' => array(
> 'className' => 'User'
> )
> );
>
> //app/models/user.php
> var $hasMany = array(
> 'Chat' => array(
> 'className' => 'InstantMessenger.ImChat',
> )
> );
>
This might be elementary for some, but I haven't quite wrapped my head
around how I can build a hasMany relationship from my app model to a
model in a plugin (one I'm also writing).
The basic gist looks something like this:
/** App's User Model **/
class User extends AppModel {
var $name
to do that? Have PHP and SQL installed
on my local server and the host, can the cake client interface be run
in Mac OS X?
Perry
[EMAIL PROTECTED]
(510) 684-4152
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "
30 matches
Mail list logo