Re: How to change $model-_schema in 2.0

2012-01-06 Thread wirtsi
the model's schema? wirtsi On 5 Jan., 17:16, José Lorenzo jose@gmail.com wrote: Expose a method in your model having that line you want to execute. You will be able to execute the method from outside the model instance. -- Our newest site for the community: CakePHP Video Tutorials http

How to change $model-_schema in 2.0

2012-01-05 Thread wirtsi
... but still, how can I achieve this? Thanx in advance wirtsi -- 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

FireCake for normal html requests

2011-11-24 Thread wirtsi
. I also tried moving line 2 and 3 to beforeFilter in AppController but this also didn't do anything ... Any clues what I'm doing wrong? All the best wirtsi -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http

Re: problem with facebook-like ajax windows submitting forms

2009-09-18 Thread wirtsi
I think you are running into the same-origin-issue ... most browsers only allow ajax-requests so the same domain. Check out this post http://www.petefreitag.com/item/703.cfm With iframes you can post data freely to any other domain. I'd just like to mention here, that if you want to post

Re: Plugin CSS issue

2009-09-18 Thread wirtsi
around hacking all the paths wirtsi On 15 Sep., 07:21, womble l.e.ad...@gmail.com wrote: Should add, this is all inside a .ctp file (it will be the GUI with Ajax calls when its finished). --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: Cake not saving CREATED and MODIFIED field to the join table when saving related records

2009-09-11 Thread wirtsi
Hi you need to set it as DEFAULT NULL `modified` datetime DEFAULT NULL, wirtsi On 9 Sep., 15:21, doze doze...@gmail.com wrote: Hello, The problem is in the title Cake not saving CREATED and MODIFIED field to the join table when saving related records, here's the models involved

Re: Has anyone had success using Ext JS 2.2.2 and a grouping grid?

2009-09-01 Thread wirtsi
Hey Frederik check out the replies I gave you on the blog post ... grouping is quite easy actually, all you need to do is change the datastore into a GroupingStore and give it a groupField (ie. what field to group by). Ext will take care of the rest ... wirtsi On 30 Aug., 07:00, FrederickD

Re: Announcing CakeXT: Bind CakePHP and ExtJS together

2009-08-31 Thread wirtsi
Hi Mark yes, that's very possible ... the panels are the bread and butter component of Ext. You can have them either managed by a layout manager or you can append them to any div you want. Check out the demos on the Ext site to see what else you can do with them ... wirtsi On 27 Aug., 08:04

Announcing CakeXT: Bind CakePHP and ExtJS together

2009-08-24 Thread wirtsi
:) Wirtsi --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google 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

Re: Debug Comment Data in JSON Results

2009-03-05 Thread wirtsi
you can also change the index.php file inside the webroot directory and comment out the execution time line at the end On 4 Mrz., 03:31, Alex alex.gibb...@gmail.com wrote: Ahh, I see. Didn't think to write the debug configuration based on the request. Annoying though that it appends that

MVC falling to pieces for modern AJAX apps

2008-11-30 Thread wirtsi
or code. How do I get these informations in there? So what do the gurus think of this? Any ideas how to keep all that JS code out of our views? Enjoy your weekends wirtsi --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: MVC falling to pieces for modern AJAX apps

2008-11-30 Thread wirtsi
to the models data. Thanks for your input wirtsi On 30 Nov., 16:07, James K [EMAIL PROTECTED] wrote: Strongly disagree. I'm in the middle of a massive CakePHP/ExtJS development and it works like a dream (To date: 40 controllers, 89 models). A lot of our controller actions simply return JSON

Re: howto chang table prefix on the fly

2008-10-24 Thread wirtsi
That sounds like a terribe design idea. Why don't you use the users id as foreign key in posts (ie user_id)? On 24 Okt., 09:34, paydjo [EMAIL PROTECTED] wrote: I build application for multi user that separate table for every user. there would be user1_posts, user2_posts, user3_posts,  ...,

Re: Pagination with Filter/Search Box

2008-04-30 Thread wirtsi
Use the link I posted Luke, it stores the search parameters in the session wirtsi On 30 Apr., 10:00, Kyle Decot [EMAIL PROTECTED] wrote: Thanks that worked great. I have one further question. How would I make the filter/search box stay populated with the search string that was entered

Re: Call by reference weirdness across Classes

2008-04-30 Thread wirtsi
I'd say cause you are already within you Bait class ... so $this-foo($xxx) should work On 29 Apr., 02:38, MikeK [EMAIL PROTECTED] wrote: Cmon guys help me out. Why does this not work in cakephp? --~--~-~--~~~---~--~~ You received this message because you are

Bug in Tree Behavior (fixed)

2008-04-15 Thread wirtsi
and the right values don't match any more. Am I missing something or is this really a bug? Wirtsi --~--~-~--~~~---~--~~ 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

Re: Pagination with Filter/Search Box

2008-04-08 Thread wirtsi
??? Wirtsi On 7 Apr., 18:07, Kyle Decot [EMAIL PROTECTED] wrote: I am creating a skatepark directory website, and I want to include a filter/search box where you can search parks by name, and filter by state, price, size, etc. Has anybody done anything similar, or have any suggestions on how to do

Re: Pagination with Filter/Search Box

2008-04-08 Thread wirtsi
Thanks mate :) wirtsi On 8 Apr., 14:59, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: see if anything in here helps you guys out: http://groups.google.com/group/cake-php/browse_thread/thread/5ebdcf11... On Apr 7, 12:07 pm, Kyle Decot [EMAIL PROTECTED] wrote: I am creating a skatepark directory

Re: behavior acts_as_list

2008-02-13 Thread wirtsi
way better. You'll find the behavior here http://bin.cakephp.org/view/1410543845 ... comments are very welcome wirtsi On 12 Feb., 19:09, sbeam [EMAIL PROTECTED] wrote: thanks for the explanation on calling Behaviors... On Feb 12, 9:20 am, grigri [EMAIL PROTECTED] wrote: This way

Re: behavior acts_as_list

2008-02-12 Thread wirtsi
Hi ... so I'll just go over to this thread with my problems :) Grigri, your code worked perfectly, drop the paste into behaviours, add var $actsAs = array('List'= array( 'scope'='jobcolumn_id',

Re: Best way to handle ordered entries in MySQL

2008-02-11 Thread wirtsi
UNIQUE then it would be quite a pain finding out if a jobcolumn_position really is unique ... Open for any suggestions ... Thanks in advance wirtsi On 11 Feb., 11:40, grigri [EMAIL PROTECTED] wrote: I use this:http://bin.cakephp.org/view/634962728 It's not based on the tree behavior

Best way to handle ordered entries in MySQL

2008-02-11 Thread wirtsi
to be terrible in style. Is there any other way to handle a situation like this nice and easy without hacks like this? It should be a something that is encountered often in web apps? Thanks in advance for any advices ... Best wishes wirtsi

Re: sessions being dropped on redirect or whenever i call a new page

2008-01-14 Thread wirtsi
Are you using IE? It silently drops the session if the hostname contains an underscore took me ages to find out why project_beta.domain.com wouldn't work ... wirtsi On 13 Jan., 15:50, Grainne [EMAIL PROTECTED] wrote: Hi, Hope you are all having enjoyable weekends... I'm certain I'm