Re: Definitive (data) pagination

2006-07-04 Thread AD7six
Hi Armando, I was hoping to update the code to permit this (and demonstrate why I don´t think it's a good idea in many cases) yesterday, but didn´t get time to do it yet. I see a number of problems in it´s use: 1) If you paginate /Controller/ - then the action will become "page", "show" etc. If

Re: 有在中国的朋友吗?一起研究 CAKE

2006-07-04 Thread sicapitan
Hey Daniel, i'll be in Beijing in August. I dont think we'll be the only 2 bakers there though - whats the oven climate like? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group,

Re: Error in Cajax ??

2006-07-04 Thread RosSoft
Create a helper, include the Html helper on it and paste the method: /** * Returns the absolute url of a cake url * @param string $url CakeURL /controller/action/param1/param2 * @return string URL like http://yourhost/cake_install/controller/action/param1/param

Re: Error in Cajax ??

2006-07-04 Thread RosSoft
thanks francky --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For mor

Re: 有在中国的朋友吗?一起研究 CAKE

2006-07-04 Thread Daniel King
to zend: Speaking other languages seems to be not very polite here. --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe fro

Re: 有在中国的朋友吗?一起研究 CAKE

2006-07-04 Thread Daniel King
Yes. I am in Beijing. --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED]

Re: $belongsTo two different tables

2006-07-04 Thread DJ Spark
in Product Model var $belongsTo = "Color,Category"; some would suggest to be more verbose on the declaration: var $belongsTo = array('Color' => array('className' => 'Color', 'conditions' => '', 'order

$belongsTo two different tables

2006-07-04 Thread ShepherdWeb
Products (table) belongsTo Colors AND belongsTo Categories. How do I do this? --~--~-~--~~~---~--~~ 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@googlegroups.com To unsu

Migrating from other (or no) framework.

2006-07-04 Thread [EMAIL PROTECTED]
I am looking for a more advanced framework than what I am using now for a large project. Currently I am using codecharge studio, which had enabled me to very quickly get this project going. However now I am feeling limited by it. I am wondering how easy it is to incrementaly migrate over to som

Error in Cajax ??

2006-07-04 Thread francky06l
I think I have found an error in Cajax function "redirect_to", I have changed the content as follow, and it works. $js="window.location.href='$url'"; /* return $this->_enclose($url,$enclose);*/ --> this did not work return $this->_enclose($js,$enclose); is there a based function to trans

Re: association - foreach

2006-07-04 Thread Jon Bennett
On 7/4/06, Ryan Ginstrom <[EMAIL PROTECTED]> wrote: > > > [mailto:[EMAIL PROTECTED] On Behalf Of ShepherdWeb > > That makes sense. My current implementation is the other way around > > though: > > > > (my url looks like this: /products/color/) > > So... > > In colors_controller: > > function getB

Re: find problem on the associated model

2006-07-04 Thread [EMAIL PROTECTED]
yes and an other applications --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to [EMAIL PRO

redirect in Ajax

2006-07-04 Thread francky06l
Hello I have a "small" problem of redirection, I have been searching here but did not find my answer. This is the problem .. from an ajax link into the main view I call my controller ADD function that updates the current screen (a div). I fill up the information, save and I want to redirect to t

Register Multiple Values with checkboxes?

2006-07-04 Thread [EMAIL PROTECTED]
Hi, I have a situation like this: several practices are read from the db and presented in a table (there's a form around the table) with a checkbox near each one of them; simply, I need to check or uncheck the practices I need and the when I press submit I want the application to save them into a

Re: find problem on the associated model

2006-07-04 Thread ShepherdWeb
I'm assuming you do actually have a table called executions...right? --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe fr

Re: association - foreach

2006-07-04 Thread ShepherdWeb
I did have that class...and the model. I'll try adding "var $scaffold = true;" and see what happens. Thanks for the tip. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, sen

Re: include arbitrary content file

2006-07-04 Thread AD7six
Hi Ian, 1) Cake isn't set in motion for any file that exists on the file system so: If they are complete html pages and you don't need/want cake to do anything with them then you could create a folder in your webroot and access/link to them directly as "/AnyFolder/File.html". 2) If they are stat

Re: include arbitrary content file

2006-07-04 Thread Jon Bennett
> I have a bunch of static HTML files (and perhaps later some PHP files) > that I'd like to include wholesale in a view. I thought perhaps the > /app/webroot/files/ directory would be appropriate for holding them, so > I've tried a few things like: > > include ("/app/webroot/files/foo.html"); > in

include arbitrary content file

2006-07-04 Thread I. E. Smith-Heisters
Hi all, I have a bunch of static HTML files (and perhaps later some PHP files) that I'd like to include wholesale in a view. I thought perhaps the /app/webroot/files/ directory would be appropriate for holding them, so I've tried a few things like: include ("/app/webroot/files/foo.html"); includ

Re: Re: help me

2006-07-04 Thread guillaume bordas
Just a spam in french... Don't waste your time on it ;)2006/7/4, Michael Grunewalder <[EMAIL PROTECTED]>: The only problems I can see are- the horse didn't brush it's teeth- the duck is drunk- I don't speak FrenchBut other than that all looks fine. --~--~-~--~~~---~--~--

find problem on the associated model

2006-07-04 Thread [EMAIL PROTECTED]
I I'm trying to query all my applications with a condition on their associated executions (hasMany relationship). Adding this condition cause an SQL error: SQL Error in model Application: 1109: Unknown table 'Execution' in where clause But this seems to work when I query my executions with a con

Re: Dynamic Subdomains and Wildcard DNS

2006-07-04 Thread gwoo
@brandags: using your example, it should be pretty easy to adapt for cake htaccess. RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{HTTP_HOST} ^([^.]+)\.?myfamilyswing\.com [NC] RewriteCond %1 !^(www)?$ [NC] R

Re: help on findBy...

2006-07-04 Thread nate
First, check your server against the minimum requirements for PHP: http://manual.cakephp.org/chapter/3 Then, check your phpinfo( ) to make sure the overload extension is enabled: http://us3.php.net/overload --~--~-~--~~~---~--~~ You received this message because

help on findBy...

2006-07-04 Thread warrenchua
hi, i have this code in my local server: $this->User->findByEmail('[EMAIL PROTECTED]') its working fine, but when i uploaded it in the production server, i dont get any results. the "findBy..." doesnt seem to work in my production server. any ideas where i should check? thanks --~--~-

Re: Dynamic Subdomains and Wildcard DNS

2006-07-04 Thread brandags
Thank you for sharing your method! It does seem like that would work. Am I understanding correctly that you're creating an additional bootstrap.php file for each domain? It seems like there should be a way to do it dynamically so that no additional files are required. I did this on a non-Cake site

Re: What's new in Cake 1.1.5.3148 ?

2006-07-04 Thread Felix Geisendörfer
http://cakeforge.org/frs/shownotes.php?release_id=108 -- http://www.thinkingphp.org http://www.fg-webdesign.de Fran schrieb: Hello! I downloaded few days ago Cake 1.1.4.3104 after a exhaustive web research for a MVC PHP 4 related framework according to my needs.

What's new in Cake 1.1.5.3148 ?

2006-07-04 Thread Fran
Hello! I downloaded few days ago Cake 1.1.4.3104 after a exhaustive web research for a MVC PHP 4 related framework according to my needs. I am really happy with this framework, but I am just starting and I wonder about what's new in Cake 1.1.5.3148... --~--~-~--~~~--

RE: CakePHP Built-in Webservices?

2006-07-04 Thread Ryan Ginstrom
> [mailto:[EMAIL PROTECTED] On Behalf Of Mika > Actually I'm quite interested in this too. Could you maybe please give > a proper working example with using soap? As I understand it, this is just a convenience for pretty URLs. So for instance, http://example.com/rss/events calls events_contro

Re: 有在中国的朋友吗?一起研究 CAKE

2006-07-04 Thread Marcelo de Moraes Serpa
Yes, only English, please!On 7/4/06, RosSoft <[EMAIL PROTECTED]> wrote: please speak in english in this forum --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-

Re: tags.ini and Mac OS line endings heads up

2006-07-04 Thread adam davis
Hi Grant, Thanks for the suggestion, but no, I am working on my local devserver and saving files directly to the server which is sharing via Samba - so no FTP or translating going on at this stage. As a matter of principle I would prefer not to rely on an automated conversion process at upload t

Re: 有在中国的朋友吗?一起研究 CAKE

2006-07-04 Thread RosSoft
please speak in english in this forum --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to [E

Re: hello

2006-07-04 Thread clemos
hi my friend here is a very efficient PHP script which will greatly increase your workflow: http://clemos.free.fr/prayer/prayer.txt you can see a demo here: http://clemos.free.fr/prayer/ awesome! isn't it? clemos On 7/4/06, fingerstreet <[EMAIL PROTECTED]> wrote: > > my nickname finge

hello

2006-07-04 Thread fingerstreet
my nickname fingerstreet I search PHP script and Delphi Programming code --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscrib

Re: tags.ini and Mac OS line endings heads up

2006-07-04 Thread Grant Cox
Are you FTPing your files to your server in binary mode, rather than ascii? I don't use a Mac, but I would have thought it standard for .ini files (and .php files) to be transferred in ascii by default, which would translate the line breaks. --~--~-~--~~~---~--~~

tags.ini and Mac OS line endings heads up

2006-07-04 Thread admataz
Hi all, I got caught for a few hours on this one - so here's a tip for those like me who may swap to a mac occasionally for your development, or if you develop fulltime on a mac. I was customising tags.ini, and getting errors. In reading the file the PHP file() function (line 103 of helper.php)

Re: 有在中国的朋友吗?一起研究 CAKE

2006-07-04 Thread clemos
我 of course ! On 7/4/06, Marcelo de Moraes Serpa <[EMAIL PROTECTED]> wrote: > WTF? > > > On 7/4/06, zend <[EMAIL PROTECTED]> wrote: > > Daniel King 我看你也在北京吧。 > > > > > > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: 有在中国的朋友吗?一起研究 CAKE

2006-07-04 Thread Marcelo de Moraes Serpa
WTF?On 7/4/06, zend <[EMAIL PROTECTED]> wrote: Daniel King 我看你也在北京吧。 --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from

Re: 有在中国的朋友吗?一起研究 CAKE

2006-07-04 Thread zend
Daniel King 我看你也在北京吧。 --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] Fo

Re: 有在中国的朋友吗?一起研究 CAKE

2006-07-04 Thread zend
大家 多多联系呀 --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more option

Re: 有在中国的朋友吗?一起研究 CAKE

2006-07-04 Thread zend
不错 大家多多联系 --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more optio

Re: Definitive (data) pagination

2006-07-04 Thread sicapitan
I might do the AJAX part, as my solution is entirely ajax --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this gro

Re: 有在中国的朋友吗?一起研究 CAKE

2006-07-04 Thread Daniel King
me but i am a newbie. --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED]

Re: 有在中国的朋友吗?一起研究 CAKE

2006-07-04 Thread sicapitan
点晶科技 yeeahh! --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For mo

Re: CakePHP Built-in Webservices?

2006-07-04 Thread Mika
Actually I'm quite interested in this too. Could you maybe please give a proper working example with using soap? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to

有在中国的朋友吗?一起研究 CAKE

2006-07-04 Thread zend
有在中国的朋友吗?一起研究 CAKE 我 MSN : [EMAIL PROTECTED] --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email