are liquids but each one of them has its
own use!
On Thu, Mar 28, 2013 at 8:58 PM, Miles J milesw...@gmail.comjavascript:
wrote:
Found this article. Pretty interesting that Cake is last place in every
benchmark (given that it's multiple languages).
http://www.techempower.com/blog/2013/03/28
How are you constructing the URLs? If I remember correctly, it should be
'controller' = 'notification_message'.
On Thursday, March 28, 2013 1:45:24 PM UTC-7, Soumya Ranjan sahu wrote:
I have a cakephp site on bluehost. I have several contollers and some are
named with 2 uppercase letters,
Found this article. Pretty interesting that Cake is last place in every
benchmark (given that it's multiple languages).
http://www.techempower.com/blog/2013/03/28/framework-benchmarks/
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
Pick one:
https://github.com/davidpersson/media
https://github.com/bmcclure/CakePHP-Media-Plugin
https://github.com/milesj/Uploader
https://www.google.com/search?q=cakephp+file+uploadingaq=foq=cakephp+file+uploading
On Sunday, March 24, 2013 8:12:08 PM UTC-7, Rian Falam Simanjuntak wrote:
+1
notEmpty and required sort of solve this already.
On Saturday, March 23, 2013 8:25:41 AM UTC-7, Sebastiaan van Stijn wrote:
I've encountered many new CakePHP users that were a bit confused by the
'allowEmpty' option in validation rules. Thinking about this issue, I must
say that I
CakePHP requires that you understand PHP. The fact that you didn't know
that is unsettling.
On Saturday, November 24, 2012 12:53:19 PM UTC-8, Mike Pritchard wrote:
I struggled with the problems described in messages from new CakePHP
users. The Cake install looked OK, but when I went through
Anyone have an idea?
On Monday, November 26, 2012 12:11:05 PM UTC-8, Miles J wrote:
The latest, 2.2.2 I believe.
On Thursday, November 22, 2012 5:40:38 AM UTC-8, jsundquist wrote:
What version are you using.
On Nov 22, 2012 1:39 AM, Miles J milesw...@gmail.com wrote:
I keep seeing
The latest, 2.2.2 I believe.
On Thursday, November 22, 2012 5:40:38 AM UTC-8, jsundquist wrote:
What version are you using.
On Nov 22, 2012 1:39 AM, Miles J milesw...@gmail.com javascript:
wrote:
I keep seeing this in my debug.log, any ideas?
2012-11-22 03:22:36 Notice: Notice (8): Use
I keep seeing this in my debug.log, any ideas?
2012-11-22 03:22:36 Notice: Notice (8): Use of undefined constant
FULL_BASE_URL - assumed 'FULL_BASE_URL' in
[/var/www/cake/latest/lib/Cake/Core/Object.php, line 87]
Trace:
Object::requestAction() - CORECake/Core/Object.php, line 87
include -
Could the order of session creation be the problem? Make sure the FB
sessions are being created after Cakes.
On Wednesday, July 11, 2012 9:03:41 PM UTC-7, Afif Abu Bakar wrote:
Hi all.
I'm having some problems working with authenticate users that login via
Facebook. Users cannot login to
http://milesj.me/blog/read/end-html-helper
On Saturday, June 30, 2012 6:38:36 PM UTC-7, Marcelo Custódio wrote:
Isn't it much slower concerning development time ?
What are the advantages of of HTML-link ?
Thanks !
--
Our newest site for the community: CakePHP Video Tutorials
One thing I want to point out, is that using keys instead of sentences as
keys is much easier to manage.
msgid welcome.intro
msgstr Welcome %s
Much better than:
msgid Welcome %s
msgstr
On Saturday, June 9, 2012 5:05:13 AM UTC-7, heohni wrote:
Hi,
I have a project with currently 5
Just use Croogo
http://croogo.org/
On Wednesday, June 27, 2012 8:25:25 PM UTC-7, Mr. Manager wrote:
Dear All,
If everyone between cakephp 1.3 and cakephp 2x. which one is better if I
want to make website with unlimited content management system.
Please let me know if anyone know about
So the images on B are on its own local file system?
The only real solution is to make some kind of API call from A using curl
that posts to B telling it to delete a certain file.
Or I would suggest moving everything to Amazon S3.
On Monday, June 25, 2012 7:39:16 AM UTC-7, GerarD wrote:
Hi
Search and find out where its being defined twice.
On Saturday, June 2, 2012 8:55:14 AM UTC-7, alvin567 wrote:
Notice: Constant CAKE_CORE_INCLUDE_PATH already defined in
how do I cancel out this error?
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
MThomas, the error pretty much says what you want to know.
You cant serialize closures, so where are you using a closure?
On Friday, May 18, 2012 9:14:29 AM UTC-7, MThomas wrote:
Hi!
First of all I'm pretty new to CakePHP. Although it sometimes gives me
headaches I love.
On problem
What version are you using?
On Thursday, May 3, 2012 9:49:21 AM UTC-7, Xoubaman wrote:
This is my behavior setup:
public $actsAs = array(
'Uploader.Attachment' = array(
'image_upload' = array(
'name'= 'formatFileName',
'baseDir'
I believe it has changed so if you are doing an edit it sends a PUT, else
if you are doing a create it sends a POST.
I ran into that same issue today.
On Friday, May 4, 2012 1:17:31 PM UTC-7, SigalX wrote:
I've seen that cake had sent PUT in the _method variable but it was
POST and I got
Are you trying to overwrite the original image with the resized one?
Try adding overwrite = true to the resize transformation.
On Thursday, May 3, 2012 9:49:21 AM UTC-7, Xoubaman wrote:
This is my behavior setup:
public $actsAs = array(
'Uploader.Attachment' = array(
Most IDEs all do the same thing, so how did none of those meet your needs?
For reference, I use PHPStorm.
On Wednesday, April 11, 2012 10:23:46 PM UTC-7, Reza Talamkhani wrote:
Hi,
I Need an IDE for CakePHP 2.1 that integerated with cake console and
suggestion...
I test eclipse, netbeans
Are these PDFs being created in the CLI/cron? If not, they should be.
On Tuesday, April 3, 2012 12:54:27 AM UTC-7, Sandy wrote:
HI There,
I'm facing a big problem with cakephp 1.2
first one is that cakephp is creating connection with mysql using
mysql_pconnect, but in database.php I've
Version 3.0 of the forum is for CakePHP 2.0.
https://github.com/milesj/cake-forum
For future reference, you can check the compatibility section in the readme.
On Monday, April 2, 2012 9:17:33 AM UTC-7, WhyNotSmile wrote:
I'm trying to integrate the Cupcake forum (version 2.3) with my app,
You can't save files with AJAX. Are you using a JS script that's using the
iframe hack?
On Saturday, March 31, 2012 12:41:41 PM UTC-7, aSh!Q's wrote:
I wanted to upload a picture of the user via ajax. I checked the media
plugin but found it a little bit hard seeing all those instructions. Is
On a side note, you are including tons of models.
You don't need to include every model if specific models have associated
models you can utilize. You should also load models on a per action basis
using loadModel().
On Sunday, March 18, 2012 5:37:02 PM UTC-7, Felipe Roman wrote:
Hi,
Has
Really depends on location.
I've seen wages ranging from $30 an hour up to $80 an hour.
On Wednesday, March 28, 2012 3:03:47 AM UTC-7, DerekGardiner wrote:
Does anyone know what the typical hourly rate of a cakephp dev (in
USD) would be? For a junior, intermediate and senior developer?
--
You shouldn't be using booleans as keys, just use strings.
$options = array('1' = 'yes', '0' = 'no');
echo $this-Form-input('music', array('options' = $options, 'empty' =
'no answer'));
On Tuesday, March 27, 2012 2:16:28 PM UTC-7, Daniel wrote:
Is it possible to implement a no answer null
This doesn't work with AJAX as it uses the beforeRedirect() method callback
to process logic.
You can save the cookie yourself though: $this-AutoLogin-save($username,
$password);
-Miles
On Monday, March 26, 2012 5:01:41 AM UTC-7, heohni wrote:
Hi,
I downloaded the version 3.4.
I added
If you also need to use it outside of the view, you can just create a
static class and include it, then use the methods statically in the view.
SomeClass::staticMethod().
On Wednesday, March 21, 2012 12:01:20 PM UTC-7, Graham wrote:
Dear all, still new to CakePHP but learning all the time.
You should probably do the 1.x - 2.0 first then the 2.0 - 2.1.
http://book.cakephp.org/2.0/en/appendices/2-0-migration-guide.html
http://book.cakephp.org/2.0/en/appendices/2-1-migration-guide.html
On Friday, March 16, 2012 7:53:39 AM UTC-7, rainerpl wrote:
Hi
Could somebody point me to a
Or you can just use the whitelist in Model::save($this-request-data,
true, array('fieldName')).
On Wednesday, March 14, 2012 10:15:30 AM UTC-7, Daniel wrote:
How do I remove a field from $this-request-data so that it is not
saved / touched on the database when doing a $this-User-save($this-
Wasn't recursive deprecated? Use the containable behavior.
On Monday, March 12, 2012 6:54:17 PM UTC-7, piku wrote:
I just used cake2.1 ,but Model section when i try to use $this-
Model(alias name)-recursive =1
it did not work , but when i used same code in cake 1.3 it works ,
could any
,
ED
On Saturday, March 10, 2012 1:52:29 AM UTC-5, Miles J wrote:
Does the debug() statement appear when doing a model delete?
On Friday, March 9, 2012 9:25:09 PM UTC-8, CrotchFrog wrote:
It's correctly generating the path and works fine when manually deleting
with Uploader.
On Friday
Can you throw some debug($path)'s in Uploader.delete() to see if its
generating the correct absolute path.
On Thursday, March 8, 2012 9:38:05 PM UTC-8, CrotchFrog wrote:
Using Cake 2.1 Uploader 3.3
'Uploader.Attachment' = array(
'fileName' = array(
'name' = 'generateFilename',
'baseDir'
Does the debug() statement appear when doing a model delete?
On Friday, March 9, 2012 9:25:09 PM UTC-8, CrotchFrog wrote:
It's correctly generating the path and works fine when manually deleting
with Uploader.
On Friday, March 9, 2012 1:30:31 PM UTC-5, Miles J wrote:
Can you throw some
I don't quite understand OP.
On Thursday, March 8, 2012 6:40:15 AM UTC-8, Phil wrote:
Bad programming by cake php here. This bug still exists in version
2. Why does it rely on a css file existing? A lot of people will
alter the default template first (removing the default cake stuff),
Is there a reason why you are calling redirect() twice?
On Thursday, March 8, 2012 8:08:39 AM UTC-8, muka wrote:
Hi,
I got a strange behaviour ajax-sending a form.
In controller the record is saved correctly but I get a 404 response
withᅵ Missing Controller, Error: Controller could not
File deletion during row deletion works fine in my test cases.
What versions are you using? (I haven't touched file deletion in a long
time)
Whats your behavior settings look like?
What type of association? Or is it direct?
On Thursday, March 8, 2012 12:56:50 AM UTC-8, CrotchFrog wrote:
It seems like you should understand basic web development and PHP first.
On Tuesday, March 6, 2012 12:01:59 PM UTC-8, kalai wrote:
Hi when i am Setting up Debugkit,
i came through this set the debug mode to at least 1.
I DONT no how to set up debug mode to at least 1
Can any one
Whats the reason for disliking auto-incrementing numbers? Its probably the
best thing about databases.
On Wednesday, February 29, 2012 6:53:38 AM UTC-8, Ighor Martins wrote:
Hello,
I was thinking about the use of integer as primary key of the table or use
a char(36) as UUID in the entire
Release candidates for the most part wont change much from the stable
release. The only differences would be bug fixes, so feel free to use it.
On Tuesday, February 28, 2012 8:33:55 AM UTC-8, fitoussi...@gmail.com wrote:
Hi all,
I currently work in a web agency and we wonder, when the
Use one of the many file uploading plugins out there.
Or just use copy() or move_uploaded_file().
On Feb 24, 7:57 am, reynie...@gmail.com reynie...@gmail.com wrote:
Hi:
I'm having some problems handling file uploads and database saving. I have
a table where I need to store the route where
The only real use for generating HTML with the helper is when you are
packaging markup from within a helper. Just manually write it in the
view.
On Feb 21, 7:20 am, Jeremy Burns | Class Outfit
jeremybu...@classoutfit.com wrote:
I went down the whole Html-tag route once and then methodically went
If I recall correctly, controllers within folders support was removed
in 2.x to encourage the use of plugins.
Someone correct me if I am wrong.
On Feb 3, 7:45 am, Stephen step...@ninjacodermonkey.co.uk wrote:
Sounds like a good set up, I don't suppose you have an open source copy of
the admin
Use plugins. In my projects I have an admin plugin, which works
wonderfully and I don't have to deal with prefixes, which I also
dislike.
On Feb 2, 10:05 am, Thaissa Mendes thaissa.men...@gmail.com wrote:
Depends on how the app is built. I make backend and frontend
separately, so backend would
Just create a different one, ___() or _(), if it's really that much of
a problem.
On Jan 25, 3:19 pm, AD7six andydawso...@gmail.com wrote:
On Jan 25, 10:55 pm, Tilen Majerle tilen.maje...@gmail.com wrote:
this is just, like request for new feature, maybe it's cool, maybe not,
this will
Well if it is an AJAX call, just do a redirect in the JS within the
response.
location.href = newUrl;
Or
location.reload(true);
To refresh the current page.
On Jan 22, 10:10 am, Tilen Majerle tilen.maje...@gmail.com wrote:
you are calling POST call via AJAX request, so, you can't use
Always gotta be a smart ass.
Its *not* possible to detect JS with PHP outright. Detecting if a
cookie exists isn't really detecting it, it's a workaround.
On Jan 20, 12:52 am, AD7six andydawso...@gmail.com wrote:
On Jan 19, 7:51 pm, Miles J mileswjohn...@gmail.com wrote:
Right but I would
Right but I would rather just set a cookie via JS and check it on the
PHP side. Same effect.
But now a days, you shouldn't have to worry about the user not having
JS enabled.
On Jan 19, 12:57 am, AD7six andydawso...@gmail.com wrote:
On Jan 18, 10:04 pm, Miles J mileswjohn...@gmail.com wrote
You can't detect if JS is enabled via PHP.
On Jan 18, 7:28 am, bujanga buja...@gmail.com wrote:
https://www.google.com/search?q=javascript+version+check
On Wed, Jan 18, 2012 at 6:52 AM, vaibhav pathak
promatics.vaib...@gmail.com wrote:
Please any one can tell me how i can detect that
controller for
admin?
Where should I put this App::uses? Can I put this somwhere in
AppController?
I have added that into the login function and now that is working.
jmail
On 11 Sty, 03:28, Miles J mileswjohn...@gmail.com wrote:
Add this to the top:
App::uses('Security', 'Utility
@jeremy - Now that is sick. Was trying for so long to cache SQL data
via a behavior but never thought to use a datasource as well. Will
give this a try.
On Jan 11, 1:23 pm, jeremyharris funeralm...@gmail.com wrote:
Cool, hope it works out for you!
--
Our newest site for the community: CakePHP
Add this to the top:
App::uses('Security', 'Utility');
On Jan 10, 6:25 pm, jmail ad...@jmail.pl wrote:
Hi all!
I am preparing some login action in my app. I have made view
%=$this-Form-create('User', array('action' =
'login','inputDefaults' = array('label' = false,'div' = false)));%
First off, security should be capitalized. Secondly, import it:
App::uses('Security', 'Utility');
On Jan 9, 10:09 am, Daniel danwgr...@gmail.com wrote:
I imported some code from a cake 1.3 application to cake 2, now I get
an error on the following line:
$this-data['User']['password'] =
It should be needed, it defines the package to import from.
On Jan 9, 12:12 pm, Daniel danwgr...@gmail.com wrote:
Thanks. I'm guessing Utility is not neccessarily needed?
On Jan 9, 6:15 pm, Miles J mileswjohn...@gmail.com wrote:
First off, security should be capitalized. Secondly
The function needs to be global, so take it out of the model.
On Jan 7, 12:02 pm, franck noreag...@gmail.com wrote:
Hi guys,
I am a real newbie in cakephp, I used to play with Symfony.
I am trying to use the Uploader plugin of Miles Johnson to upload some
pictures and attach them to a
I noticed my docs are a bit out of date, updated them.
On Jan 7, 12:02 pm, franck noreag...@gmail.com wrote:
Hi guys,
I am a real newbie in cakephp, I used to play with Symfony.
I am trying to use the Uploader plugin of Miles Johnson to upload some
pictures and attach them to a table, it
Start with 2.0!
On Jan 8, 2:11 pm, Jerome Heuze - HEUZE Production
jeromehe...@gmail.com wrote:
Hello Everyone!
Here is my new year resolution - start using CakePHP for my web apps
projects...
So for me to start should i be using/learning 1.x or 2.x version of
CakePHP?
You might want to
Believe its not possible to show them all on one page. Someone correct
me if I am wrong.
On Jan 4, 6:57 am, Constantin.FF constantin...@gmail.com wrote:
I need to translate several phrases into different from the current
language.
If I write __('Title') I get it in the current language set in
http://milesj.me/blog/read/caching-queries
On Jan 2, 10:09 pm, AD7six andydawso...@gmail.com wrote:
On Jan 3, 6:55 am, Dee Johnson devario...@gmail.com wrote:
I would like to have somewhere ~1 sec load time
I actually figured out the problem though. When using persistModel = true
Thats the only good way of mimicking enums in PHP. Since constants are
static by nature, just call them whereever you need them. If the order
class is not in scope within the page, either load the model, or
include it with App. Really your only options.
On Dec 23, 5:50 am, func0der
Yeah but that doesn't correlate to a 1-to-1 relationship to
controllers. I've had apps with 60+ models but maybe only 20-30
controllers.
But again it depends on the app.
On Dec 21, 12:05 pm, Brad Koch bradkoch2...@gmail.com wrote:
So, in summary:
* Don't use subfolders anymore.
* If you want
Well my question is, why do you have so many controllers?
Secondly, use plugins. Its basically a more advanced replacement for
what you need.
On Dec 20, 12:41 pm, Brad Koch bradkoch2...@gmail.com wrote:
Alright, that makes sense. Point of clarification, what's the
preferred convention on this
What euromark said. If the model is the primary usage within the
controller, I use the $uses and any associations off of the user. If I
really need an external model, I would use loadModel().
For example in a users controller, only user would be in $uses.
On Dec 19, 4:31 pm, euromark
app/Plugin/plugin/Locale/eng/LC_MESSAGES/name.po
On Dec 19, 10:20 am, Cayetano Soriano neoshadyb...@gmail.com wrote:
Hi i used the console, for extract .po, from plugin, the problem, is
that I create a directory in my app/Plugins/plugin name/ called
Locale, and copy my .po, but it doesn't
Add this to your before filter.
$this-Security-disabledFields = array('selected');
http://milesj.me/blog/read/security-protection
On Dec 14, 12:16 pm, eugenefphillips eugenefphill...@gmail.com
wrote:
I am using CakePHP 1.3, and I keep getting a black hole error. The
error is happening in the
That doesn't actually test if files are uploaded and image
transformations worked.
On Dec 12, 7:12 am, Matteo Landi mat...@matteolandi.net wrote:
On Mon, Dec 12, 2011 at 4:46 AM, leigh phpnote...@gmail.com wrote:
Hi Matteo,
Wrap move_uploaded_file and is_uploaded_file inside the controller
David Perssons Media plugin is good for more advanced uploading/
validating.
My uploader is great for very simply uploading and image
transformations.
Use whatever fits best!
On Dec 9, 10:36 am, Jeremy Burns | Class Outfit
jeremybu...@classoutfit.com wrote:
I use David Persson's Media plugin;
Why do you need to go to this page?
You could always just use regular PHP:
header('Location: /url/');
exit();
On Dec 9, 6:22 pm, zuha rich...@razorit.com wrote:
Ha, I know you'll all say... ah, you're breaking MVC so let me explain
the situation in case anyone cares to have it. But if
Yeah I ran into this as well, Jose has the correct answer.
https://github.com/milesj/cake-ajax_handler/blob/master/Controller/Component/AjaxHandlerComponent.php#L84
On Dec 8, 12:54 pm, José Lorenzo jose@gmail.com wrote:
set 'validatePost' = false for the security component in that action
What are your HTTP headers?
On Dec 8, 1:44 pm, euromark dereurom...@googlemail.com wrote:
thats really weird.
happening on windows/wamp - php5.3.8
maybe some bug?
the firefox firebug debug data for POST reads:
Parameter application/x-www-form-urlencoded
_method PUT
Cake just doesn't have a true autoloader so you need to include the
file yourself or use the App class.
On Dec 7, 12:38 pm, RhythmicDevil rhythmicde...@gmail.com wrote:
Well the basic idea is that the application uses two datasources. One
is the MySQL one the other is a custom one I wrote for
What euromark said, just do your own forloop and append them to a new
array.
On Dec 6, 1:58 pm, euromark dereurom...@googlemail.com wrote:
you can always use foreach() ;)
the set:: methods wont use anything else, either (internally)
so its also the quickest way of doing it.
On 6 Dez.,
You could always just create 2 base models?
class ApiBaseModel extends AppModel {}
class DbBaseModel extends AppModel {}
They both would extend AppModel to gain shared functionality and then
both would have their own functionality. Cake IS PHP, so you can do
whatever you want with classes.
is how would I do the following:
AppModel
DbBaseModel
SomeModel
ApiBaseModel
AnotheModel
To the best of my knowledge you can actually build that kind of
heirarchy in Cake right?
On Dec 5, 2:49 pm, Miles J mileswjohn...@gmail.com wrote:
You could always
to go and check, that you could never
extend passed one sub class from AppModel or AppController for that
matter. I always thought that was odd but had something to do with
cake's auto loaders. Thanks for the clue, I will check this out.
On Dec 5, 3:11 pm, Miles J mileswjohn...@gmail.com wrote
This should be done when the image is uploaded.
On Dec 1, 8:08 am, phpMagpie p...@webbedit.co.uk wrote:
I'm using SLIR2:http://code.google.com/p/smart-lencioni-image-resizer/
HTH, Paul.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new
You could easily convert this to Cake 2: https://github.com/mcurry/asset
On Nov 29, 10:52 pm, mikeottinger mikeottin...@gmail.com wrote:
Hi All, I've been looking at cakephp 2.0 and wondered if any of the
existing plugins written previously for js/css compression worked with
cakephp 2.0. Does
I still just use import.
App::import('Vendor', 'PluginName.ClassName');
Also, shouldn't the uses be:
App::uses('ClassName', 'Plugin/PluginName/Vendor'); ?
On Nov 28, 12:55 am, p r perab...@googlemail.com wrote:
have you tried this? In this case the classfile will not be found from
a
Here you are: https://github.com/milesj/cake-auto_login
On Nov 22, 10:23 am, Jordy van Kuijk jvank...@gmail.com wrote:
Hi all,
I'm trying to add a remember me checkbox into my login form.
When users check the box, they log in and a cookie ('Auth.User') is
stored, with 'email' and 'password'
Correct, downloading multiple files at once isn't possible without
multiple HTTP requests. Best bet is to zip it up.
On Nov 19, 4:04 pm, euromark dereurom...@googlemail.com wrote:
yes, zipping/packing them is one of the only changes you got.
you could open tons of popups/new windows which then
Because you are not actually uploading a file. Sure you are presenting
an upload form, but it looks like you aren't doing anything with that
upload after the form submission. You should really do the following:
1 - After form submission, validate the file upload and error out if
something is
Cake 2.0 doesn't show error pages, if I remember correctly, it throws
exceptions now.
Someone correct me if I am wrong :P
On Nov 16, 6:02 pm, Davor Ilic webfa...@gmail.com wrote:
thats wrong the debuger shows wrong message to me:
*Fatal error*: Call to a member function flash() on a
(21) 8865.9250
thiagobelem.net
cont...@thiagobelem.net
*Skype / gTalk **»* thiago.belem.web
*LinkedIn* *»* br.linkedin.com/in/thiagobelem/pt*
Assando Sites*, curso de CakePHP *»* assando-sites.com.br
2011/11/10 Miles J mileswjohn...@gmail.com
If you were using MooTools, you could also
If you were using MooTools, you could also just use the Locale
library.
http://mootools.net/docs/more/Locale/Locale
Really wish people would use Moo more over jQuery. jQuery is a designs
framework.
On Nov 10, 1:40 am, AD7six andydawso...@gmail.com wrote:
On Nov 9, 7:32 pm, Miles J mileswjohn
No there isn't really. This is also a problem for any language, and
unless you have back-end parsed JS files it's not possible. The only
solution is so place a JS literal object in your page source
containing the message strings:
script
var Msg = {
username: '?php echo __('username'); ?',
What.
On Nov 3, 10:22 am, ecsyle ecs...@gmail.com wrote:
Give me the code and I will keep it safe
On Nov 2, 9:56 pm, rizki novian rizkinov...@gmail.com wrote:
please help me,,
i want to protect my code with key or something like that..
can anyone solve my problem??
thanks
Ive always wanted this. Cakes defaults are pretty handy but once you
want to break out of the norm it gets tedious.
I would also change the HTML structure but thats just me :P
@Sherlock - There's not much overhead in doing a basic PHP include.
On Nov 3, 6:21 pm, 100rk lubomir.st...@gmail.com
Camel cased file names for PHP classes are the best approach and helps
for simple 1 to 1 autoloading. It's based off of Javas packaging and
naming architecture.
However, camel cased folders are evil.
On Nov 3, 1:16 pm, Thiago Belem cont...@thiagobelem.net wrote:
I wrote many installers for Cake and I would highly suggest doing a
shell script.
https://github.com/milesj/cake-forum/blob/master/vendors/shells/install.php
On Oct 28, 7:31 am, Andras Kende and...@kende.com wrote:
http://cakebaker.42dh.com/2007/04/16/writing-an-installer-for-your-ca...
I would love to see some benchmarks on this. I have a pretty traffic
heavy site that does just fine on 1.3.
And if anything, the speed improvements in 2.0 may be negligible to
notice, especially if caching is on.
On Oct 27, 9:14 am, zuha rich...@razorit.com wrote:
It took me 7, 15 hour days to
POT files are used by the gettext module, which is pretty much the
primary globalization system in PHP.
On Oct 26, 4:31 pm, Ryan Schmidt google-2...@ryandesign.com wrote:
On Oct 26, 2011, at 09:02, zuha wrote:
Okay just have a question I've been curious about for awhile. What is the
The problem I have is that the app folder uses the capitalized
folder scheme. I could care less how the Cake core does it, but now
there is another standard/convention for dev implementation. Why are
folders that have nothing to do with PHP classes being capitalized?
Doesn't look like you have a
Bootstrap would be the best location.
On Oct 23, 11:05 am, santos dos.santos.char...@gmail.com wrote:
in bootstrap file? Or the correct is in the View Helper?
Thanks.
--
View this message in
context:http://cakephp.1045679.n5.nabble.com/How-can-I-override-the-method-d-...
Sent from the
Wait, so is uppercase folder names for views standard now?
:/
Not upgrading if so.
On Oct 20, 11:13 pm, Jeremy Burns | Class Outfit
jeremybu...@classoutfit.com wrote:
How bad was my English/typing there? Poor form...let me redo that one.
This is an upgraded application that I am working on
Oh my that is a god awful format. Looks like I am not upgrading.
On Oct 20, 11:28 pm, Andras Kende and...@kende.com wrote:
Directories Capitalized, files lowercase :)
Andras Kende
On Oct 21, 2011, at 1:18 AM, Miles J wrote:
Wait, so is uppercase folder names for views standard now
scratch anyways. Take it or leave it.
On Oct 21, 12:26 am, Matt Kaufman mkfmn...@gmail.com wrote:
Great; Ditch PHP 5 Standards too
Sent from my iPhone
On Oct 21, 2011, at 12:08 AM, Miles J mileswjohn...@gmail.com wrote:
Oh my that is a god awful format. Looks like I am not upgrading
You shouldnt override it.
Cant you just do: $var = array(__d());
Or make your own function?
function ___d() { }
On Oct 19, 10:19 am, santos dos.santos.char...@gmail.com wrote:
How can I override the method __d() ?
I need to put the msg of __d() in array to use in the botton of the page.
So my error.log is littered with all these warnings. I spent some time
going through all my code and could not locate anything wrong on my
end. Is anyone else getting these? (Before I start digging into the
Cake core). I am using 1.3.8.
2011-10-19 21:19:03 Warning: Warning (2):
Welp, time to convert all my scripts, haha.
On Oct 17, 9:55 am, mark_story mark.st...@gmail.com wrote:
Hey Derek,
My current plan is to continue releasing bugfix/maintenance releases
at least until 3.0 comes out. The frequency of releases will depend
on the flow of tickets though. Security
I dont agree with #2. Time should always be saved to the database as
UTC, and then on the front-end converted to the timezone.
The TimeHelper supports passing a timezone (e.g., -8) as a param and
formats accordingly.
On Oct 17, 6:13 am, David Kullmann kullmann.da...@gmail.com wrote:
Sorry for
1 - 100 of 1469 matches
Mail list logo