Re: jQuery UI Datepicker not working

2009-04-14 Thread Marcin Domanski
Hey, getfirebug.com and look at the console/parse output HTH, -- Marcin Domanski http://kabturek.info On Tue, Apr 14, 2009 at 19:44, cpeele wrote: > > > Hey guys, > > I'm running CakePHP 1.2 and am trying to use the jQuery UI Datepicker > but I'm running in

Re: how to map enums with strings

2009-03-29 Thread Marcin Domanski
set the "translation" array in the model (MyModel->myFieldValues) and in afterFind callback change the value of the enum for the string, enums are evil btw :) -- Marcin Domanski http://kabturek.info On Sun, Mar 29, 2009 at 18:09, aman batra wrote: > > actually i wanted so

Re: auth with different filad names

2008-10-08 Thread Marcin Domanski
give me a break - do some searching. AT LEAST look at auth page in cookbook : book.cakephp.org . -- Marcin Domanski http://kabturek.info On Wed, Oct 8, 2008 at 9:56 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Is it possible to use auth component if my username's file

Re: Release: CakePHP RC3 - The RC of Triumph!

2008-10-07 Thread Marcin Domanski
its not a 'poll' problem. Cake uses tests and include them so people can contribute tests , adding another obstacle for them (downloading testsuite etc) is not good. Why the tests are a problem for you ? can't you rm them if you dont need them ? i can't see where is th

Re: Using the e-mail component in a shell script

2008-10-06 Thread Marcin Domanski
$did->you('search', 'bakery', '?'); -- Marcin Domanski http://kabturek.info On Mon, Oct 6, 2008 at 8:42 PM, Adrian <[EMAIL PROTECTED]> wrote: > > Hi > > I have a shell script which I want to run once a day as a cron job > which reads i

Re: Manual Search Not Working?

2008-10-02 Thread Marcin Domanski
Hey, thanks for the info , we know about it and working on solving the search issue. -- Marcin Domanski http://kabturek.info On Thu, Oct 2, 2008 at 11:10 AM, Kanten <[EMAIL PROTECTED]> wrote: > > I've noticed this as well. And as I wrote in another post the add > com

Re: Documentation - Cakes bad side

2008-10-02 Thread Marcin Domanski
im ashamed im always so easily provoked by trolls :) -- Marcin Domanski http://kabturek.info On Thu, Oct 2, 2008 at 11:16 AM, Marcin Domanski <[EMAIL PROTECTED]> wrote: > You expect right - what is complaining without helping ? useless whining... > here is your label : http://book

Re: Documentation - Cakes bad side

2008-10-02 Thread Marcin Domanski
x27;t expect much if you don't give anything... There where many of your kind here before and they just wrote the same as you and faded away... (you can search the group if you like) -- Marcin Domanski http://kabturek.info On Thu, Oct 2, 2008 at 10:48 AM, leberle <[EMAIL PROTECTED]> wrot

Re: sending mail through google server using EMail component

2008-10-01 Thread Marcin Domanski
same thing using swift mailer but 100% compatible with your actual code (just add smtpOptions['type'] = 'tls' or 'ssl' to your array with username/pass) http://www.assembla.com/wiki/show/swift_email_component HTH, -- Marcin Domanski http://kabturek.info On Wed, O

Re: KTML Editor

2008-09-12 Thread Marcin Domanski
On Fri, Sep 12, 2008 at 11:24 PM, Jon Bennett <[EMAIL PROTECTED]> wrote: > >> man that darn google always so fast with an answer... > > Nate missed a crucial part of the request, they asked for the reply to > be sent offlist to just them... :p yeah you can't get any decent support here ;) --~--

Re: Localizing autherror and loginerror

2008-09-12 Thread Marcin Domanski
why not translate these in beforeRender ? :) HTH, -- Marcin Domanski http://kabturek.info On Fri, Sep 12, 2008 at 8:28 AM, David C. Zentgraf <[EMAIL PROTECTED]> wrote: > > I had the same problem a while back, search the group for it. > The problem is that the first time a tran

Re: Transaction in cakephp is just for one table?

2008-09-11 Thread Marcin Domanski
Please - did you even look at the api ? Look what commit and rollback do - its very simple. http://api.cakephp.org/1.2/dbo__source_8php-source.html#l01529 -- Marcin Domanski http://kabturek.info On Thu, Sep 11, 2008 at 7:09 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > we

Re: Caching ACL in Session

2008-09-10 Thread Marcin Domanski
hp.org/1.2/class_auth_component.html#078aa537197139b444bc51826cfad95e http://api.cakephp.org/1.2/auth_8php-source.html#l00055 HTH, -- Marcin Domanski http://kabturek.info On Wed, Sep 10, 2008 at 10:44 PM, Marcus J. Ertl <[EMAIL PROTECTED]> wrote: > > Hi! > > I'm just trying to cache

Re: Bakery Plan

2008-09-10 Thread Marcin Domanski
:48c51df7-4fd4-4906-8b1f-6ed64834cda3 -- Marcin Domanski http://kabturek.info On Wed, Sep 10, 2008 at 10:30 AM, Liebermann, Anja Carolin <[EMAIL PROTECTED]> wrote: > > > I would like a Death-by-chocolate cake. Brownies are also strongly > appreciated! > > Anja > >

Re: Cake and oracle (Call to undefined method DboOracle::fetchResult())

2008-09-10 Thread Marcin Domanski
you should use the SVN version (the brnaches one) or the nightly HTH, -- Marcin Domanski http://kabturek.info On Tue, Sep 9, 2008 at 9:42 PM, Anthony Smith <[EMAIL PROTECTED]> wrote: > > I was following along a cake tutorial and I get this message: > Fatal error: Call to u

Re: soap on cake 1.2

2008-09-08 Thread Marcin Domanski
it's rather hard to see any error(whats going on) with debug set to 0... -- Marcin Domanski http://kabturek.info On Mon, Sep 8, 2008 at 10:40 AM, . <[EMAIL PROTECTED]> wrote: > I've also been trying to follow this tutorial and integrate with cake, but > without success

Re: Schema Could Not Be Loaded

2008-09-07 Thread Marcin Domanski
, -- Marcin Domanski http://kabturek.info On Sat, Sep 6, 2008 at 9:21 PM, equestrianerd <[EMAIL PROTECTED]> wrote: > > Are there any other ways to figure out/solve this issue? I have cake/ > console in my path, so I can run it from anywhere. After adding a > column to my users

Re: Newlines with the Email component

2008-09-06 Thread Marcin Domanski
i belive you should pay more attantion ;) greets, -- Marcin Domanski http://kabturek.info On Fri, Sep 5, 2008 at 5:38 PM, Arak Tai'Roth <[EMAIL PROTECTED]> wrote: > > I believe I said I had tried that in my above explanation. > > On Sep 3, 6:03 pm, "Marcin Domansk

Re: Haml and Sass for CakePHP

2008-09-05 Thread Marcin Domanski
http://bakery.cakephp.org/articles/view/haml-markup-haiku its old but you get a general idea. i dont know about sass. i dont think phphaml has support for it. HTH, -- Marcin Domanski http://kabturek.info On Fri, Sep 5, 2008 at 5:57 AM, Ryan <[EMAIL PROTECTED]> wrote: > > Hello a

Re: Newlines with the Email component

2008-09-03 Thread Marcin Domanski
try $data .= 'Business: ' . $this->data['Contact']['business'] . "\n" -- Marcin Domanski http://kabturek.info On Wed, Sep 3, 2008 at 9:17 PM, Arak Tai'Roth <[EMAIL PROTECTED]> wrote: > > I have been spending some time with this

Re: ACL and non CRUD actions

2008-09-03 Thread Marcin Domanski
and btw you know you arent restricted to "create read update delete" ? you can add your own fields like _admin to the db table and use it too /me goes to update the book -- Marcin Domanski http://kabturek.info On Wed, Sep 3, 2008 at 1:47 AM, Juan Luis Baptiste <[EMAIL PROT

Re: AND/OR fails

2008-08-29 Thread Marcin Domanski
yeah - drop the AND - leave just 2 arrays array('or' => array(array(), array())) -- Marcin Domanski http://kabturek.info On Fri, Aug 29, 2008 at 1:22 PM, zpon <[EMAIL PROTECTED]> wrote: > > Oh, I see, any ideas of how to do it then? > > On 29 Aug., 12:3

Re: Create links to navigate back to last visited page

2008-08-25 Thread Marcin Domanski
. -- Marcin Domanski http://kabturek.info On Mon, Aug 25, 2008 at 12:07 PM, clemos <[EMAIL PROTECTED]> wrote: > Hi draikin > > I think we can consider CakePHP actually "needs" Javascript. > Of course you can use Cake to develop javascript-free apps, but lots > of Cake fe

Re: Auth Component admin login redirect for unauthorized page access

2008-08-24 Thread Marcin Domanski
controller' => 'mainpage', > 'action' => 'home'); > $this->Auth->allow('home'); > $this->Auth->authorize = 'controller'; > $this->set('loggedIn', $this->Auth-

Re: Specific Directories

2008-08-18 Thread Marcin Domanski
1.in production you document root should point to app/webroot. 2. if you have a directory in app/webroot cake wil show that directory first insted of trying to find a controller for it HTH, -- Marcin Domanski http://kabturek.info On Mon, Aug 18, 2008 at 9:49 PM, Arak Tai'Roth <[EMAIL P

Re: Bake and MySQL problems

2008-08-18 Thread Marcin Domanski
Hey, probably (99%) you PHP CLI doesnt have mysql extension loaded . find the php.ini responisble for cli and uncomment the mysql extension lines. -- Marcin Domanski http://kabturek.info On Mon, Aug 18, 2008 at 3:51 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi everyo

Re: XML dbo driver

2008-07-21 Thread Marcin Domanski
okok maybe not weeks ;) you can use the buil in XML class.. but still using mysql and/or sqlite is cheap (as in maintainance etc) -- Marcin Domanski http://kabturek.info On Mon, Jul 21, 2008 at 5:51 PM, James K <[EMAIL PROTECTED]> wrote: > > It's going to take you wee

Re: $form->create() suggestion? Definitely seems like improper behavior

2008-07-20 Thread Marcin Domanski
have it. > Another example of what seems to be improper behavior (or bad logic) > is /users/login. I go to that and it's /users/add. Ok, so let's > specify the url: [snip] > create('Users', '/login'

Re: XML dbo driver

2008-07-20 Thread Marcin Domanski
Hey, Why not use sqlite ? Apart from that mysql is IMO a low cost/maintain solution and is probably on every hosting server. -- Marcin Domanski http://kabturek.info On Sun, Jul 20, 2008 at 6:29 PM, Balanza <[EMAIL PROTECTED]> wrote: > > Hi, > I'm creating a very small w

Re: What happens with CakePHP Cookbook?

2008-07-18 Thread Marcin Domanski
Hey, guys - no worries :) it will be working soon.For the time beeing use the all-in-one or search. I can only say that after this if there aren't any more pressing things - ill work on the offline /pdf version. hang on there. -- Marcin Domanski http://kabturek.info On Fri, Jul 18, 2008

Re: What happens with CakePHP Cookbook?

2008-07-17 Thread Marcin Domanski
Hey. sorry - we had some problems with the database. We're working on it so it should be back to normal soon. For the time beeing use the search to find the sections (yeah its a pain but its better than nothing :) -- Marcin Domanski http://kabturek.info On Thu, Jul 17, 2008 at 11:

Re: Test Suite: parsing a CSV file, where to store file?

2008-07-16 Thread Marcin Domanski
a and setup/creation of fake or mock objects " I would also put it in fixture folder. I wouldn't put it out side of tests/ folder (one should keep everything in one place ;) You can also create a seperate folder in the tests dir... -- Marcin Domanski http://kabturek.info On Wed, Jul 1

Re: transaction

2008-07-13 Thread Marcin Domanski
Maybe your database doesnt support transactions ? -- Marcin Domanski http://kabturek.info On Sun, Jul 13, 2008 at 10:39 AM, . <[EMAIL PROTECTED]> wrote: > I have the following transaction, but even on errors, it does not rollback. > Why? > > $this->List->begin(

Re: Sending DATE_SUB as argument in a Between query?

2008-07-12 Thread Marcin Domanski
hey when you use the -! operator you see the deprecated message that unescaping isn't supported - use query or overload dbo_your_db_engine (look how it was implemented before) -- Marcin Domanski http://kabturek.info On Sat, Jul 12, 2008 at 9:12 AM, aranworld <[EMAIL PROTECTED]> wrot

Re: Documentation

2008-07-08 Thread Marcin Domanski
Hey, If you want to write it - go for it! :) Just suggest a new section and im sure _psychic_ will apreciate all the help. thanks, -- Marcin Domanski http://kabturek.info On Tue, Jul 8, 2008 at 6:34 PM, Howard Glynn <[EMAIL PROTECTED]> wrote: > > I think it might be most useful if

Re: Documentation

2008-07-08 Thread Marcin Domanski
Hey, > A better search function for the cookbook would be nice. It was tested for some time on the dev book and know it's live :) plus some other goodies. -- Marcin Domanski http://kabturek.info --~--~-~--~~~---~--~~ You received this message because

Re: schema shell problem

2008-07-05 Thread Marcin Domanski
e the situation where my schema is different to >> my DB and to use 'cake schema run update' to update my DB. >> >> Does that make sense? >> > > > > -- Marcin Domanski http://kabturek.info --~--~-~--~~~---~--~~

Re: schema shell problem

2008-07-04 Thread Marcin Domanski
users is up to date. > End update. > -- > > Nothing changes in the database! I except the users table to have the > nickname column added but it doesn't. > > Anybody have this problem? Any ideas how to fix this? I'd really like > to use this feature of Cak

Re: possible bug? validation URL rule

2008-07-03 Thread Marcin Domanski
'allowEmpty' => false, >'message' => 'URL > error') >); > > The same strings with http:// before, like http://ww.domain or > http://ww.domain.com are well filtered. > > It

Re: Email component won't send

2008-07-03 Thread Marcin Domanski
> > > > > > > ''; >> > > > > > > > > $this->Email->return = No Reply >> > > > > > > > > ''; >> >> > > > > > > > > changed to this: >> >> > > > >

Re: dompdf in CakePHP

2008-06-30 Thread Marcin Domanski
t"; >> $htm .= "Sample"; >> $htm .= ""; >> $dompdf = new DOMPDF(); >> $dompdf->load_html( $htm ); >> $dompdf->render(); >> $dompdf->stream( "sample.pdf" ); >>

Re: Complex password? on bakery?

2008-06-28 Thread Marcin Domanski
t; http://www.axishift.com > > Security Is A Series Of Well-Defined Steps > chmod -R 0 / ; and smile :) > > > -- Marcin Domanski http://kabturek.info --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Googl

Re: Release: Some RC2 Sweetness

2008-06-27 Thread Marcin Domanski
entina. Mariano > has been planning a great event for everyone and I can only imagine > that summertime in South America will be a perfect place to share our > stories about Cake. > > Happy Baking. > > > [1] http://cakeforge.org

Re: Cakephp 1.2 l10n and i18n - how to switch current language?!

2008-06-26 Thread Marcin Domanski
gt; > On Wed, Jun 25, 2008 at 3:02 PM, Pento <[EMAIL PROTECTED]> wrote: >> >> > > > Hello, everybody! >> >> > > > How can I control current langauge for l10n and i18n in my controller? >> >> > > $this->Session->write('Conf

Re: content auth

2008-06-22 Thread Marcin Domanski
ontent under it. > > How would i restrict access to all other than their own article and > subitems? > > Regards, > Bjarte > > > > -- Marcin Domanski http://kabturek.info --~--~-~--~~~---~--~~ You received this message because you ar

Re: inserting more layers into cake php

2008-06-21 Thread Marcin Domanski aka kabturek
hey On Jun 20, 4:24 pm, Ian Zepp <[EMAIL PROTECTED]> wrote: > Unlike Zend (with uses an Action suffix to designate controller > actions), Cake doesn't have any such thing and instead uses a blacklist > of 'private' controller actions (defined in the dispatcher). We don't ? We've got something tha

Re: have any project source code using CakePHP

2008-06-21 Thread Marcin Domanski
ginner of cakephp. Now i need a prject which has completed > using CakePHP. Specially I m working on e-mail and chat management web > application. So if there have any source code (using CakePHP) plz send > me the link to download. > > Cheers > > > >

Re: No model use in components?

2008-06-21 Thread Marcin Domanski
a trap as future versions of cake may lose model > access for design reasons. > > Thank you! > > > > -- Marcin Domanski http://kabturek.info --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePH

Re: email headers visible in content of message?

2008-06-19 Thread Marcin Domanski
lem, but when I send it from >> > my remote host using whatever mailer they have, that is when I get the >> > problems cropping up. >> >> > -Aran >> >> > On Jun 19, 5:59 am, ianh <[EMAIL PROTECTED]> wrote: >> >> Now you come to mention i

Re: Sharing tmp with other applications

2008-06-19 Thread Marcin Domanski
t;> wrote: >> >> > Hi Dave thanks for checking. >> >> > I'm not using mod_rewrite, and I've just realised this means that it >> > will actually get its folder structure set up by the index.php in the >> >

Re: Advanced Sorting on an unexisting column

2008-06-13 Thread Marcin Domanski
::paginator() > > Is there any workaround I can do? > assuming popularity is returned by this $this->Link- >>getPopularity($linkId) > > Thanks, > Abhimanyu Grover > > > -- Marcin Domanski http://kabturek.info --~--~-~--~~~---~--~--

Re: How to change the argument separator for named params?

2008-06-13 Thread Marcin Domanski
arator) in >> app_controller.php, but this doesn't change anything for me. I also >> stumbled across Router::connectNamed with the option to set the >> 'separator' key/value, but I'm not sure if this will do what I want. >> If it is what I need, then I

Re: Discussion on optimizing-cakes-performance

2008-06-11 Thread Marcin Domanski
urrent state: the console indexer/searcher is working the behavtior - searching is working (without pagination) Now i'm working on highlighting and limiting the text that is returned for the results. -- Marcin Domanski http://kabturek.info --~--~-~--~~~---~--~

Re: Warning (2): array_merge() [function.array-merge]: Argument #1 is not an array [CORE/cake/basics.php, line 528]

2008-06-11 Thread Marcin Domanski
;findByName($tag); >> >> > if(is_array($current_tag)) { >> >> > $this->data['Tag']['Tag'][] = >> > $current_tag['Tag']['id']; >> >> > } else { >> >> >

Re: Run bake.php on Linux

2008-06-11 Thread Marcin Domanski
ha! - i need my morning coffee ;) Daniel is right here. On Wed, Jun 11, 2008 at 9:51 AM, Marcin Domanski <[EMAIL PROTECTED]> wrote: > try ./bake in the console dir (and add it to your PATH after it works) > > On Wed, Jun 11, 2008 at 6:41 AM, Marcos Aruj <[EMAIL PROTECTED]

Re: Run bake.php on Linux

2008-06-11 Thread Marcin Domanski
to run it. > Any ideas? > > Thanks, > > Marcos > > > > -- Marcin Domanski http://kabturek.info --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group,

Re: problem with api.cakephp.org

2008-06-10 Thread Marcin Domanski
the problem > > On Tue, Jun 10, 2008 at 2:49 PM, Marcin Domanski <[EMAIL PROTECTED]> wrote: >> >> ok, don't want to be harsh but c'mon - you're a developer an you're >> using ie6 to something beside testing ? >> Ie6 is the source of all evil o

Re: problem with api.cakephp.org

2008-06-10 Thread Marcin Domanski
er and a blank > page. Does anyone else with IE6 see this problem? Or is this specific to my > version of IE6? Wierd... > > On Tue, Jun 10, 2008 at 1:41 PM, . <[EMAIL PROTECTED]> wrote: >> >> does any one else see just a blank page in

Re: Discussion on optimizing-cakes-performance

2008-06-10 Thread Marcin Domanski
index requires the "MATCHES" >> function in the SQL, it doesn't get used if you do a "WHERE foo=" type >> query. I don't see any code in CakePHP that uses the MATCHES function. >> > >> > > > > -- Marcin Domanski http://kabturek.i

Re: Script protection

2008-06-09 Thread Marcin Domanski
ent > him from reusing it (EULA) > 2- Tracing the stolen scripts and open a case in the court. > 3- Using Zend Encoder to encode it (but it's breakable !!) > 4- Some PHP tricks like passing a parameter to delete some files if > the script is stolen >

Re: CustomQuery with Pagination

2008-06-07 Thread Marcin Domanski
_2controller_8php-source.html#l00887 -- Marcin Domanski http://kabturek.info --~--~-~--~~~---~--~~ 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.c

Re: Strict or Pretty? We're looking for a few good opinions

2008-06-07 Thread Marcin Domanski
ries are a pain) but I would prefer to maintain code that is strict - that would show the maturity of both php and cakephp. greets, -- Marcin Domanski http://kabturek.info --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Group

Re: UTF8 vs Dreamweaver

2008-06-07 Thread Marcin Domanski
> Sorry, couldn't resist. EditorFlameWar over? ;o) It's never over! Vim FTW! -- Marcin Domanski http://kabturek.info --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To p

Re: Another "does cake fit my needs" question

2008-06-06 Thread Marcin Domanski
As far as i like the EmailComponent - it's not suitable for mass-mailing (we're talking about 10 000s of emails) and wasn't designed to be.Cake is great to build a fronted, prepare the data etc. You can use SwiftMailer - it's a decent library that has _many_ options for mass mailing - using it wit

Re: how can i download the cakephp cookbook(menu)

2008-06-04 Thread Marcin Domanski
t from a pdf version ? > > Something that used the css, and that didn't show two versions of the > code listings. Something that looks like a document instead of a > readme. Something like v1.1. > > > > > -- Marcin Domanski http://kabturek.info --~--~-~--~

Re: how can i download the cakephp cookbook(menu)

2008-06-04 Thread Marcin Domanski
d then "print" it as a >> PDF (or simply store that page locally). >> >> Hope that helps! >> >> -- >> Daniel Hofstetterhttp://cakebaker.42dh.com > > > -- Marcin Domanski http://kabturek.info --~--~-~--~~~---~--~~

Re: PHP Benchmark

2008-06-04 Thread Marcin Domanski
When your big collation function that loops over millions of > elements is running slowly, then it might be worth looking into these > kind of optimisations. > > > > On Jun 4, 1:21 am, "Marcin Domanski" <[EMAIL PROTECTE

Re: External Applications in subdirectories?

2008-06-03 Thread Marcin Domanski
my sanity. > Siebren Bakker(Aevum Decessus) > > > -- Marcin Domanski http://kabturek.info --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake

Re: Recommendations for changes to Cake manual.

2008-06-03 Thread Marcin Domanski
t; more important at this stage just to get everything documented. > There's so much new stuff going into 1.2 that it's hard to keep up. true -- Marcin Domanski http://kabturek.info --~--~-~--~~~---~--~~ You received this message because you are s

Re: PHP Benchmark

2008-06-03 Thread Marcin Domanski
ops instead of > foreach. Should I submit a patch for that? :) > > > -- Marcin Domanski http://kabturek.info --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this

Re: Recommendations for changes to Cake manual.

2008-06-02 Thread Marcin Domanski
be created :) if not - don't think that stuff will be implemented even with feedback. greets, -- Marcin Domanski http://kabturek.info --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group.

Re: CMS?

2008-06-02 Thread Marcin Domanski
Check out Wildflower: http://wf.klevo.sk/ On Mon, Jun 2, 2008 at 4:24 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > What Cake CMS Forge projects have people used with good results? > > > -- Marcin Domanski http://kabturek.info --~--~-~--~~

Re: ACL or just Auth?

2008-06-01 Thread Marcin Domanski
t alone is sufficient for > user management/permission or should I use ACL also? > > I find it hard to get ACL to work so if Auth is suitable I'll only go > for Auth. > > Thanks in advance. > Cheers. > > > > -- Marcin Domanski http://kabturek.info --~--~-

Re: 1.2 version 7079 quick question on mysql conditions

2008-06-01 Thread Marcin Domanski
tions containing >. < or LIKE to > work. This could easily be me being an idiot so has anybody else seen > anything like this? > > As an example, see http://bin.cakephp.org/saved/32951 where I have > pasted in a method and the SQL output I get from that method. > > If an

Re: rendering views inside a view

2008-05-30 Thread Marcin Domanski
this, or am I limited to rendering one additional view? > > // index.ctp > > render("calendar"); ?> // renders fine > render("graph"); ?> // just renders "1" > > > > -- Marcin Domanski http://kabturek.info --~--~-~--~~--

Re: Different performance between 1.1 and 1.2

2008-05-30 Thread Marcin Domanski
r $uses=array('Ente','Network','User','Team'); this is certainly_not_ good coding practice especially if they are associated. you only need User there - and since its default then you can drop the whole line. $this->Model->

Re: Different performance between 1.1 and 1.2

2008-05-30 Thread Marcin Domanski
rade to 1.2 because it is light-years ahead of 1.1 in available features. > > Now get off my lawn! Give him a beer! Just to elaborate on twitter problems if anyone is interested in some good reads: http://www.hueniverse.com/hueniverse/2008/03/on-scaling-a-mi

Re: Are recursive models possible without a join table?

2008-05-18 Thread Marcin Domanski
array(className = 'Comment')) and the same with belongsTo 'Parent' -- Marcin Domanski http://kabturek.info --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to t

Re: Does CakePHP 1.2 Email SMTP suport TLS/SSL?

2008-05-18 Thread Marcin Domanski
ler logic there ( for ex in the __swift function) and use $this->MyEmail->sendAs = 'swift'; I used SwiftMailer for it's ability to handle larg batches of emails etc greets, -- Marcin Domanski http://kabturek.info --~--~-~--~~~---~--~~ You rec

Re: db conventions

2008-05-18 Thread Marcin Domanski
able > in my posts table there are three FK fields > createdby > modifiedby > accessedby > > all three fields point to users id, how can this table be designed in > mysql and the model in cakephp > > ps. i am brand ne to cakephp, sorry for the silly question. > > &g

Re: Testing Frameworks

2008-05-18 Thread Marcin Domanski
truly beginning to consider test driven development. > > SimpleTest is the preferred framework I understand. I just wanted to > see if anyone had any thoughts or experiences with phpspec. > > Thank you! > > > -- Marcin Domanski http://kabturek.info --~--~-

Re: RFC: cake deploy

2008-05-16 Thread Marcin Domanski
uot; .. > Tmp clean is also essential as well maybe as database choice..and > debug mode. > > On May 16, 10:23 pm, "b logica" <[EMAIL PROTECTED]> wrote: >> On Fri, May 16, 2008 at 1:52 PM, Marcin Domanski <[EMAIL PROTECTED]> wrote: >> >> > you

Re: Can't get Save() to save certain fields

2008-05-16 Thread Marcin Domanski
($x) && ($whitelist && in_array($x, > $fieldList) || !$whitelist)) { > > and it fails for the fields not in there. So that makes sense. But the > ridiculously frustrating thing is that the fields *are in the > database*. In the table that belongs to the model. S

Re: 1.2 auth missing controller/action/view - redirect to login

2008-05-16 Thread Marcin Domanski
x27;); > function beforeFilter(){ > if (isset($this->Auth)) { > $this->Auth->userModel = 'User'; > $this->Auth->userScope = array('User.disabled' => 0); > $this->Auth->loginAction = '/users/login'; > $this->Auth->

Re: RFC: cake deploy

2008-05-16 Thread Marcin Domanski
to accept any of your ideas. :) > > -- > Chris Hartjes > Internet Loudmouth > Motto for 2008: "Moving from herding elephants to handling snakes..." > @TheKeyBoard: http://www.littlehart.net/atthekeyboard > > > > -- Marcin Domanski http://kabturek.info --~

Re: RFC: cake deploy

2008-05-16 Thread Marcin Domanski
d up, of course. This would > make it much easier to update the files with new strings. poedit - update catalog from pot file -- Marcin Domanski http://kabturek.info --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Grou

Re: Paginator and subdirectory

2008-05-16 Thread Marcin Domanski
Andrade >>> > <[EMAIL PROTECTED]> wrote: >>> >> >>> >> >>> >> To solve my issue, I've added the following lines: >>> >> >>> >> if(strpos($url['action'], >>> >

Re: Auth/Acl, limited accounts and endless redirects

2008-05-14 Thread Marcin Domanski
accounts are being re-routed in circles. > If I try to access /users/ or /users/index directly it works great, > the user is redirected to his own profile page. > > Any ideas...? > > Chrs, > Dav > > > > -- Marcin Domanski http://kabturek.info --~--~-~--~

Re: CakePHP error when upload to server, pls, help me.

2008-05-14 Thread Marcin Domanski
. :( >I can't edit http.conf file in apache folder on this server, I > uploaded .htaccess from Official CakePHP page to this server, too, but > I can't solve this problem. > Who can help me to solve this? Thanks a lot. > Sorry

Re: Cookbook overhaul proposal

2008-05-12 Thread Marcin Domanski aka kabturek
You can use one of the workarounds presented here on the group for the pdf version but you may expect improvements soon (in speed and in other formats) On May 12, 7:51 pm, Mathew Nik Foscarini <[EMAIL PROTECTED]> wrote: > While this subject is open. > > I would like to be able to download the man

Re: Cake Installation - sorry to have to ask

2008-05-12 Thread Marcin Domanski
ppreciate if someone can help me asap. > Thanks, > Rubin > PS If someone wants to give me their phone number, I would even call > them. > > > > -- Marcin Domanski http://kabturek.info --~--~-~--~~~---~--~~ You received this message beca

Re: Custom tags no longer working in 1.2 Beta...has something changed?

2008-05-11 Thread Marcin Domanski
rated markup. > > In 1.2 Beta, it no longer works. It simply isn't applying my custom > tags. Has this changed from pre-beta to beta...or is it simply broken > now? > > > -- Marcin Domanski http://kabturek.info --~--~-~--~~~---~--~

Re: Sending POST to Cake website via PHP

2008-05-10 Thread Marcin Domanski
can use anything :) bash +wget , php, python, perl (if you're into tortures ;) [1] http://linuxreviews.org/man/wget/ -- Marcin Domanski http://kabturek.info --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google G

Re: OT: Shitty Community

2008-05-09 Thread Marcin Domanski
ting the greatest framework > for PHP !! : ) Cause the people that can answer the questions would not be signed on the group ;) The core team IS focused :) ok you can let this thread die already. peace -- Marcin Domanski http://kabturek.info --~--~-~--~~~---~--~~ Y

Re: Sphinx anyone?

2008-05-09 Thread Marcin Domanski
on > where to start from...? > Thanks... > Burak > > [1] http://www.sphinxsearch.com > > > > > -- Marcin Domanski http://kabturek.info --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "C

Re: DB down, don't panic

2008-05-08 Thread Marcin Domanski
ed :D) there are some great stories/advices on http://freelanceswitch.com/ - their strips are awesome :) -- Marcin Domanski http://kabturek.info --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" gr

Re: Session Lost In IE

2008-05-08 Thread Marcin Domanski
> { > tool.Reload(); // A java script function > } > " ; > ?> > > it would be very helpful if someone has experienced the same problem, or > have encountered the same problem in IE where session gets lost after reload > function, please share your

Re: Cake best practices for mobile browser development

2008-05-08 Thread Marcin Domanski
ts good to assume that automatic doesnt work for everyone and it would be good to give people the alternative so they can force the mobile version. Btw the browser check isn't so resource intensive :) its one regexp. -- Marcin Domanski http://kabturek.info --~--~-~--~~---

Re: Open Flash Charts in Cake

2008-05-08 Thread Marcin Domanski
; inside. Has any one used the Open Flash Charts code in Cake? > > > -- Marcin Domanski http://kabturek.info --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send

Re: Cake best practices for mobile browser development

2008-05-08 Thread Marcin Domanski
worthwhile to setup a WURFL-based browser checker as a vendor? isMobile checks the user agent you can look what UA it does support in the code. WURFL is way more advanced - depends if you need to check for specific functions. -- Marcin Domanski http://kabturek.info --~--~-~--~~--

  1   2   >