Hi!
I have a few systems built on several versions of cake.
All systems work fine on iDevices.
Actually, I'm working on an ipad 2 with ios 7 (last update) right now.
My cake version is 2.3.4.
I have lagacy version running on cake 1.2 and 1.3, both working fine on
ipad 2 ios 7.
I also tested in
Check the manual:
http://book.cakephp.org/2.0/en/installation.html
It's all step by step there
--
Renato Freire
On Fri, Jul 19, 2013 at 12:01 PM, Amogh Venkatesh amoghv...@gmail.comwrote:
I have tried many things to od yet I am not able to. Can anyone give me
step by step procedure to do
Hi.
Why don't you save $this-data in another var before calling findById()?
Something like this:
class User extends AppModel {
public function beforeSave($options){
//is it an update?
if (isset($this-data[$this-alias][$this-primaryKey])) {
//read record
Why don't you use mysqldump?
It's the best way.
--
Renato Freire
On Wed, Jun 19, 2013 at 2:34 AM, Nikunj Amipara nikamipar...@gmail.comwrote:
hi,
does any one know how do i backup my sql database in simple sql file using
cakephp
--
Like Us on FaceBook
It's really hard to understand your questions.
But cakephp is extremely flexible.
cake has some standards, but you can change it, if you want.
If you want to use other field as primary key, instead of ID, just set it
on your model file (var $primaryKey = 'your_field').
If you have some
There is a twitter clone you can study...
its not based on cakephp, but it is written in php...
so, it may be simple to understand and build your own clone.
http://www.baixebr.org/softwares/programacao/twitter-clone-script-php-micro-blogging/
--
Renato Freire
On Wed, Jun 13, 2012 at 2:43
You are absolutely right.
I just enabled pdo_mysql on my php.ini and it worked!
Ronghua: try this hint. Worked for me.
--
Renato Freire
2012/1/1 清水��己 hiromi2...@gmail.com
My last guess is pdo mysql is not enabled.
2012/1/1 Renato de Freitas Freire renat...@gmail.com:
I had the same
I had the same problem when start using cake 2.0.4 on my work, but I tried
it on my pc and it work fine.
It might be something with your server configuration.
I will doble check it on monday on my work.
Any news I tell you.
But you can try it on other server, or try to upgrade your mysql, or
Try to set classname to User intead of Buyer.
Cake will look after the model named there.
Probably, cake is trying to find Model Buyer, that doesnt exists.
On Thursday, December 8, 2011, denisr den...@gmail.com wrote:
I forgot to mention. In the bake process I made an alias for the
buyer,
Hello.
I think it will give you many troubles.
First, you will need a newinstance of the component, otherwise it will
conflict with the first instance you are already using.
Then you will be able to use like $this-Wizard1-steps and
$this-Wizard2-steps, got it?
But even that way it may not work,
If you want to save your data before previous (so user wont lose typed
data):
function _beforeCancel() {
// if user click on Cancel button:
$this-Model-save($this-data);
}
function _beforePrevious() {
// if user click on Back/Previous button:
Try this:
- xls helper (views/helpers/xls.php) -
?php
/**
* This xls helper is based on the one at
* http://bakery.cakephp.org/articles/view/excel-xls-helper
*
* The difference compared with the original one is this helper
* actually creates an xml which is openable in Microsoft
There is some things that can help you.
This script you say, that runs every 15minutes, is realy running every
15 minutes, or there is a chance this script is running every minute?
Try to check if you keep loosing the session without running this
script. Remove it from cronjobs, then do the
You can also try to change the session handler.
If it is handled by php, you can try to change to cake, or to db...
--
Renato Freire
ren...@morfer.org
On Fri, May 13, 2011 at 12:54 PM, David Cole d...@coledesignstudios.comwrote:
This script you say, that runs every 15minutes, is realy
You can also write the xml for the new version of excel (2003+).
For me, this is the best way.
On Thursday, May 12, 2011, bujanga buja...@gmail.com wrote:
You can also just render to a view and layout. Works great for basic
xls output. See here:
c1_configs?
I already tried all that stuff found at google to change database config on
the fly, but it didnt work.
Im getting confused.
Can anyone help me?
Thank you!
--
Renato de Freitas Freire
ren...@morfer.org
--
Our newest site for the community: CakePHP Video Tutorials
http
.
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
--
--
Renato de Freitas Freire
ren...@morfer.org
--
Our newest site for the community: CakePHP Video Tutorials
http
version with cake 1.2.8, but I didnt try to use it on 1.3
yet.
I dont know if the actual version is ready to 1.3 or it is still on 1.2, but
there is a lot of tutorials to help you to use it on 1.3.
And there is some limitation too. You will have to hack the code to save
checkbox fields.
--
Renato de
Cant you use the $this-Wizard-_currentStep to know where you are??
I use ajax just to load some autocomplete fields...
--
Renato de Freitas Freire
ren...@morfer.org
On Tue, Mar 1, 2011 at 12:03 AM, Ryan Snowden sicapi...@gmail.com wrote:
I modified it to be able to use AJAX but it's got
create this new system in
cake 1.2 or cake 1.3?
Thank you.
--
Renato de Freitas Freire
ren...@morfer.org
--
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
://groups.google.com/group/cake-php?hl=en
--
--
Renato de Freitas Freire
ren...@morfer.org
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
CakePHP group
email to cake-php@googlegroups.com
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?hl=en
--
--
Renato de Freitas Freire
ren...@morfer.org
Check out the new CakePHP Questions site
application, like benchmarks, we
cannot give you any useful answers.
The answer for your question, based on the informations we have, is YES AND
NO.
Got it?
--
Renato de Freitas Freire
ren...@morfer.org
On Sun, Dec 26, 2010 at 8:39 PM, Ziki zixw...@gmail.com wrote:
So there is no any answer
/View.aspx?ThreadId=54383But if u dont
want to use third-part code, you can learn to write excel xml syntax.
Pretty simple too. But will be able to read only on excel 2003 or latter.
--
Renato de Freitas Freire
ren...@morfer.org
On Mon, Dec 20, 2010 at 8:21 PM, cricket zijn.digi...@gmail.com wrote
Try to put this code into your bootstrap.php file:
ini_set(session.cookie_domain, yourdomain.com);
You might be using a shared server...
--
Renato de Freitas Freire
ren...@morfer.org
On Mon, Dec 13, 2010 at 6:37 AM, Jeremy Burns | Class Outfit
jeremybu...@classoutfit.com wrote:
1) Install
Groups
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
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?hl=en
--
--
Renato de Freitas Freire
ren
I had same problem with some 'export to excel' feature.
Today i have 1.5GB in php memory_limit.
Anyone have a lighter solution to export data?
Im using php_excel to export it.
--
Renato de Freitas Freire
ren...@morfer.org
On Fri, Nov 19, 2010 at 8:10 AM, Sreenivas S Nair ♫ sreenivasn
In my case, my client explicity asked for an 'excel export feature'.
I tried to do it in csv, but he didnt like it.
Exporting directly with a simple helper, I had the same results.
Just work if I increase the memory for php.
Seems not to have another way to do it.
--
Renato de Freitas Freire
) to write the file.
}
}
My action is pretty much this...
Do you think if I break this process into pages can make it lighter?
--
Renato de Freitas Freire
ren...@morfer.org
On Fri, Nov 19, 2010 at 2:49 PM, AD7six andydawso...@gmail.com wrote:
On Nov 19, 3:03 pm, Renato de Freitas Freire renat
hmm...
I'll try it later...
tnx alot ˆˆ
--
Renato de Freitas Freire
ren...@morfer.org
On Fri, Nov 19, 2010 at 3:05 PM, cricket zijn.digi...@gmail.com wrote:
On Fri, Nov 19, 2010 at 11:59 AM, Renato de Freitas Freire
renat...@gmail.com wrote:
Yeah..
my table is near 1gb...
Something
' = 'myradio'
'options' = $shippingmodes));
?
$('#myradio').click(function() {
var value = $(this).val();
if(value=='SOME_VALUE')
$('#some_form_field_id').attr('disabled',true);
});
I really dont know what u want, but hope this help you.
--
Renato de Freitas Freire
ren...@morfer.org
Ok, but based on what factor you will disable this option?
I guess you still can do it with jquery.
Give a look here:
http://stackoverflow.com/questions/1318802/enabling-and-disabling-radio-buttons-depending-on-user-selection
--
Renato de Freitas Freire
ren...@morfer.org
On Tue, Nov 9, 2010
://groups.google.com/group/cake-php?hl=en
--
--
Renato de Freitas Freire
ren...@morfer.org
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post
fix...
i dont have it here now, but when i get into my house ill send it to you...
--
Renato de Freitas Freire
ren...@morfer.org
On Sun, Oct 10, 2010 at 2:21 PM, Jeff jeffri...@gmail.com wrote:
Thanks Renato,
After posting this question (before your reply) I _did_ see that
wizard component
what is the name of your index view file?
i think u have named it index.php.ctp, but its index.ctp only...
try to check this...
--
Renato de Freitas Freire
ren...@morfer.org
On Sun, Oct 10, 2010 at 4:37 PM, Jeff jeffri...@gmail.com wrote:
Not sure why, but I'm the lucky guy that gets
i think he mean coda... coda is for mac only...
i use coda too.. and phpDesigner on windows...
both great editors.
--
Renato de Freitas Freire
ren...@morfer.org
On Sun, Sep 19, 2010 at 12:27 PM, Tilen Majerle tilen.maje...@gmail.comwrote:
wtf?...which program is for mac only
Very nice.
Do you plan do show the source code?
What do you use to create the graphics?
Good work. Grats!
--
Renato de Freitas Freire
ren...@morfer.org
On Tue, Sep 7, 2010 at 8:01 PM, gabrielr gabriel.gurodrig...@gmail.comwrote:
Great Site!!!
a simple good idea that make life better
Very nice..
Publish it in google docs... so we can translate to english... (i guess)..
Congratz!
--
Renato de Freitas Freire
ren...@morfer.org
On Mon, Aug 23, 2010 at 9:37 PM, Kyko kykoc...@gmail.com wrote:
I just downloaded it. It looks nice, but I would like to have it in
English
I dont know what version you are using...
but in 1.2, i would do like this:
$adressee = $this-User-find('first',array('conditions' =
array('User.email' =$user,'fields' = array('username';
try it...
--
Renato de Freitas Freire
ren...@morfer.org
On Thu, Jul 1, 2010 at 12:46 PM, Jeremy
, $ds);
}
I dont know if this works... but I heard about it some time ago...
U can try...
--
Renato de Freitas Freire
ren...@morfer.org
On Tue, Jun 29, 2010 at 2:23 PM, Shaz shazam...@gmail.com wrote:
There's been a lot of discussion about this - use the search box on
the top right.
I
to the system
(through header(Location: myaddress.com/mysystem/controller/action/);)
Anyone have any tip?
Am I doing something wrong?
Can anyone help me with this issue?
Thanks...
--
Renato de Freitas Freire
ren...@morfer.org
Check out the new CakePHP Questions site http://cakeqs.org and help
I alredy asked it here.
Never find an answer.
Im doing same way you do. 2 querys.
Not even with pure sql i count do it in 1 query...
still wonder if its some way to do it in a cake way.
--
Renato de Freitas Freire
ren...@morfer.org
On Mon, May 24, 2010 at 11:55 AM, designv...@gmail.com
admin route, my systems will be
safe.
I just heard that there is some robots scanning cake's urls for an open
scafold. So, I just want to prevent this things.
I dont know if it is the better way, but the work is the same.
sry my bad english.
--
Renato de Freitas Freire
ren...@morfer.org
On Tue
Im using phpMailer to send emails with cakephp...
It works really great for me...
Why dont you try?
--
Renato de Freitas Freire
ren...@morfer.org
On Sat, May 8, 2010 at 10:13 AM, John Andersen j.andersen...@gmail.comwrote:
Or use your Gmail as your mail account in a smtp setup.
See http
i never could get smtp auth with core email component...
and with phpmailer i did it like a piece of cake...
--
Renato de Freitas Freire
ren...@morfer.org
On Sun, May 9, 2010 at 1:54 PM, Ma'moon phpir...@gmail.com wrote:
@Renato because the email component from CakePHP is a core component
So.. whats the deal with this Lithium framework?
Is it the cake 2.0 or just a copy from someone else?
--
Renato de Freitas Freire
ren...@morfer.org
On Fri, May 7, 2010 at 9:27 PM, Graham Weldon gra...@grahamweldon.comwrote:
The team has been working towards 2.0 with more and more enthusiasm
yes... sure..
thanks...
i heard alot that cakephp is dead, and the future for cakes users is
lithium
good to know that its not true...
--
Renato de Freitas Freire
ren...@morfer.org
On Sat, May 8, 2010 at 9:02 AM, Graham Weldon gra...@grahamweldon.comwrote:
Lithium is a PHP Framework for PHP
) {
return date('d-m-Y', strtotime($dateString));
}
I guess you can modify this to make your custom function and put it in your
app/AppModel.php
So it will work for every model you have in your project...
--
Renato de Freitas Freire
ren...@morfer.org
On Fri, May 7, 2010 at 9:26 AM
on auth and acl if the project needs it...
thats the way I work on my projects... not only in cakephp, but any
language/framework...
--
Renato de Freitas Freire
ren...@morfer.org
On Sat, Apr 24, 2010 at 6:51 AM, viis tarmo.ta...@gmail.com wrote:
Would like to know what is your workflow when you
this-data[Modelname][name];
exit;
and in the view, I would use $form-input, not $form-text, for a varchar
field...
--
Renato de Freitas Freire
ren...@morfer.org
On Thu, Apr 22, 2010 at 8:16 AM, Narendra Padala crazycake...@gmail.comwrote:
How to display form submitted data without using model
im using aptana studio...
really good... based on eclipse..
--
Renato de Freitas Freire
ren...@morfer.org
On Mon, Apr 19, 2010 at 3:42 AM, Martin Westin
martin.westin...@gmail.comwrote:
No ide, just Textmate for me.
On Apr 19, 6:14 am, Bryan Lim ytbr...@gmail.com wrote:
Hi all,
mac
If your database is MySQL, you can try MySQL Workbench.
This program can do reverse engineer of your database and draw the diagram
automatically.
http://wb.mysql.com/
--
Renato de Freitas Freire
ren...@morfer.org
On Sat, Apr 10, 2010 at 4:33 PM, mivogt-LU c...@mivogt.net wrote:
hi there,
I
will have a lot of
data...
--
Renato de Freitas Freire
ren...@morfer.org
On Tue, Apr 6, 2010 at 1:18 PM, Jeremy Burns jeremybu...@me.com wrote:
There is a reference to NOT IN in the guide - I am sure you could adapt
that?
http://book.cakephp.org/view/1030/Complex-Find-Conditions
Jeremy Burns
= $this-Project-find(all);
$this-set('projects', $projects);
Can anyone help me?
Thanks
--
Renato de Freitas Freire
ren...@morfer.org
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed
I think you may need something more then just cakephp, like some flash or
java app to capture webcam and voice from users computer.
--
Renato de Freitas Freire
ren...@morfer.org
On Wed, Mar 10, 2010 at 11:40 AM, Abraham Boray abrahambo...@gmail.comwrote:
Anyone of u guys , know how
for each form built in the system.
If you have any solutions, please share with us.
It may help me too.
Thanks
--
Renato de Freitas Freire
ren...@morfer.org
On Tue, Feb 9, 2010 at 10:53 AM, @pauldatta pkdatta2...@gmail.com wrote:
Thankyou Paul for your suggestions.
Creating a webform markup
('/', array('controller' = 'pages', 'action' = 'display',
'home'));
or, of course, as richard said, you can put your cake instalation pointing
directly to your /intranet
--
Renato de Freitas Freire
ren...@morfer.org
On Tue, Feb 9, 2010 at 11:20 AM, VitillO vj.nu...@gmail.com wrote:
Hello, im kinda
can you help me with almost same question?
i need to update lastIP when user log in my system..
how can i do that in cakephp?
tnx
--
Renato de Freitas Freire
ren...@morfer.org
On Sun, Feb 7, 2010 at 5:57 AM, John Andersen j.andersen...@gmail.comwrote:
You are welcome :)
Joh
On 7
I know that.
I was wondering if cakephp has any automagically with this issue..
but thanks anyway.
--
Renato de Freitas Freire
ren...@morfer.org
On Mon, Feb 8, 2010 at 12:45 PM, John Andersen j.andersen...@gmail.comwrote:
Look in the PHP manual for the predefined variable $_SERVER!
It has
anyone help me? Im a little lost here.
Tnx!
--
Renato de Freitas Freire
ren...@morfer.org
On Sun, Feb 7, 2010 at 10:45 PM, mansil...@gmail.com mansil...@gmail.comwrote:
When isAuthorized() returns false I get redirected to / which then
redirects to pages controller...
Here is my code
i had the same problem using PHP 5.3..
im using PHP 5.2 now.. and all my problems are gone...
Try it too...
--
Renato de Freitas Freire
ren...@morfer.org
On Thu, Feb 4, 2010 at 3:18 AM, Samatha kksama...@gmail.com wrote:
i configured cakephp in my local system... i'm using php 5.3
the image on image model,
i dont know... but that way work..
--
Renato de Freitas Freire
ren...@morfer.org
On Tue, Dec 29, 2009 at 2:41 AM, Wils anjo.virt...@gmail.com wrote:
Hi Guys,
How's going?
so, I trying to figure out the following scenario:
2 models:
- articles
- images
table_id...
but, of course, you can change it...
--
Renato de Freitas Freire
ren...@morfer.org
On Mon, Dec 28, 2009 at 11:20 AM, Jaimon kal.liz...@gmail.com wrote:
hi,
just few days ago i found out about this miracle called cakePHP so i
am pretty green to it.
i need to build a mail application
missing details and don’t work very
well.
Thanks and sorry to post here in this thread, but I thought it was better
than create a new one with the same question.
--
Renato de Freitas Freire
ren...@morfer.org
On Mon, Dec 28, 2009 at 12:56 PM, Nuno Oliveira nfa...@gmail.com wrote:
Hi all,
I am
64 matches
Mail list logo