I just ran into this issue and did some digging:
Here's francky06l's ticket:
https://trac.cakephp.org/ticket/3318
It appears it was fixed in changeset 5815 but then the change was
reverted in changeset 5827:
https://trac.cakephp.org/changeset/5827
Does anyone know why this change was reverted a
@Walker: I guess I was thinking more along the lines of new
functionality that some developers may want to take advantage of and
are willing to give up backwards compatibility in their app to do it.
By "share their experiences", I guess I was looking for feedback on
examples of such functionality
I was wondering if developers out there who are writing CakePHP apps
in a PHP 5 environment are using PHP 5 functionality in their app(s)
or are choosing to stick with functionality available in 4 or 5?
Since Cake is compatible with both versions, developed apps may want
to be compatible with bot
Also there is of course http://tempdocs.cakephp.org/ and the custom
google search link on the cake front page
On Nov 28, 6:53 pm, "Christopher E. Franklin, Sr."
<[EMAIL PROTECTED]> wrote:
> >The developers are people and you will get a lot
> > further if you treat them that way.
>
> LIES! They
A colleague of mine a couple of years ago ran into problems with 2003
web edition, found that it really tried to lock everything down in an
attempt to be a secure internet server. Since the server was slotted
for intranet only (behind firewall), he switched to 2003 standard and
found things worke
Yep, was a bug that was fixed:
https://trac.cakephp.org/ticket/3451
On Nov 7, 7:23 pm, sdc53 <[EMAIL PROTECTED]> wrote:
> In my baked view/edit/index screens, the __() internationalization
> function is used with values coming from the DB inside $html->link.
> For example:
> echo $html->link(__(
Looked at the latest updated basics.php and looks like this was fixed
with a slightly different method:
cake/basics.php
after line: function __($singular, $return = false) {
insert code:
if (!$singular) {
return;
}
Line 1203:
https://trac.ca
Temporary workaround that seems to work for me until a better solution
is found (not sure if it's a bug or a feature): cake/basics.php
after line:function __($singular, $return = false) {
insert code:
if(is_null($singular)) {
// temp fix for null values
I'm seeing this exact thing as well when __() is being passed a null
value.
On Nov 7, 7:23 pm, sdc53 <[EMAIL PROTECTED]> wrote:
> In my baked view/edit/index screens, the__() internationalization
> function is used with values coming from the DB inside $html->link.
> For example:
> echo $html->li
Out of those 3 choices, I would also recommend Debian. If CentOS is
an option, I would recommend CentOS. I recently changed over to
CentOS on my dev server and have been pleased so far. I did this
after scouring various forums on the web and finding that CentOS was a
pretty popular choice for L
If anything, the cake devs are a lot more active on this project than
many other open source projects I've come across. I don't see any
difference between here and pretty much any app that's out there as
far as dev goes; If you want stable, use their stable app, if you want
bleeding edge, use the
Thanks! I was wondering, is there a connection between these updates
and manual.cakephp.org? I'm just wondering if one is considered more
up to date than the other.
On Jun 4, 7:00 pm, "Gustavo Carreno" <[EMAIL PROTECTED]> wrote:
> Hi there!
>
> New release of your packaged manuals.
>
> [Notes]
Also, think of down the road; 1.2 apps currently being developed will
at some point "feel" like 1.1 apps that are being developed right now,
as the new bleeding edge cake will probably be 2.x... "Legacy Support"
or "backwards-compatibility" or whatever term you choose to use, is
without a doubt hu
Back in the day I looked at Symfony before CakePHP. I watched a video
of a simple app being coded in Symfony.
I didn't write any code after the video. Instead, I then looked at
CakePHP. No Video. So I just started trying it out. I had a basic
scaffolded app working in the time it took to wat
Thanks very much CakePHP Devs!
--~--~-~--~~~---~--~~
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 PR
I'm not sure I understand you exactly, but you can put this in a
controller to set a title for the view:
$this->pageTitle = 'yourpagetitle');
On May 18, 9:17 am, "Rodrigo Castilho Galvão Ferreira"
<[EMAIL PROTECTED]> wrote:
> Please, it would be very good for having a heading for standard, for e
You may want to check this thread:
http://groups.google.ch/group/cake-php/browse_thread/thread/308ea201394f235c/dcf614689114db68
On May 18, 9:06 am, buzznut <[EMAIL PROTECTED]> wrote:
> It looks like the GROUP BY in the left join statement is causing the
> problem. The following query works and r
seen a guy ask this same
> question in 2006 and never got a reply.
>
> On May 18, 2:56 pm, Sliv <[EMAIL PROTECTED]> wrote:
>
> > How to use sql functions in
> > conditionshttp://cakebaker.42dh.com/2007/05/04/how-to-use-sql-functions-in-cond...
>
> > On May
cakephp style coding would be to not grab data from your db using php
mysql functions in a view helper...I'd recommend reading up on the
manual and some basic tutorials about cake, mvc, etc.
On May 18, 9:13 am, Enchy <[EMAIL PROTECTED]> wrote:
> Thanks
>
> i endend up creating a really quick and
Read:
http://manual.cakephp.org/chapter/controllers
http://manual.cakephp.org/chapter/views
For example, depending on the controller/view, your example could be
as simple as: echo $order['dateoforder'] ...
On May 18, 6:03 am, Enchy <[EMAIL PROTECTED]> wrote:
> Hi
>
> I have looked in the htmlhe
How to use sql functions in conditions
http://cakebaker.42dh.com/2007/05/04/how-to-use-sql-functions-in-conditions/
On May 18, 8:45 am, Enchy <[EMAIL PROTECTED]> wrote:
> var $belongsTo = array( 'Orderitem' =>
> array('className' => 'Orderitem',
>
Read the cake chapter on models, talks about model defs, the order
parameter, and the beforefind function.
http://manual.cakephp.org/chapter/models
On May 17, 2:19 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Sorry I am a cakePHP n00b. How do I change the order parameter in the
> model de
I think that's maybe a db design issue more than a cake one and it
really depends on what you want to accomplish with your data. I'd
recommend doing some reading on the concepts of db normalization and
data models:
http://dev.mysql.com/tech-resources/articles/intro-to-normalization.html
http://w
Well to each their own, you can try this test which tries to tell you
what the best distro is for "you":
http://www.zegeniestudios.net/ldc/
On May 17, 2:55 pm, Victor <[EMAIL PROTECTED]> wrote:
> Sliv: thanks you, thank you, and thank you!
>
> Really, Mandriva? Everyon
BTW, I recommend Mandriva Linux for a dev env because I personally
found it to be the easiest learning curve among the linux distros for
those used to windows.
On May 17, 2:29 pm, Sliv <[EMAIL PROTECTED]> wrote:
> I haven't read this in detail, just googled it, but you may want to
I haven't read this in detail, just googled it, but you may want to
have a look:
How to install vmware server on xp:
http://www.petri.co.il/virtual_install_vmware_server.htm
On May 17, 2:07 pm, Victor <[EMAIL PROTECTED]> wrote:
> Sliv: thanks for the response. If windows MySQL
If you want to try the DIY route, you can get vmware server free here:
http://www.vmware.com/products/server/
and this is a tutorial I've used before to install LAMP:
http://www.howtoforge.com/perfect_setup_mandriva_2006
On May 17, 2:07 pm, Victor <[EMAIL PROTECTED]> wrote:
> Sl
You can either change the order parameter in the model definition or
use a beforeFind in the model to change the order.
On May 17, 12:48 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Here is the debug from my query using
>
> $this->set('data', $this->Question->findAll('quiz_id = '.$quiz_id
http://www.help2go.com/Tutorials/Web_Page_Design/CakePHP_and_Dreamweaver_8.html
On May 17, 11:26 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Changing cake to use .html extensions won't solve your problem, cause
> then the design application wont recognize the php code. So u should
> use
. But I don't
> know where to look into to find the problem. I will appreciate some
> suggestions and information.
>
> Thanks.
>
> I also tried to install a virtual machine. It was not successful.
> Either I did not download the right stuff or the instruction was not
>
I would recommend trying a non-cake php page, then a non-cake php page
that reads data from your database. If either of those are slow,
you've got an issue with your WAMP setup, not cake. If possible, I
recommend you run a virtual machine with a LAMP setup, I bet you'll
have less problems and be
ED]> wrote:
> YEAH IT WORKS... THANKS
>
> ANY POINTER TO WHY FLASH NOT WORKING???
>
> On May 17, 5:03 pm, Sliv <[EMAIL PROTECTED]> wrote:
>
> > Try this:
>
> > if($this->Note->save($this->data)) {
> > $this->Session->setFl
If you're using 1.1.x
Look in your app_dir . /config/core.php:
/**
* Set level of Cake security.
*
*/
define('CAKE_SECURITY', 'high');
/**
* Set Cake Session time out.
* If CAKE_SECURITY define is set
* high: multiplied by 10
* medium: is multiplied by 100
* low is: multiplied by
Try this:
if($this->Note->save($this->data)) {
$this->Session->setFlash('Your note has been updated.');
$this->redirect('/notes/');
exit();
}
On May 17, 4:48 am, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> hi,
>
> Newbee to cake.
>
> I am using flash, biut it doesnt seem to dire
Nice! ;)
On May 15, 12:54 pm, Anton Dubina <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I really like CakePHP and I thought I could somehow contribute to
> community. So I've made this simple wallpaper:
>
> http://dubina.ru/archives/38
>
> Just a vector-drawn CakePHP logo on one-color background for peop
By the way, I left out the code for checking the ACL's, rendering
views, etc., so please assume that ACL checking and all that other
stuff is implied :P
On May 11, 9:26 am, Sliv <[EMAIL PROTECTED]> wrote:
> This is my thought on how to use ACL when needing permissions for
> ex
This is my thought on how to use ACL when needing permissions for
existing controller actions to be based on specific data elements:
-Add more controller actions (i.e. index2, index3, etc.)
-set ACL's on those
-call the "main" controller action (index), passing it an argument
-check for the argum
I think the most obvious advantage is that your non-view files aren't
sitting in your "publicly" accessible webroot with the prod setup
On May 10, 8:21 pm, laptop <[EMAIL PROTECTED]> wrote:
> hi all,
>
> what are the advantages of a production setup?? is it ok to just leave
> it in developmen
Tane's Bakery Article:
http://bakery.cakephp.org/articles/view/optimizing-your-cakephp-elements-and-views-with-caching
On May 10, 4:06 pm, gerhardsletten <[EMAIL PROTECTED]> wrote:
> Hi Tane
>
> Is it possible to cache an spesific element in 1.1 or is it a new
> function in 1.2? Can you give us
https://trac.cakephp.org/milestone/2.0.0.x
"Change Models to return object instances instead of arrays"
On May 10, 2:34 pm, chrislewis <[EMAIL PROTECTED]> wrote:
> A seemingly common misconception regarding MVC is that models just
> hold data. This is incorrect. To use a buzzword, models represe
bah I should have refreshed the group first LOL :P
Sorry...
On May 10, 11:03 am, Sliv <[EMAIL PROTECTED]> wrote:
> Sorry if this was posted already, but I don't think it was:
>
> http://www.seomoz.org/web2.0#cat_51
--~--~-~--~~~---~--~---
Sorry if this was posted already, but I don't think it was:
http://www.seomoz.org/web2.0#cat_51
--~--~-~--~~~---~--~~
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@google
FYI - http://ma.gnolia.com/tags/cakephp
--~--~-~--~~~---~--~~
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
oops, wrapped
$newurl = '?var='.$this->params['controller'];
$newurl .= '&var2='.$this->params['action'];
$newurl .= '&var3='.$this->params[0];
$newurl .= '&var4='.$this->params[1];
$newurl .= '&var5='.$this->params[2];
--~--~-~--~~~---~--~~
You received this mes
one way:
$newurl = '?var='.$this->params['controller'].'&var2='.$this-
>params['action'].'&var3='.$this->params[0].'&var4='.$this-
>params[1].'&var5='.$this->params[2];
On May 9, 1:32 pm, "Erich C. Beyrent" <[EMAIL PROTECTED]>
wrote:
> I have a vendor that is doing email marketing for me. They
http://manual.cakephp.org/chapter/request_handler
On May 9, 1:14 pm, Michael Augustyniak <[EMAIL PROTECTED]>
wrote:
> gwoo wrote:
> > use the RequestHandler component with ajax and the layout will be set
> > automatically
>
> Not sure how to use it .
> I added inside controller
> var $components
I would probably use bindModel with conditions:
http://groups.google.ca/group/cake-php/browse_thread/thread/dcbb867063e4696c/4fbbbd0bf6223330?lnk=gst&q=bindmodel&rnum=9#4fbbbd0bf6223330
On May 9, 1:08 pm, robechar <[EMAIL PROTECTED]> wrote:
> This is the only way I have found to do this, but pe
y ask.
> So be smart, be cool, and share your knowledge.
>
> BAKE ON!
>
> blog:http://www.MarianoIglesias.com.ar
>
> -Mensaje original-
> De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
> de Sliv
> Enviado el: Miércoles, 09 de Mayo de 2007 10:05 a.m.
http://www.daniweb.com/techtalkforums/thread15881.html
"Smithers, release the hounds."
On May 9, 9:00 am, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
> On 5/9/07, RB <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi,
>
> > How to send a report information directly to a printer ( dot matrix
> > printer ) ?
Well, I used PhpGACL 3.3.7 installed into APP_DIR . /vendors/
After extraction, I did have to make a symbolic link to the
phpgacl-3.3.7 folder called 'phpgacl' because the plugin was looking
for that folder.
For the plugin:
app_dir . /plugins/phpgacl/
app_dir . /components/php_gacl.php
WEBROO
I believe from what I've read, that a big reason for not using a
series of requestActions is performance. Run a series of
requestAction calls and check the speed.
Cake Processing Explained:
http://groups.google.ca/group/cake-php/browse_thread/thread/7cf805d7ae1841ab/39c1ed08657b19c1%2339c1ed0865
I'm using PHP5, MySQL 5 and CakePHP 1.1.14.4797 with Mariano's phpGACL
and also dAuth 0.3; no problems. The only thing I had to do was
implement the connection_manager.php trunk fix to resolve a datasource
error message. That doesn't sound like your issue, though...
On May 8, 9:45 am, "[EMAIL P
I don't know what functionality google groups offers, but can a mod do
a "move topic" to the frequent discussions section? I know that
doesn't solve that many folks don't search before asking, but I was
just curious if there was more BB type functionality for the group...
On May 7, 10:30 pm, "Sa
Pages 7 and 8:
http://cake.insertdesignhere.com/files/nyphp_presentation.pdf
On May 3, 11:01 am, "Samuel DeVore" <[EMAIL PROTECTED]> wrote:
> nate had a nice comparison in a presentation that he gave somewhere I
> think (or someone did) There was pdf with slides floating around
>
> Sam D
>
> O
Further to that, here's a way I've done the login/logout button that
works with a 'users' controller that has 'login' and 'logout' actions/
methods:
in app_controller.php 'beforeRender' function:
// Login/Logout navigation menu item
if($this->Session->check('User') == false){
$this->set(
http://www.adobe.com/devnet/dreamweaver/articles/beginners_databases_03.html
On May 3, 9:50 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> You are asking is how to set up relationships. If you don't know how
> to create basic relationships, then you need to read cake manual, and
> then go
http://groups.google.ca/group/cake-php/search?group=cake-php&q=cakephp+symfony&qt_g=Search+this+group
On May 3, 9:47 am, "Dr. Tarique Sani" <[EMAIL PROTECTED]> wrote:
> On 5/3/07, TM <[EMAIL PROTECTED]> wrote:
>
>
>
> > Have a look at this one
> > too...http://www.phpit.net/article/ten-different
I'm working on an authentication/authorization solution for my current
project, so am trying to save myself a lot of work by using the dAuth
component ( http://bakery.cakephp.org/articles/view/introduction-to-dauth-v0-3
) and the PhpGACL for Cake plugin ( http://cakeforge.org/projects/phpgacl-cake
a bit mandatory as
> new features will be based on 1.2 and 1.1 will somehow "die".
>
> On Apr 30, 8:20 am, "Gonzalo Servat" <[EMAIL PROTECTED]> wrote:
>
> > On 4/30/07, Sliv <[EMAIL PROTECTED]> wrote:
>
> > > [..snip..]
> > >
The current app I'm working on has been keeping up with the latest
release versions of the 1.1 branch. I'm seeing more and more posts
about 1.2, including folks building prod apps using this branch.
I'm looking for opinions on whether it would be a good idea for me to
upgrade to 1.2 on my curren
I thought this might interest the community; a free online source code
formatter:
http://formatter.gerbenvv.nl/version3/index.php
If you register, you can create "styles" by adjusting a range of
parameters. In this way, it could help to conform your source to the
Cake coding standards when shar
I'm trying to wrap my head around ACL and generally speaking,
authorization, for an application I'm working on using Cake. One of
the requirements is to go beyond securing controllers and actions and
be able to define permissions which depend on the specific data in
question. For example (my apo
Maybe try putting this in a beforeRender() function in your Users
controller?:
if(!isset($this->viewVars['error'])) {
$this->set('error', false);
}
On Apr 23, 8:24 pm, Stacey <[EMAIL PROTECTED]> wrote:
> hi all,
>
> i read a post in here about having a login form built into the default
> la
Thanks, Langdon, I'll have a look at dAuth.
On Apr 20, 6:59 pm, Langdon Stevenson <[EMAIL PROTECTED]>
wrote:
> Hi Sliv
>
> > The issue is that permissions will need to go beyond simply base
> > controller actions (add,edit,delete,view,etc.) and actually take into
>
Hello,
This is my first post - I'd like to say thanks to the Developers and
the Community for this great framework, I really hope to learn a lot
from you folks and possibly someday be able to contribute something of
value back to you all.
I'm currently developing a customized application which w
201 - 265 of 265 matches
Mail list logo