OK Thank you...:)
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2011/3/15 mark_story
> More. Our normal release process includes an alpha, beta, and usually
> at least 3 RC releases. None of these have happened yet. And they
> will not all transpire in one month.
>
> -Mark
>
> On Mar 14, 5
On Mar 14, 2011, at 14:38, cricket wrote:
> On Mon, Mar 14, 2011 at 11:29 AM, Sarpidon wrote:
>>
>
>> What I did was to create a hidden input with the current timestamp
>> (when the edit page is generated)
>>
>> Upon save I check if the record has a greater timestamp than the one
>> from the hid
Are there any related records in the db that are preventing its deletion in the
db? What happens if you delete the record through a database client?
Jeremy Burns
Class Outfit
jeremybu...@classoutfit.com
http://www.classoutfit.com
On 15 Mar 2011, at 04:06, Krissy Masters wrote:
> Going nuts ove
Yes, this takes your data array and stores parts of it in different models, but
it isn't storing the same data multiple times. That's an admin nightmare, so as
I mentioned before, the best solution is to examine your database design.
Jeremy Burns
Class Outfit
jeremybu...@classoutfit.com
http://
Design your database better so it's only stored once.
Jeremy Burns
Class Outfit
jeremybu...@classoutfit.com
http://www.classoutfit.com
On 14 Mar 2011, at 23:36, duderion wrote:
> hi guys,
>
> i have a users/add form, and i want to store the users address data to
> several models (adresses,acco
Bad association in the relations so was throwing missing table / column.
Human typo error :O
K
--
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 questi
On Mar 14, 2011, at 14:33, cricket wrote:
> On Mon, Mar 14, 2011 at 12:04 PM, toka...@gmail.com wrote:
>> is it possible to recognize that app is running as a SHELL??
>>
>> I use a simple database switch in app/config/core.php ... I switch
>> between LOCAL and LIVE database...
>>
>> I ask simply
Going nuts over something so simple not working I hate to even ask.
public function manage_delete() {
if ($this->RequestHandler->isAjax()) {
$avatar = $this->Avatar->__getImageInfo( $this->owner_id );
$this->Avatar->deleteAll( array( 'id' =>
$avatar['Avatar
http://book.cakephp.org/#!/view/1265/AuthComponent-Variables
$this->Auth->userModel = 'Admins';
K
-Original Message-
From: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On Behalf
Of cake_beginner
Sent: Monday, March 14, 2011 11:49 PM
To: CakePHP
Subject: another table to
Hi,
im really a cake beginner, and wondering if its possible, instead of
using USERS table to login, i will use ADMINS table to login?
i want to use the table admins to login at my page, not the users
table...
can anyone help me with this? thank you
:)
--
Our newest site for the community: Cak
As Miles said, CakePHP is licensed under a free license (The MIT
license). You are free to incorporate it into any commercial product
with no license fees. There is no cost for support either, as there
isn't any outside of what you get from the community. There are lots
of members in the CakePHP
More. Our normal release process includes an alpha, beta, and usually
at least 3 RC releases. None of these have happened yet. And they
will not all transpire in one month.
-Mark
On Mar 14, 5:18 pm, "MaJerle.Eu" wrote:
> Hello more like to admins...
>
> So, when can we expect a stable release
I have a separate action for admins to add comments, so instead of
using the 'action' option, I have:
echo $this->Form->create(
'Comment',
array(
'url' => array(
'action' => 'add',
'admin' => 1
)
i found a cool solution :D
http://nuts-and-bolts-of-cakephp.com/2008/08/01/practical-use-of-saveall-part-1-working-with-multiple-models/
greets
duderion
On Mar 15, 12:36 am, duderion wrote:
> hi guys,
>
> i have a users/add form, and i want to store the users address data to
> several models (a
Hey Miles,
I stumbled upon your component in the bakery and I used version 1.6.
After changing the line with $this->Cookie->del() to $this->Cookie-
>destroy() the component works perfectly with Cake 1.3.7!
There's no error, no problem and everything is working just out of the
box!
Thanks for this
hi guys,
i have a users/add form, and i want to store the users address data to
several models (adresses,accounts, etc)
so i have more than one model to validate.
whats the best practice ?
duderion
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out
On Mar 14, 2011, at 18:15, arron wrote:
> I want to hide my database fields and make it harder for people trying
> to spam me or hack it
I hesitate to support this idea, on the grounds that security through obscurity
is not security. If there are ways for people to spam or hack your site just
I want to hide my database fields and make it harder for people trying
to spam me or hack it
On Mar 14, 5:08 pm, euromark wrote:
> the question is
> what do you want to achieve with this? other than making your life a
> hell of a lot more difficult as a developer
>
> On 14 Mrz., 23:45, arron wr
the question is
what do you want to achieve with this? other than making your life a
hell of a lot more difficult as a developer
On 14 Mrz., 23:45, arron wrote:
> I have a form
>
> create(info );?>
> input('FirstOwner.fname');?>
> input('FirstOwner
I have a form
create(info );?>
input('FirstOwner.fname');?>
input('FirstOwner.lname');?>
input('FirstOwner.first_owner_title');?>
input('FirstOwner.first_owner_precentage');?>
input('FirstOwner.first_h
What are you using to generate the named params?
On Mar 14, 2:15 pm, Adael wrote:
> You can do the following:http://pastebin.com/JAup00Hn
>
> On 14 mar, 20:00, "Mr.Jayesh" wrote:
>
> > Hello Everyone,
> > Hope things Great..
>
> > Anyone please advice me a quick solution from which i can hide mo
Hello more like to admins...
So, when can we expect a stable release of CakePHP 2.0.0 ?...
Maybe for about one month or more?
--
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
wit
You can do the following: http://pastebin.com/JAup00Hn
On 14 mar, 20:00, "Mr.Jayesh" wrote:
> Hello Everyone,
> Hope things Great..
>
> Anyone please advice me a quick solution from which i can hide model
> name from my URL created out of search string.
>
> currently my url looks
> like:http://m
Why are you mixing the (deprecated) Ajax-Helper with html code for a
form? Have you tried relying on the helper to produce the code for
your form?
On 14 Mrz., 14:21, heohni
wrote:
> Hi,
>
> I have this form:
> Ajax->Form('searchMember', 'post', array('update' =>
> 'target', 'url' => array('action
It looks like the problem is in this line $this->Drink-
>make($file); // generate versions
When I set my file upload to $this->data['media'] by stating $this-
>data['media'] = $_FILES['media'] ;
The media plugin then handles the upload using $file = $this->Drink-
>transfer($this->data['media']);
or at least i found out what was going on. No biggie just more of an
oversight.
--
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 unsub
Hi, Cricket, I found the solution pretty much seconds after I posted this.
I actually didnt have my local webserver on :)
--
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
I think you need some AJAX to ping the server with the post_id when someone
open the post for edit.
You need to ping every X second.
When someone else trying to open the post for edit you check the ping table
and if the post is in edit mode you can disable the last user edit button.
you can even te
On Mon, Mar 14, 2011 at 9:21 AM, heohni
wrote:
> Hi,
>
> I have this form:
> Ajax->Form('searchMember', 'post', array('update' =>
> 'target', 'url' => array('action' => 'searchMember'))); ?>
>
> Suchwort:
>
>
>
>
> Ajax->Form->end(); ?>
>
> And everytime I press the submit button, the request
On Mon, Mar 14, 2011 at 11:29 AM, Sarpidon wrote:
> Thank you for your answers.
>
> What I did was to create a hidden input with the current timestamp
> (when the edit page is generated)
>
> Upon save I check if the record has a greater timestamp than the one
> from the hidden input and if so i re
On Mon, Mar 14, 2011 at 12:04 PM, toka...@gmail.com wrote:
> Hi,
> is it possible to recognize that app is running as a SHELL??
>
> I use a simple database switch in app/config/core.php ... I switch
> between LOCAL and LIVE database...
>
> I ask simply for domain domain.com OR domain.local
>
>
Have you tried the google? Here's a concise explanation from one of
the results to get you started:
http://www.ibexsoftware.com/Help/RemoteExecute/errorid10060aconnectionattemptfailedbecausetheconnectedpartydidnotproperlyrespondafteraperiodoftimeorestablishedconnectionfailedbecauseconnectedhosthasf
Hello Everyone,
Hope things Great..
Anyone please advice me a quick solution from which i can hide model
name from my URL created out of search string.
currently my url looks like:
http://my.website.com/medical/results/Medicine.search:cancer/Medicine.author_id:5
I wanted it to be like this:
http
On Sun, Mar 13, 2011 at 11:57 AM, Chris wrote:
> Hi there,
>
> I've been a little bit messy about the charset I am actually using in
> my application. Now, I decided on using uft8 and I set it in:
>
> - my default view (for meta-data and html-header)
> - core.php (App.encoding)
> - database.php (e
Hi, i fired up the cake console today and this is an error it was giving
me...I cannot do anything.
Any ideas?
PHP Warning: mysql_connect(): [2002] A connection attempt fail
nnected party did not (trying to connect via tcp://localhost:3
ake\cake\libs\model\datasources\dbo\dbo_mysql.php on line
Hi,
The button's javascript used needs to return false.
You can also use jQuery's preventDefault function depending on your needs.
HTH,
LipeDjow
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org
Hi,
is it possible to recognize that app is running as a SHELL??
I use a simple database switch in app/config/core.php ... I switch
between LOCAL and LIVE database...
I ask simply for domain domain.com OR domain.local
But if I run it trough SHELL, it does not provide this variable
$_SERVER['
Ok, this is what I did for the multiple messages.
I created an array
$allmessages = array();
and then on every action on the same function I pushed a message into
the array like so:
array_push($allmessages, 'my message here');
and at the end of the function I imploded the array and set the flash
Thank you for your answers.
What I did was to create a hidden input with the current timestamp
(when the edit page is generated)
Upon save I check if the record has a greater timestamp than the one
from the hidden input and if so i redirect back with a flash message
saying "This post has already
thanks a lot cricket. this is exactly what I was looking for.
On 13 Mrz., 19:29, cricket wrote:
> On Sun, Mar 13, 2011 at 8:33 AM, Özgür Demir wrote:
> > Hi there,
>
> > I have a routing question. My website should display content depending
> > on a username. I can achieve this using something l
Usually I let the counter cache do this kind of things, my apps are
not so famous that I will run into problems due to high CPU ussage,
and nowadays disk space is really cheap. For instance I would create a
'votes' table and model, and store there datetime, user id, ip address
and other details of
> Ok. I guess I am looking for Optimistic Locking,
>
> has this been implemented on CakePHP? Anyone?
I'd add a field in your article table called editor_id and fill with the
user id when you begin to edit. then remove the id when you save.
obviously this will cause all sorts of locking hell if yo
if i understand you goodthen...do this: when x user click into "edit
post" link, save into database in this post that post is locked (eg locked =
1) and which time it was locked (lockedtime = with date function()), then
give an x user idk, about 15 minutes to edit post, and after he press
"Save
Ok. I guess I am looking for Optimistic Locking,
has this been implemented on CakePHP? Anyone?
Thanks
On Mar 14, 2:50 pm, Sarpidon wrote:
> Hi, I tried searching for it but I cannot find anything useful. I am
> trying to lock a page that is being edited by another user. In our
> site there coul
Hi,
I have this form:
Ajax->Form('searchMember', 'post', array('update' =>
'target', 'url' => array('action' => 'searchMember'))); ?>
Suchwort:
Ajax->Form->end(); ?>
And everytime I press the submit button, the request is send 2 times,
I can see this with firebug in my firefox.
Is there some
Thank you Jeremy. I am going to try that and see...
On Mar 2, 5:08 pm, Jeremy Burns | Class Outfit
wrote:
> This has come up before, but the answer is not obvious. Here's a stolen reply
> from an earlier post:
>
> This is actually caused by a bug in the PCRE library on Centos / Red Hat. See
> t
Hi, I tried searching for it but I cannot find anything useful. I am
trying to lock a page that is being edited by another user. In our
site there could be many admins editing the frontpage (choosing main
articles and so on), I want to be able to restrict the page to be
edited by a single user ever
I use mingw and after setting up as guided in 'setting up console on
windows' bake will work from mingw/msys & cmd prompt
http://tv.cakephp.org/video/gwoo/2010/12/24/setting_up_the_cakephp_console_on_windows
On 13 March 2011 20:16, foug wrote:
> hi, i'm following the book "Apress, beginning
hi friends
i m trying to pop up a new window in click
but there are two submit button on my form. on one of them i want to
give popup
name of my buttons are"Respond", and "Submit".
on click i could open an new window but form is also get submitted.
can any one suggest me how to restrict form from
Posting message on irc i always get "cannot send to channel".Why I
always get this?
channel #cakephp
--
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 qu
hi, i'm following the book "Apress, beginning cake php. From novice to
professional" I'm a little confused about this console stuff and using
cygwin or mingw. Is there anyway to run bake through cpanel?
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check ou
Hi there,
I've been a little bit messy about the charset I am actually using in
my application. Now, I decided on using uft8 and I set it in:
- my default view (for meta-data and html-header)
- core.php (App.encoding)
- database.php (encoding)
I am pretty sure that my mysql database is not reall
Hi,
I am trying to understand the way that cake nests related models when
doing a find using containable. This is my situation:
Order has many Sales
Sale belongs to Product
Sale belongs to Order
Product has many ProductImage
Product hasAndBelongsToMany Category
Category HABTM Product
ProductImage
Thank you ShadowCross,
I do some other test and I discover that if I call the function from
URL it works and the Security::cipher() and the Security.salt is set ,
but if I call the function from an other controller it doesn't work
and the Security.salt is set but the Security::cipher() is empty a
HI All,
i am trying to generate XML template on my report generated data.
the stuff related to generate XML i keep in view page as below.
$store['st']['store_type']);
App::import('Helper', 'Xml');
App::import('Core', 'File');
$xml = new XmlHelper();
Thanks beforeRender worked.
Like you said maybe i was misunderstanding the use of afterFilter.
On Mon, Mar 14, 2011 at 12:09 AM, hunny wrote:
> Not sure about the afterFilter function. Are you sure this is being
> invoked automatically?
> Otherwise you can probably right the same logic in before
Not sure about the afterFilter function. Are you sure this is being
invoked automatically?
Otherwise you can probably right the same logic in beforeRender
Function.
On Mar 14, 6:51 am, cake-learner wrote:
> I set up my app object in both beforeFilter and afterFilter callback
> functions
>
> class
57 matches
Mail list logo