Problem upgrading to cake 2.1

2012-03-05 Thread Felix
here wasn't any changes made to the AppHelper file in './lib/cake/view/helper' and changes to other files in the views folder between the two releases make no difference. Has anyone come across this problem? Thanks, Felix -- Our newest site for the community: CakePHP Video Tutorials

Re: ACL issue

2011-06-18 Thread Felix Fennell
Hi Don, Sorry for taking so long to reply (study commitments) basically your suggestion works brilliantly - I'm only annoyed I didn't realise your suggestion myself. Thanks again for saving me a lot of agro :) --Felix [My e-mail load: http://courteous.ly/AXc5sh] On Thursday, 5 May

ACL issue

2011-05-04 Thread Felix
me across this sort of problem before and able to outline their solution, or have I been an idiot and missed something really obvious. Sorry for such a long message, I didn't want to miss anything out - thanks in advance, --Felix Fennell -- Our newest site for the community: CakePHP Video Tuto

Re: Another routes problem

2010-09-15 Thread Felix
Sorry that was stupid - sorry for wasting your time! On Sep 14, 6:17 pm, cricket wrote: > You have a route for '/simulations/get/' but not '/simulations/get/*' > so Router is choosing the last one, '/simulations/*' which points to > 'view'. >

Another routes problem

2010-09-14 Thread Felix
url such as, /simulations/get/download:123/ payment:123 I want it to go to /simulations/get/download:123/payment: 123 but the router is sending me to /simulations/view/get/download:123/ payment:123 How can I fix this, it works fine for other actions, index and some prefixed actions (CRUD)

Re: Routing with prefixes not working

2010-09-13 Thread Felix Fennell
Hi, sorry for the late reply. The rules together seem to do the trick, everything works as I expect, thanks for your help. Felix On 10 September 2010 18:49, cricket wrote: > On Fri, Sep 10, 2010 at 3:55 AM, Felix wrote: >> Hi - just a quick question, >> >> I have a co

Routing with prefixes not working

2010-09-10 Thread Felix
')); But two things don't work: 1 - if I go to 'example.com/glossary' I get a missing controller error. (I thought it would go to 'example.com/terms/index'. 2 - The routing prefix generates the same missing controller error. I have set the routing prefix in core as

Re: relationship advice

2010-08-10 Thread Felix
x27;ve added an additional table to store the quantity and other info. Thanks for your quick replies, Felix On Aug 9, 6:59 pm, Andras Kende wrote: > Felix, > > for a simple cart not sure if habtm is needed... > > could be: > > products >         id | name | description | imag

relationship advice

2010-08-09 Thread Felix
rry but could you point out my idiocy! Thanks, Felix 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 to this group, se

Re: Auth config problem

2010-07-19 Thread Felix Fennell
Thanks very much for the code Cricket, it helped tonnes! I know have Auth functioning correctly - I still feel its a bit of a dark art but if it works it works. Anyway thanks again for your help. Felix On 19 July 2010 00:31, cricket wrote: > On Sun, Jul 18, 2010 at 4:47 AM, Felix Fenn

Re: Auth config problem

2010-07-18 Thread Felix Fennell
e password field I think contains the hashed password of the user account logging in. Thanks for the help so far, its annoying the things that you think are the easiest to implement are actually the hardest. Felix On 18 July 2010 09:37, Felix wrote: > Hi, > > I was under the impress

Re: Auth config problem

2010-07-18 Thread Felix
en someone logging in from "discussions/new" is going to be redirected to "accounts/view" rather than "discussions/new". I'm not really sure how that all works, so sorry if that makes no sense. Felix On Jul 17, 4:25 pm, cricket wrote: > On Sat, Jul 17, 2

Re: Auth config problem

2010-07-17 Thread Felix
Sorry just noticed a mistake, the database field for e-mail is named "email" NOT "e-mail" as originally posted. On Jul 17, 3:31 pm, Felix wrote: > Hi, > > I'm trying to add the Auth component to my app, > > I'm using a custom database/model calle

Auth config problem

2010-07-17 Thread Felix
for some reason always redirects back to the login page, or the login is nether actually being done. In regards to the '$this->Auth->fields = array('username'=>'email','password'=>'password');' bit in the app controller I'm unsure as

Re: Validation problem

2010-07-14 Thread Felix Fennell
Thanks grigri, cricket, I've got it working now - I worked out the "+" thing from a regex tutorial. On 14 July 2010 02:09, cricket wrote: > On Tue, Jul 13, 2010 at 2:57 PM, Felix Fennell > wrote: >> Removing the /i doesn't do anything unfortunately - I read the

Re: Validation problem

2010-07-14 Thread Felix Fennell
also allow spaces) I realise that I could use "/i" instead of the [a-zA-Z] bit but as its working I don't really want to mess it up. So thanks again to both McBuck DGAF and Dr. Loboto for your help in fixing this. Felix On 14 July 2010 14:44, McBuck DGAF wrote: > I would defer

Re: Validation problem

2010-07-13 Thread Felix Fennell
r and lowercase letters. Just so I'm not doing anything stupid, everytime I update the validation in the model and upload it, I then delete what ever files are in the /app/tmp/cache/models directory - is there anything else I need to do. Felix. On 13 July 2010 19:37, McBuck DGAF wrote: > I thoug

Re: Validation problem

2010-07-13 Thread Felix
#x27;/^[a-z][A-Z]$/i' --didn't work to: '/^[a-zA-Z]$/i' --didn't work I think there's something basic I'm missing here! As for the company name that still gives the same errors as before. Thanks for your help thus far, Felix. On Jul 13, 3:13 pm, McBuck DGAF wrot

Re: Validation problem

2010-07-12 Thread Felix
:39 pm, McBuck DGAF wrote: > Instead of: > > >                'rule' => array('custom' => > > '^[a-zA-Z]+(([\'\,\.\-][a-zA-Z])?[a-zA-Z]*)*$'), > > Could you try: > >                 'rule' => '^[a-zA-Z]+(([\&#x

Re: Validation problem

2010-07-12 Thread Felix Fennell
); } ?> == On 12 July 2010 14:39, McBuck DGAF wrote: > Instead of: > >>                'rule' => array('custom' => >> '^[a-zA-Z]+(([\'\,\.\-][a-zA-Z])?[a-zA-Z]*)*$'), > > Could you try: > >                'r

Validation problem

2010-07-11 Thread Felix
A-Z])?[a-zA-Z]*)*$'), 'message' => 'Names can only contain letters.', 'allowEmpty' => false ), 'company_name' => array( 'rule' => array('custom' =>

URL problem

2010-06-27 Thread Felix
y host provides for this type of thing, this works fine (I've made the modifications to the same index.php file as per the cookbook). The same problem occurs if I put cake in the same directory as /app. Sorry for such a long question but I wanted to be as clear as possible (probably left out somethi

CakePHP 1.3.2 fails with PHP 5.3.2

2010-06-18 Thread Rafael Felix Correa
model->{$assoc}; Maybe the PHP team has disabled the support for this type of call (the operator =&)? Can someone explain to me what's happening? Tks Rafael Felix Correa Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

Re: Problems with webroot folder - using advanced installation

2010-06-17 Thread Felix
"under the surface" > only /home/app[0|1]/webroot is public > > therefore no changes have to be made to any index.php or .htaccess > files > and you could use several domains or subdomains. > > On 17 Jun., 16:59, Felix wrote: > > > > > Hi, > > > I

Problems with webroot folder - using advanced installation

2010-06-17 Thread Felix
WWW_ROOT and WWWROOT_DIR but whatever change I make doesn't seem to have any effect to the URL the page generates. What must I set to make this work as it should? My current index.php (the webroot one) is located here: http://snipt.net/fenfe1/webroot-of-cakephp Sorry for such a long post bu

[SOLVED] CakePHP and Oracle 11g issues

2009-09-08 Thread Rafael Felix Correa
Hi everyone, I'm writing this post only as a resource for those that are trying to make CakePHP applications run over Oracle 11g. I noticed that dbo_oracle.php doesn't concatenate the host and port parameters to the third parameter on the ocilogon function (php.net/ ocilogon). The php.net page o

Re: Can't use the formHelper with in

2009-03-11 Thread 丁宇(Felix Ding)
Same here, any solutions? BTW, HtmlHelper works between and , it seems that only FormHelper doesn't work. On Jan 21, 10:46 am, maeto-lay wrote: > I try to change all of my pages to use the view caching feature of > cakephp. > The problem occurred when I try to useing the cache in the page that

Re: Unit testing in 1.1

2007-11-12 Thread Felix Geisendörfer
1.1. You should still be able to use PhpUnit or SimpleTest to hack something together of your own. -- Felix -- Blogger: http://www.thinkingphp.org/ Entrepreneur: http://www.posttask.com/ /-- currently in private beta, ask me for invite / password/ Freelancer: http://ww

Re: Clean Cake 1.1 sigfaults apache2

2007-11-05 Thread Felix Geisendörfer
Hey MaxDao, what PHP version are you on? -- Felix -- Blogger: http://www.thinkingphp.org/ Entrepreneur: http://www.posttask.com/ /-- currently in private beta, ask me for invite / password/ Freelancer: http://www.fg-webdesign.de/ AIM:theundefined87 Skype: TimeFor23

Re: Model Associations Misbehave (very interesting)

2007-11-04 Thread Felix Geisendörfer
r' => '', > 'foreignKey' => 'poster_id' >) > ); 'Usuario'? Change that to 'User' and try again. -- Felix -- Blogger: http://w

Re: MVC architecture

2007-10-31 Thread Felix Geisendörfer
certain amount of effort you made to find the answer to your question. Thanks, -- Felix -- Blogger: http://www.thinkingphp.org/ Entrepreneur: http://www.posttask.com/ /-- currently in private beta, ask me for invite / password/ Freelancer: http://www.fg-webdesign.

Re: Nightly builds

2007-10-25 Thread Felix Geisendörfer
Try `svn co https://svn.cakephp.org/repo/branches/1.2.x.x/` : ). -- Felix DanielMedia wrote: > Is this the correct url for downloading nightly builds? > > http://cakephp.org/downloads/index/nightly/1.2.x.x > > When I download the ".gz" file its only 1kb in size and whe

Re: pretty-print (indent) view output

2007-10-18 Thread Felix Geisendörfer
You heard of Firebug? -- Felix Rex wrote: > Hi, > > I see that in cakephp a view output is not properly indented. This > makes it very difficult to debug a problem. > I suggest that all cakephp (HTML) output should be indented properly > so that when we try to view-source using

Re: How to run a background process in CakePhp

2007-10-17 Thread Felix Geisendörfer
You might want to check out this extension if you you need things like this: http://www.vl-srm.net/doc/ However, you find it easier to have a queue table that is processed by a cron executed script for your background processing needs. -- Felix -- My Blog: http

Re: JQuery or Prototype

2007-10-02 Thread Felix Geisendörfer
the boundaries. If you want to do some readings on the jQuery community, the selector engine and some other experiences of mine with it, give this a try: http://thinkingphp.org/index.php?s=jquery HTH, -- Felix -- My Blog: http://www.thinkingphp.org My Business: htt

Re: How to access a controller action from an application not in cakephp structure

2007-09-23 Thread Felix Geisendörfer
Give this a try: http://www.thinkingphp.org/2006/08/15/the-ultimate-cakephp-bootstrap-technique/ -- Felix -- My Blog: http://www.thinkingphp.org My Business: http://www.fg-webdesign.de zonium wrote: > I have 2 applications: > - appA is built with cakephp 1

Re: Posting a form with a regular link

2007-09-21 Thread Felix Geisendörfer
t pops up a JS confirm() modal and then sends out an AJAX POST. This way you are protected from XSS while also having a very accessible site. If you want no confirmation then Tariques suggestion is the best solution. -- Felix -- My Blog: http://www.thinkingphp.org My B

Re: Complex Ajax question.

2007-09-19 Thread Felix Geisendörfer
ttr('id').split('-'); reserveSeat(data[0], data[1], function(response) { if (response.success == 'ok') { // ... } }); }); }); If you wonder why I got so detailed here is b/c I think

Re: Is this error related to PHP version?

2007-09-16 Thread Felix Geisendörfer
> If the code you pasted is the exact code you are using you are missing > the '>'. > > Code should be: > > if ($this->User->save($this->params['form')) Oh and you are also missing the ']' for accessing the params array, so try th

Re: CakePHP @ php|works

2007-09-12 Thread Felix Geisendörfer
which is in Northeast Atlanta (~20-25min drive from the conference). Chris: So are you coming anyway or not? -- Felix -- My Blog: http://www.thinkingphp.org My Business: http://www.fg-webdesign.de Larry E. Masters aka PhpNut wrote: > Felix, > > When and where do yo

CakePHP @ php|works

2007-09-12 Thread Felix Geisendörfer
frameworks that are represented (see http://paul-m-jones.com/blog/?p=256). Who's interested? -- Felix -- My Blog: http://www.thinkingphp.org My Business: http://www.fg-webdesign.de --~--~-~--~~~---~--~~ You received this message becaus

Re: Editor x CakePHP

2007-09-08 Thread Felix Geisendörfer
[x] Textmate -- My Blog: http://www.thinkingphp.org My Business: http://www.fg-webdesign.de Chris Hartjes wrote: > On 9/8/07, Zoltan <[EMAIL PROTECTED]> wrote: > >> There's a few that provide at least syntax highlighting - NotePad++ is >> a good lightweight, Opensource

Re: Managing a Cake project with SVN

2007-09-07 Thread Felix Geisendörfer
tmp directory if you run in *nix environment (which Mac OS X does). This has nothing to do with SVN whatsoever, -- Felix -- My Blog: http://www.thinkingphp.org My Business: http://www.fg-webdesign.de Anthony wrote: > Hello, > I am trying to manage a Cake project

Re: problems with midphase hosting

2007-09-03 Thread Felix Geisendörfer
> VPS ??? Virtual private server. > and what are the other configurations i mean like PHP (php.ini) and > what are the Apache modules have installed. which version of cake you > are using ? PHP 5.2.3 + mod_rewrite are the most important ones. Version of cake: an

Re: problems with midphase hosting

2007-09-03 Thread Felix Geisendörfer
> > I was using cpanel with Apache 1.3 I happen to run the same setup on my VPS right now and do not have any of those problems. So I'm not sure what is going on there. -- Felix -- My Blog: http://www.thinkingphp.org My Business: http://www.fg-webdesign.de A

Re: Cake & Mysql& UTF-8 :(

2007-09-01 Thread Felix Geisendörfer
ts (which you can then overwrite in them with another call to header()), I would put it in AppController::beforeRender() or beforeFilter (the latter might be a better place if you need the encoding to work with debug() calls inside your actions). HTH, -- Felix --

Re: Cake CPU hungry

2007-09-01 Thread Felix Geisendörfer
php?id=1114020732). Oh and congratulations to your success so far, thats pretty cool. Hope you'll find some time into sharing your experiences in using and scaling CakePHP for this at some point with the community : ). -- Felix -- My Blog: http://www.thinkingphp.org My

Re: Cake & Mysql& UTF-8 :(

2007-09-01 Thread Felix Geisendörfer
You should also send a HTTP header indicating your content is served as UTF-8. I think IE needs that under circumstances. -- Felix -- My Blog: http://www.thinkingphp.org My Business: http://www.fg-webdesign.de MrG wrote: > I solved my problems with UTF-8 by using t

Re: Cake CPU hungry

2007-08-31 Thread Felix Geisendörfer
ark setup as well - however I think its not the easiest path. Good luck and success with your app! -- Felix -- My Blog: http://www.thinkingphp.org My Business: http://www.fg-webdesign.de thequietlab wrote: > thanks for your answers, > > @Simon > > >

Re: Weird slowness problem.

2007-08-31 Thread Felix Geisendörfer
This may be a stupid question, but have you tried how long a fresh cake install takes to load? This would help to determine if the problem could be within your app. -- Felix -- My Blog: http://www.thinkingphp.org My Business: http://www.fg-webdesign.de Langdon

Re: HTTPSocket Basic Auth

2007-08-16 Thread Felix Geisendörfer
Authentication / SSL are unfortunately not implemented in HttpSocket yet. However, both have very high priority in terms of being implemented soon. file_get_contents() uses PHPs built-in support for streams and authentication. -- Felix -- My Blog: http

Re: Cake Url Alias - anyone used it before?

2007-08-08 Thread Felix Geisendörfer
I'm the one who wrote that post. By now there are better solutions available to handle this problem. I'd suggest to check out the AppError class and how you can use it to catch the missingController error. You will however need to take care of recursion yourself.

Re: Need: CakePHP Contact Form Need Please

2007-07-27 Thread Felix Geisendörfer
> > Now I give you a couple of lessons of Italian. Haha, I didn't know I was fluent in Italian - good to know : P. -- Felix -- My Blog: http://www.thinkingphp.org My Business: http://www.fg-webdesign.de cakeFreak wrote: > Baz, come on, you getting a bit E

Re: Mambo to use CakePHP for V5

2007-07-25 Thread Felix Geisendörfer
s box to stand upon when reaching for the cookies in the top-drawer ; ). So welcome Mambo developers and community - this truly is great news for all of us bakers out there! -- Felix Geisendörfer -- My Blog: http://www.thinkingphp.org My Business: http://www.fg-webdesign

Re: Having trouble with RequestHandler...

2007-07-24 Thread Felix Geisendörfer
> >IIRC, some firewalls will strip extra http headers. I heard you mention this before, but can you provide more information then this generic kind of FUD ; )? -- Felix -- My Blog: http://www.thinkingphp.org My Business: http://www.fg-webdesign.de R. Rajes

Re: Where to find a great cake baker?

2007-07-23 Thread Felix Geisendörfer
http://www.withcake.com/companies/ -- My Blog: http://www.thinkingphp.org My Business: http://www.fg-webdesign.de objectfetish wrote: > I'm looking to hire a very experienced Cake PHP programmer to work on > a project - where's the best place to post? > > > > > > --~--

Re: Workflow engine for cake

2007-07-20 Thread Felix Geisendörfer
this in cake but I've done more fun stuff in the past ... : p. -- Felix -- My Blog: http://www.thinkingphp.org My Business: http://www.fg-webdesign.de francky06l wrote: > I am not good at example, but I'll try ...(In a business sector that I > know a bit).

Re: Heavy loaded sites

2007-07-20 Thread Felix Geisendörfer
s you how good a job they did - not how fast the framework they used is * People unable to use the search are unlikely to build sites which will gain substantial traffic ; ) -- Felix -- My Blog: http://www.thinkingphp.org My Business: http://www.fg-webdesi

Re: Heavy loaded sites

2007-07-20 Thread Felix Geisendörfer
> > I am wondering does anybody know a Cake based sites with a lot of > traffic? A kind of big sites. And how good and fast Cake behaves with > such conditions? No all traffic goes to: http://groups.google.com/groups/search?q=cakephp+high+traffic for some reason these days ... :

Re: db table design

2007-07-19 Thread Felix Geisendörfer
> > @Felix, yes you right for cake 1.2, sorry Nothing to be sorry about ; ). But why am I right for 1.2 only? I suggest using an id field join tables, even if it's not a PHP app ^^. -- Felix -- My Blog: http://www.thinkingphp.org My Business: http://www.fg-w

Re: db table design

2007-07-19 Thread Felix Geisendörfer
p-faking-rails-throughassociation/>. Compound keys are never ever a good idea. I'm not saying it can't be done, but it will make your life harder. So please, add an 'id' column to your join table. -- Felix -- My Blog: http://www.thinkingphp.org My

Re: Too much cake magic in ff browser?

2007-07-15 Thread Felix Geisendörfer
ose missing files as requests * Opera behaves differently since it caches the shit out of any web page Take a look at your app for this and then let me know if my prophet skills are a little rusty or still in good shape ; ). -- Felix -- My Blog: http://www.thinkin

Re: PHP 4 = Dead

2007-07-13 Thread Felix Geisendörfer
> PHP 4 = Dead We'll talk in 2 years again when PHP4 is still holding the major market share. -- Felix -- My Blog: http://www.thinkingphp.org My Business: http://www.fg-webdesign.de Mech7 wrote: > Well allmost in december it is no longer supported. > &g

Re: "You are seeing this error because the layout file can't be found or doesn't exist."

2007-07-11 Thread Felix Geisendörfer
e: http://bin.cakephp.org/add/ Otherwise try and add a /app/views/layouts/default.thtml file to your application. Read the manual about Views to find out how content is added to the layout. -- Felix -- My Blog: http://www.thinkingphp.org My Business: http://www.fg-webdesign.de

Re: Some musings after using Bake for a medium-sized app

2007-07-09 Thread Felix Geisendörfer
> > I use bake to generate the shells for everything I want to do now. Bake can generate shells? -- Felix -- My Blog: http://www.thinkingphp.org My Business: http://www.fg-webdesign.de Chris Hartjes wrote: > On 7/9/07, Grant Cox <[EMAIL PROTECTED]> wrote:

Re: Digg (Pligg) CakePHP clone?

2007-07-09 Thread Felix Geisendörfer
working - excuse my fantasy being a little too vivid sometimes : p. -- Felix -- My Blog: http://www.thinkingphp.org My Business: http://www.fg-webdesign.de J Wynia wrote: > On 7/9/07, *Felix Geisendörfer* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>&

Re: Digg (Pligg) CakePHP clone?

2007-07-09 Thread Felix Geisendörfer
't any money to be made anymore (you're t late) ... and I don't even want to go into how slashdot and digg are responsible for delaying half of the world's IT projects : p. -- Felix -- My Blog: http://www.thinkingphp.org My Business: http://www

Re: Deep associations (hasMany)

2007-07-07 Thread Felix Geisendörfer
ttp://manual.cakephp.org/chapter/models <- look for the $recursive parameter / property. -- Felix -- My Blog: http://www.thinkingphp.org My Business: http://www.fg-webdesign.de rikdc wrote: > Hello, > > I have this relationship: Project -> Customer -&

Re: How do you manage your re-usable snippets or modules ?

2007-07-02 Thread Felix Geisendörfer
kes a long time and most stuff won't be needed or not needed in the way one imagined. That's my take on the topic ; ), -- Felix -- My Blog: http://www.thinkingphp.org My Business: http://www.fg-webdesign.de Max wrote: > Hey guys !! > > I've been think

Re: Ajax form - multipart/form-data

2007-07-02 Thread Felix Geisendörfer
> I yet have to find flash solution that provides me with an API for > file upload but doesn't enforce it's GUI on me - if anybody knows of > one please share : ). Ah just double-checked. Seems like swfUpload actually does that - nevermind ; ). -- Felix -

Re: Ajax form - multipart/form-data

2007-07-02 Thread Felix Geisendörfer
h an API for file upload but doesn't enforce it's GUI on me - if anybody knows of one please share : ). HTH, Felix -- My Blog: http://www.thinkingphp.org My Business: http://www.fg-webdesign.de Repsah wrote: > I have an Ajax form with a "file"

Re: Bad choice of Variable Name "$db"

2007-06-27 Thread Felix Geisendörfer
since both cake and phpbb are essentially php apps that include the world Now something is inversed here ... Maybe that's the key to your scoping issue. Seems like the only strategy is to search and replace all code around $db ... ; ). -- Felix -- My latest

Re: dukudu.de made with CakePHP

2007-06-26 Thread Felix Geisendörfer
successful approach ; ) -- Felix -- My latest blog posts: My Business: http://www.fg-webdesign.de Jonathan Langevin wrote: if it's a popular site, then that means it did something right, so they try to clone since they don't have enough imagination to create

Re: is there a separate manual for 1.2

2007-06-19 Thread Felix Geisendörfer
future please invest the 60 seconds it would have taken you to find the answer to this question by reading up on any of the xx CakePHP 1.2 docs threads that have been active over the past couple days. -- Felix -- My latest blog posts: My Business: http://www.fg

Re: cake PHP applications in real-world deployment

2007-06-18 Thread Felix Geisendörfer
/site/ And you can read about some of the development details here: http://blog.mozilla.com/webdev/ Decide for yourself ; ). -- Felix -- My latest blog posts: My Business: http://www.fg-webdesign.de Jonathan Langevin wrote: do you have any sources for that

Re: Behaviors for Cake 1.1.x

2007-06-17 Thread Felix Geisendörfer
If you only deal with behaviors that interact with primaryModel's before / afterFilters then it should not be too hard to port single behaviors to your app. I'm actually in the same situation and will be working on it at some point soon so I'll let you know how it

Re: cake, json, and extjs

2007-06-14 Thread Felix Geisendörfer
Try: echo '{"totalCount":"11", "Contacts":',$javascript->object(Set::extract($data, '{n}.Contact'),false),'}}; -- Felix -- http://www.thinkingphp.org http://www.fg-webdesign.de das88 wrote: > I'm

Re: Sending an php array value to an javascript array

2007-06-13 Thread Felix Geisendörfer
Also check out: JavascriptHelper::object(...) -- Felix -- http://www.thinkingphp.org http://www.fg-webdesign.de Chris Hartjes wrote: > On 6/13/07, clarkvr <[EMAIL PROTECTED]> wrote: > >> Please, can anyone give an example, I'm trying without s

Re: Show cake output in normal PHP page

2007-06-12 Thread Felix Geisendörfer
Quick and dirty: http://www.thinkingphp.org/2006/08/15/the-ultimate-cakephp-bootstrap-technique/ Then do: $Dispatcher =& new Dispatcher(); $content = $Dispatcher->dispatch('/controller/action'); -- Felix -- http://www.thinkingphp.org http://www.fg-we

Re: CakePHP php5?

2007-05-29 Thread Felix Geisendörfer
world a brief moment to catch up with you and don't make their life harder then necessary by promoting a no-legacy support doctrine. Thanks a lot, Felix -- http://www.thinkingphp.org http://www.fg-webdesign.de R. Rajesh Jeba Anbiah wrote: > On May 29, 11:22 a

Re: Issue on software design / good practice

2007-05-25 Thread Felix Geisendörfer
it belongs to and a nice looking way to access it. (Warning: Not sure if other bakers consider this a good practice, but I like it) HTH, Felix -- http://www.thinkingphp.org http://www.fg-webdesign.de tawm wrote: > Cool, the concept of a value object makes sense to

Re: Yet another question on Routing

2007-05-24 Thread Felix Geisendörfer
Then you can use it in your routes.php to get a nice regex strings matching all your controllers like this: $controllerRegex = '('.join('|', array_map('preg_quote', listControllers(true))).')'; ---

Re: CakePHP Component with Constructor parameters - How do I Instantiate?

2007-05-15 Thread Felix Geisendörfer
I don't think you are trying to write a component. Put your file in /app/vendors/my_class.php, load it via vendor('my_class'); and work with it as you normally would with any class. -- Felix -- http://www.thinkingphp.org http://www.fg-webdesign.de Humb

Re: URL issue

2007-05-09 Thread Felix Geisendörfer
e($uri['scheme']).':\/\/.+\/).+$/UD', '\\1?'.$query, $url); } --- (Code requires CakePHP or PHP5) -- Felix --

Re: isAjax() - how do I use?

2007-04-18 Thread Felix Geisendörfer
ting and not on a default-basis. I mean if we cannot assume that client requests are correct, how can we know what to return at all? Personally I'll take the route of sticking to standards and not waste my time on IEs that are crippled beyond what Microsoft has don

Re: isAjax() - how do I use?

2007-04-18 Thread Felix Geisendörfer
sounds really bad and hopefully is not popular enough to make it worth to put any effort into a work-around! -- Felix -- http://www.thinkingphp.org http://www.fg-webdesign.de R. Rajesh Jeba Anbiah wrote: > Danielle Tilley wrote: > >> I am using Cake

Re: Prevent redirect in unit test

2007-04-14 Thread Felix Geisendörfer
irect'); Let me know if you need more details, -- Felix -- http://www.thinkingphp.org http://www.fg-webdesign.de [EMAIL PROTECTED] wrote: > I'm using the new unit testing functionality in 1.2 to test one of my > controllers. Several of its actions conta

Re: Proposal for "killer app"

2007-04-09 Thread Felix Geisendörfer
Nice morning read ... Normally I'd argue for a "don't feed the trolls"-policy but I guess in nate's case an exception has to be made ; ). I know nothing in my RSS reader is going to crack me up as good as nate just did ; ). -- Felix -- http:/

Re: Scary associations with recursive calls

2007-04-09 Thread Felix Geisendörfer
ssary. +1. I could not imagine dealing with big databases without some kind of Model::expects or unbindAllExcept function. It's very useful indeed. -- Felix -- http://www.thinkingphp.org http://www.fg-webdesign.de jonathan.snook wrote: > On Apr 9, 12:01 am, "Ma

Re: Two Applications sharing Models

2007-04-05 Thread Felix Geisendörfer
;);* *array where you add the full path to the model directory of your other application.* *Let me know if this will work or not,* *-- Felix* * -- http://www.thinkingphp.org http://www.fg-webdesign.de rtconner wrote: > Hm... maybe. I develop on windows machine. But

Re: Unit Testing Emails

2007-04-04 Thread Felix Geisendörfer
TED]') // ... } } Everything the happens beyond the EmailComponent::send() function call is not application level unit testing. So if you would do that you'd actually do acceptance / integration testing which is a different kind of testing. Hope that helps, -- Felix --

Re: Unit Testing Emails

2007-04-04 Thread Felix Geisendörfer
Haven't tried it, but this is the CGI / Python solution advocated by the SimpleTest folks: http://www.lastcraft.com/fakemail.php -- Felix -- http://www.thinkingphp.org http://www.fg-webdesign.de Zach Cox wrote: > Turns out it's pretty easy to roll your

Re: Writing Model Tests 1.2

2007-03-28 Thread Felix Geisendörfer
Hey Diona: try if you can replace: > require_once LIBS.'model'.DS.'model.php'; > require_once CAKE.'app_model.php'; > require_once APP.'models'.DS.'tank.php'; with: loadModel('Tank'); I think that co

Re: Proposal for "killer app"

2007-03-28 Thread Felix St. Bernard
have grossly sex-starved models "feeding" them at predefined intervals to keep their strength up and violent S&M practitioners to punish them if they digress from the work at hand. Ok maybe I'm taking this Anyway, that's my 3 cents Felix --~--~-~--~~-

Re: Does Cake's array conventions mean Low Orthogonality/Cohesion

2007-03-21 Thread Felix Geisendörfer
u very far. > Can anyone suggest alternatives, or at least stroke my forehead and > tell me everything will be ok! Hope I just did that ; ). -- Felix -- http://www.thinkingphp.org http://www.fg-webdesign.de Sonic Baker wrote: > Hi there, > > I'm loo

Re: Update from 1.1 to 1.2 question

2007-03-21 Thread Felix Geisendörfer
hat you do depends on your specific needs (a class representing a pdf that you can have several instances of -> vendors, an interface for creating one pdf at a time -> helper) -- Felix -- http://www.thinkingphp.org http://www.fg-webdesign.de RLR wrote: > I just

Re: Problems with Auth & Security hash's, all gone weird.....

2007-03-15 Thread Felix Geisendörfer
d the passwd one will already be hashed for you by the component. Let me know if this get's you up to speed ; ). -- Felix Geisendörfer aka the_undefined -- http://www.thinkingphp.org http://www.fg-webdesign.de digital spaghetti wrote: > Felix - After I submitted a

Re: Problems with Auth & Security hash's, all gone weird.....

2007-03-15 Thread Felix Geisendörfer
TRING.$this->data['User']['passwd']); -- Felix Geisendörfer aka the_undefined -- http://www.thinkingphp.org http://www.fg-webdesign.de Digital Spaghetti wrote: > I've submitted a trac for this here: https://trac.cakephp.org/ticket/2252 > as

Re: FTP Component for Cake

2007-03-12 Thread Felix Geisendörfer
> > That's a Bake task, not a component. True, but the FTP class should work independent from the bake stuff so it might be helpful anyway. -- Felix -- http://www.thinkingphp.org http://www.fg-webdesign.de Mariano Iglesias wrote: > That's a Bake ta

Re: Account Parameter

2007-03-11 Thread Felix Geisendörfer
Try this: $account = substr(FULL_BASE_URL, 0, strpos('.', FULL_BASE_URL)); -- Felix -- http://www.thinkingphp.org http://www.fg-webdesign.de [EMAIL PROTECTED] wrote: > Applications like Basecamp and Backpack use the account name in the > url - specific

  1   2   3   >