Re: Upload de imagens com ajax

2008-02-18 Thread Rafael Bueno
Não parece ser tão complicado, isso penso eu hehehe , por favor pessoal um dos controllers do meu sistema ficara fora do padrão q eu tinha definido para todo tipo de cadastro!!! valeu pessoal aguardo respostas --~--~-~--~~~---~--~~ Você recebeu esta mensagem

Re: Upload de imagens com ajax

2008-02-18 Thread Tulio Faria
Sobre upload com ajax, esquece...rs... via xmlhttprequest não é possível... o pessoal geralmente faz um iframe escondido e manda postar nele... inté On 18 fev, 08:03, Rafael Bueno [EMAIL PROTECTED] wrote: Não parece ser tão complicado, isso penso eu hehehe , por favor pessoal um dos

Re: Upload de imagens com ajax

2008-02-18 Thread Osdeni José Sadzinski
Dêem uma olhada nesse link: http://www.phpletter.com/Demo/AjaxFileUpload-Demo/ Ja utilizei o mesmo e funciona beleza. Abraços! 2008/2/18 Tulio Faria [EMAIL PROTECTED]: Sobre upload com ajax, esquece...rs... via xmlhttprequest não é possível... o pessoal geralmente faz um iframe escondido e

Re: paginação com condições

2008-02-18 Thread rodrigo aramburu
aee Bill pode passar o link que não to conseguindo achar lá Em 11/02/08, Bill[EMAIL PROTECTED] escreveu: Resolvi aqui galera, com um tuto do bakery e um help do Tulio, resolvi. Estarei publicando minha solução em forma de artigo no site www.cakephp.com.br Abraços Olá galera,

Re: Meu primeiro aplicativo on-line!

2008-02-18 Thread Eber Freitas Dias
Não pretendo liberar o fonte não cara... Aguardo suas impressões =D []'s 2008/2/18 Bill [EMAIL PROTECTED]: legal Eber, vou testar. Vai ser disponibilizado o fonte dele? Abraços Fala galera, acabei de lançar um aplicativo on-line e gostaria que vocês desse um olhada lá! No meu

Re: Meu primeiro aplicativo on-line!

2008-02-18 Thread Marcelo Linhares
Bacana cara, ficou bem lecal []s 2008/2/18 Eber Freitas Dias [EMAIL PROTECTED]: Não pretendo liberar o fonte não cara... Aguardo suas impressões =D []'s 2008/2/18 Bill [EMAIL PROTECTED]: legal Eber, vou testar. Vai ser disponibilizado o fonte dele? Abraços

Re: hasandbelongstomany com três tabelas

2008-02-18 Thread Josenivaldo Benito Junior
Olá Rafael, Dei uma googleada ultra rápida (não refinei muito), mas acho que o que você quer fazer está representado aqui:

Re: Forçar um Invalidate

2008-02-18 Thread etapombas
Eu sei que na versão 1.1 fica: $this - Cliente - invalidate('cpf'); --~--~-~--~~~---~--~~ Você recebeu esta mensagem porque está inscrito no Grupo Cake PHP Português em Grupos do Google. Para postar neste grupo, envie um e-mail para cake-php-pt@googlegroups.com

Re: Forçar um Invalidate

2008-02-18 Thread Henrique de Castro
É, eu tb usava assim.. mas no 1.2 não funciona :( Em 19/02/08, etapombas [EMAIL PROTECTED] escreveu: Eu sei que na versão 1.1 fica: $this - Cliente - invalidate('cpf'); --~--~-~--~~~---~--~~ Você recebeu esta mensagem porque está inscrito no Grupo Cake PHP

Re: bake.php line 910, invalid argument supplied to foreach

2008-02-18 Thread james_fairhurst
Hi, I've just come across the same problem baking a simple 'Posts' and 'Comments' application. It seems the problem lies in bake.php when creating the view files, for instance when creating the comments views it does not insert the Post Model in the variable e.g. $comment['Post'] ['title'], it

Re: SQL error when adding item using the scaffolding

2008-02-18 Thread jim starboard
This IS a cake issue. The scaffolding code should not pass an empty string to the ID field. It should be fixed so that the id is not used in the generated SQL statement. On Feb 16, 8:42 am, skantner [EMAIL PROTECTED] wrote: I want to say thanks also, Ben. This was really annoying me. I

Problem with findAll and AND / OR conditions

2008-02-18 Thread orbdex
Hey there, I've read a lot about the complex find methods in the cake documentation but there is one thing i do not get to work properly: image i would like to have a resulting sql like select a.* from startpage a left join contents b on a.content_id=b.id where (b.online_from = '-00-00'

One-to-many and one-to-one relationships between the same two tables...

2008-02-18 Thread dasn
I have a situation that I'm not sure how to build the cake model relationships for. I have two tables, Companies and Contacts. A Company can have many contacts but it also has one primary contact. I figured I would set up hasMany and belongsTo entries for the Company and Contact models. But

relationships problem

2008-02-18 Thread andrewharlan
Can any1 help me with this? i understand Post $hasone category and $hasone locality. but can i set category to $belongsto Post and locality as $belongsto Post ?? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake

relationships problem

2008-02-18 Thread andrewharlan
hello, i understand Post hasone category and hasone locality. but can i set category to $belongsto Post and locality as $belongsto Post ?? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to

how could i config cakephp with sqlite support

2008-02-18 Thread shotchen
my Environment is windowXp,php5.25,LightTPD-1.4.18-1- Win32,sqlite3.5.6; i made The Cake Blog Tutorial example,but i get a error like this Warning (2): sqlite_popen() [function.sqlite-popen]: file is encrypted or is not a database [CORE\cake\libs\model\datasources\dbo \dbo_sqlite.php, line

Re: Logic on Site Index

2008-02-18 Thread UberK
It was the PagesController that I needed to override -- there's not much documentation that references it. Issue resolved, cheers. On Feb 17, 2:59 pm, Sam Sherlock [EMAIL PROTECTED] wrote: I think you want to have a look at the app_controller On 17/02/2008, UberK [EMAIL PROTECTED] wrote:

relations in cake problem

2008-02-18 Thread andrewharlan
Can any1 help me with this? i understand Post $hasone category and $hasone locality. but can i set category to $belongsto Post and locality as $belongsto Post ?? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake

Re: Problem with findAll and AND / OR conditions

2008-02-18 Thread AD7six
On Feb 18, 10:52 am, orbdex [EMAIL PROTECTED] wrote: Hey there, I've read a lot about the complex find methods in the cake documentation but there is one thing i do not get to work properly: image i would like to have a resulting sql like select a.* from startpage a left join contents b

Re: One-to-many and one-to-one relationships between the same two tables...

2008-02-18 Thread AD7six
On Feb 18, 5:26 am, dasn [EMAIL PROTECTED] wrote: I have a situation that I'm not sure how to build the cake model relationships for. I have two tables, Companies and Contacts. A Company can have many contacts but it also has one primary contact. I figured I would set up hasMany and

Re: Cakephp pluralisation doesnt work with my scaffolds..

2008-02-18 Thread blain57
Yup, i upgraded to 1.2 beta and the problem seems to be fixed. thanx dardo. On Feb 18, 12:19 am, Dardo Sordi Bogado [EMAIL PROTECTED] wrote: I've tried scaffolding on both, regeneration_types and ticket_activities. Both works well. I'm using cake 1.2 from svn. On Feb 17, 2008 9:46 AM,

Re: bakery article publishing - how long does one need to wait?

2008-02-18 Thread dr. Hannibal Lecter
Heh..anyone? On Feb 15, 11:33 am, dr. Hannibal Lecter [EMAIL PROTECTED] wrote: Hi all, I've posted an article about Markdown and dp.SyntaxHighligher to the bakery; it's been a while and the article is still not published. I was just wondering is this a standard issue or do I need to correct

HABTM saving again... sorry

2008-02-18 Thread [EMAIL PROTECTED]
I really don't know what else to do. I have checked my data against the pages in frequent discussions and searched and read-through a lot of posts. None actually helped me in this situation. I am trying to save HABTM (in 1.2.6311). Problem is I don't get any errors, I dont see any insets or

Re: quote placement error in docs

2008-02-18 Thread RichardAtHome
Nope, its all good :) It reads as field = condition value On Feb 17, 3:39 pm, jim starboard [EMAIL PROTECTED] wrote: http://manual.cakephp.org/chapter/models array(Post.title = This is a post) the third quote is in the wrong place no? --~--~-~--~~~---~--~~

Re: relations in cake problem

2008-02-18 Thread avairet
HI Andrew, Yes you can do that! But you must have Post model, Category model and Locality model. Then you put: var $hasOne = array ('Category'= array(), 'Locality'=array()); in your Post model. After that you write: var $belongsTo = 'Post'; in your two other models. Hope this helps...

Re: HABTM saving again... sorry

2008-02-18 Thread jakecake
You are probably victim of this bug : http://groups.google.com/group/cake-php/browse_thread/thread/2ad48c4e10f58fc0/c7c4511051071b52 There are many threads here about problems with HABTM due to this bug. I cannot understand why the cake home page still propose to download a beta version

Re: bakery article publishing - how long does one need to wait?

2008-02-18 Thread JakeCake
For me almost nothing works in the Bakery! I get a blank page when saving the article. But also when searching. Is it my Firefox?!! As I heard everywhere, you should post something in the trac... --~--~-~--~~~---~--~~ You received this message because you are

Re: Session problems with external application

2008-02-18 Thread rafael bonifaz
On Feb 17, 2008 2:42 PM, francky06l [EMAIL PROTECTED] wrote: When are you loosing session, I mean which way .. CakeApp = phpApp or reverse ? phpApp = CakePHP --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake

Where is the flashMessage div constructed? Trying to created multiple flashes

2008-02-18 Thread designvoid
Hi all, I'm trying to create multiple flash messages ie an error message and a success message, I have it to show the error message and the standard flash, but the standard has a div around it and my own error one just dumps the passed error... I'm using the stable release not the beta... Can

Re: SQL error when adding item using the scaffolding

2008-02-18 Thread Pablo Viojo
This IS what you should do: 1. Fill a ticket 2. submit a patch [1] Regards, -- Pablo Viojo [EMAIL PROTECTED] http://pviojo.net [1] https://trac.cakephp.org/ On Sun, Feb 17, 2008 at 5:19 PM, jim starboard [EMAIL PROTECTED] wrote: This IS a cake issue. The scaffolding code should not pass

Re: Session problems with external application

2008-02-18 Thread Chris Hartjes
On Feb 18, 2008 8:46 AM, rafael bonifaz [EMAIL PROTECTED] wrote: On Feb 17, 2008 2:42 PM, francky06l [EMAIL PROTECTED] wrote: When are you loosing session, I mean which way .. CakeApp = phpApp or reverse ? phpApp = CakePHP Well, if your CakePHP app and your regular PHP app are not

Re: Where is the flashMessage div constructed? Trying to created multiple flashes

2008-02-18 Thread grigri
Check these threads: http://groups.google.com/group/cake-php/browse_thread/thread/42d2ef87f6032e65/ http://groups.google.com/group/cake-php/browse_thread/thread/623eb28958b59a8f/ On Feb 18, 2:30 pm, designvoid [EMAIL PROTECTED] wrote: Hi all, I'm trying to create multiple flash messages ie

Re: Accessing schema in view

2008-02-18 Thread Siebren Bakker
@the_woodsman, yes, the form helper does have knowledge of the schema of the database. If you have SQL debugging on, you will notice that pages with form-helpers on them will perform a DESCRIBE table_name, so that it is able to match the $form-input() with the correct type of input for the

Re: HABTM saving again... sorry

2008-02-18 Thread [EMAIL PROTECTED]
Thanks but I don't think that was it. I altered my model.php but my problem remains. I do not even get any SQL queries that save anything. Not even buggy data. I am starting to think that it somewhere decides that the model hasn't changed and doesn't bother saving. (I am running $this-read() )

Poking sticks in wasps' nests

2008-02-18 Thread leo
Why is it good to write: ?php echo $form-end(); ? instead of: /form How do helpers support MVC? I can't expect my designer to understand: ?php echo $form-create(null, array('url' = '/recipes/add')); ? When I have to refer to the manual everytime I have to write it (or debug it). I also

Re: Logic on Site Index

2008-02-18 Thread SeanW
Look at app/config/routes.php /** * Here, we are connecting '/' (base path) to controller called 'Pages', * its action called 'display', and we pass a param to select the view file * to use (in this case, /app/views/pages/home.thtml)... */ Router::connect('/', array('controller' = 'pages',

Re: bakery article publishing - how long does one need to wait?

2008-02-18 Thread leo
I have had the same problem with two comments on articles. L. On 18 Feb, 13:03, dr. Hannibal Lecter [EMAIL PROTECTED] wrote: Heh..anyone? On Feb 15, 11:33 am, dr. Hannibal Lecter [EMAIL PROTECTED] wrote: Hi all, I've posted an article about Markdown and dp.SyntaxHighligher to the

Re: Poking sticks in wasps' nests

2008-02-18 Thread grigri
Why is it good to write: ?php echo $form-end(); ? instead of: /form Because the 2nd one just writes a closing form tag, whereas the 1st performs cleanup logic (including generating security fields), and potentially lots of other magic. It can also generate a div-surrounded submit button

Re: Poking sticks in wasps' nests

2008-02-18 Thread Chris Hartjes
On Feb 18, 2008 11:07 AM, leo [EMAIL PROTECTED] wrote: I can't expect my designer to understand: ?php echo $form-create(null, array('url' = '/recipes/add')); ? You must have really difficult-to-work-with designers who can't be taught a little bit of PHP. When I have to refer to the manual

Re: Accessing schema in view

2008-02-18 Thread grigri
?php $modelName = 'YourModelNameHere'; if ($Model = ClassRegistry::getObject($modelName)) { debug($Model-schema()); } else { echo Model code$modelName/code not loaded; } ? On Feb 18, 3:43 pm, Siebren Bakker [EMAIL PROTECTED] wrote: @the_woodsman, yes, the form helper does have knowledge of

Re: Poking sticks in wasps' nests

2008-02-18 Thread Baz
Don't you just love these types of responses? Reading documentation goes a ways in helping your issue with point 1: Here's the api documentation for $form-end() I don't get the second question? Helpers are there to help. They bridge a few gaps between controllers and views. Hey, if you're

Re: Poking sticks in wasps' nests

2008-02-18 Thread Baz
Whoops...reply is a bit out of order...but you catch my drift. On Feb 18, 2008 10:31 AM, Baz [EMAIL PROTECTED] wrote: Don't you just love these types of responses? Reading documentation goes a ways in helping your issue with point 1: Here's the api documentation for $form-end() I don't get

Re: Problem with findAll and AND / OR conditions

2008-02-18 Thread orbdex
Works fine, a BIG THANKYOU! --~--~-~--~~~---~--~~ 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

Re: Poking sticks in wasps' nests

2008-02-18 Thread nate
Try looking at the code and figuring out what all it actually does before jumping to ignorant conclusions. Also, helpers support the V part of MVC, since it stands for View, so asking how helpers support MVC is like asking how oxygen tanks support breathing: they just do. Do you need to ask?

Re: difference between pages and layouts

2008-02-18 Thread Novice Programmer
Hello Samuel, I was looking more of a theory that what is the thoratical difference between the two. In my knowledge and the example that i gave it looks to me that i can use them interchangeably. Thanks. On Feb 18, 2008 10:25 PM, Samuel DeVore [EMAIL PROTECTED] wrote: you might just refresh

Re: Spelling error in docs

2008-02-18 Thread Joel
Posting that here is about as useful as a screen door on a submarine. You're better off creating a trac ticket: https://trac.cakephp.org/ On Feb 17, 10:34 am, jim starboard [EMAIL PROTECTED] wrote: http://manual.cakephp.org/chapter/models durint instead of during

Re: Where is the flashMessage div constructed? Trying to created multiple flashes

2008-02-18 Thread Guillaume
Hzllo I hope i understand your question... The setFlash method takes a second argument which is a layout for the Flash message. So you just have to create a .ctp (eg. warning_message.ctp) file in app/view/layout/ with your html code you want and e($content_for_layout) and then you call it using

Re: bakery article publishing - how long does one need to wait?

2008-02-18 Thread dr. Hannibal Lecter
As far as I can understand it, comments can be moderated, so that might be the root of your problem. I don't see the cause of article publishing delay though, very strange.. :-/ On Feb 18, 4:57 pm, leo [EMAIL PROTECTED] wrote: I have had the same problem with two comments on articles. L.

Re: difference between pages and layouts

2008-02-18 Thread Samuel DeVore
you might just refresh your memory by reading http://manual.cakephp.org/appendix/blog_tutorial On Feb 18, 2008 9:52 AM, Novice Programmer [EMAIL PROTECTED] wrote: Hello All, Its quite been a long since i started using cake but this question is still pestering. What is the difference between

Re: difference between pages and layouts

2008-02-18 Thread Samuel DeVore
I guess your question just didn't make any sense to me. 'Layout' controls the 'presentation' and 'pages' (those things loaded by the pages controller via view file) or any controller/view are content in that presentation On Feb 18, 2008 10:15 AM, Novice Programmer [EMAIL PROTECTED] wrote:

difference between pages and layouts

2008-02-18 Thread Novice Programmer
Hello All, Its quite been a long since i started using cake but this question is still pestering. What is the difference between a page and a layout in cake? Lets say that on home page i have a link to the upload page. What woudl the design look like? I have default.thtml in the layouts folder

Re: difference between pages and layouts

2008-02-18 Thread RichardAtHome
In a nutshell: You can think of a layout as being the container for your pages (views) ie. Your actions in your controllers create views which are displayed within your layout So, to take your example: Homepage (layout: default.ctp, controller: pages, action: home) (pages controller is a

Re: Poking sticks in wasps' nests

2008-02-18 Thread Baz
Now look what you did, gone and got yourself stung :) Personally, I'm not an advocate of the go look at the code thing, thus my preference towards more descriptive doc blocks... However, with specific reference to $form-end(), it doesn't get much clearerIt does the end tag, submit tags, some

Re: bakery article publishing - how long does one need to wait?

2008-02-18 Thread Chris Hartjes
On Feb 18, 2008 12:17 PM, dr. Hannibal Lecter [EMAIL PROTECTED] wrote: As far as I can understand it, comments can be moderated, so that might be the root of your problem. I don't see the cause of article publishing delay though, very strange.. :-/ Every submission to the bakery needs to be

Re: difference between pages and layouts

2008-02-18 Thread Novice Programmer
Great explanation Richard, I got it... All the static thingies that i were putting in my views can probably go in the pages folder. Thanks Richard. On Feb 18, 2008 10:51 PM, RichardAtHome [EMAIL PROTECTED] wrote: In a nutshell: You can think of a layout as being the container for your

Re: bakery article publishing - how long does one need to wait?

2008-02-18 Thread dr. Hannibal Lecter
Thanks Chris, I am aware of the fact that articles need to be approved for publishing, but I've seen 3 other articles go up since my submission (AFAIR, before the CakeFest). I'm not being cynical here or anything, just wondering how long the period is actually. 2 weeks? 3 weeks? 4 years? :-)

Re: bakery article publishing - how long does one need to wait?

2008-02-18 Thread rtconner
Usually it's Mariano, he's approved most of my articles. Though, I think gwoo approved one of them. On Feb 18, 10:21 am, Chris Hartjes [EMAIL PROTECTED] wrote: On Feb 18, 2008 12:17 PM, dr. Hannibal Lecter [EMAIL PROTECTED] wrote: As far as I can understand it, comments can be moderated,

Re: bakery article publishing - how long does one need to wait?

2008-02-18 Thread Samuel DeVore
is it possible that there was an email sent to you from the maintainer about some suggested changes/ edits that might of gotten eaten by a spam filter? This happened to me once Sam D On Feb 18, 2008 10:52 AM, dr. Hannibal Lecter [EMAIL PROTECTED] wrote: Thanks Chris, I am aware of the fact

RE: bakery article publishing - how long does one need to wait?

2008-02-18 Thread Mariano Iglesias
Hannibal: it's been published. It was modified on Feb 14, so 4 days ain't the end of the world. -MI --- Remember, smart coders answer ten questions for every question they ask. So be smart, be cool, and share your

Re: e-Mail Spam Protection

2008-02-18 Thread zeroStar
Another approach is to do some shuffling of the addresses with javascript: check here: http://my.gr-navigator.com/eeg/2008/02/18/a-piece-of-cake-javascript-email-cloaking-for-cakephp/ On Feb 6, 8:29 pm, b logica [EMAIL PROTECTED] wrote: On Feb 6, 2008 5:25 AM, cronet [EMAIL PROTECTED] wrote:

Re: Poking sticks in wasps' nests

2008-02-18 Thread Beth
Baz, I'm with you :) Leo, welcome to cake and all the icing that goes with it ;) Hopefully, your retarded designer doesn't read this. If he/she does, then they better have thick skin. On Feb 18, 12:19 pm, Baz [EMAIL PROTECTED] wrote: Now look what you did, gone and got yourself stung :)

Discussion on cake-apps-sites-in-the-wild

2008-02-18 Thread Dan Bair
Adding my new site: www.choclopedia.org --~--~-~--~~~---~--~~ 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

Helper to generate a UID

2008-02-18 Thread Novice Programmer
Is there any helper/component in Cake which can help me get a UID based on some algo(such as date time etc)? -- Thanks Regards, Novice (http://ishuonweb.wordpress.com/). --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Debug Level 3 does not work

2008-02-18 Thread Tomka
Hello. I'm using 1.2 beta. In my installation there seems to be no difference between debug level 2 and 3! I can't see any controller dump. Does anyone has a hint for me? Thanks in advance, Tomka. --~--~-~--~~~---~--~~ You received this message because you are

Re: Helper to generate a UID

2008-02-18 Thread Sam DeVore
Php has uniqid Cake. API look in string class === Http://blog.samdevore.com On Feb 18, 2008, at 2:16 PM, Novice Programmer [EMAIL PROTECTED] wrote: Is there any helper/component in Cake which can help me get a UID based on some algo(such as date time etc)? -- Thanks Regards,

Re: Helper to generate a UID

2008-02-18 Thread Novice Programmer
uniqid is painfully slow when trying to generate uuid for several items at a time. I tried looking at phpclasses as well but the algorithm there also seemed to be slow so came here to see if Cake can do this as this is quite a common problem. Thanks. On Feb 19, 2008 2:57 AM, Sam DeVore [EMAIL

Re: Helper to generate a UID

2008-02-18 Thread Samuel DeVore
u did you look at the string class in cake api like I told you? who's the slow one? you or uniqid (that is a joke ha ha) On Feb 18, 2008 2:37 PM, Novice Programmer [EMAIL PROTECTED] wrote: uniqid is painfully slow when trying to generate uuid for several items at a time. I tried

CakePHP V1.2.x.x on IIS?

2008-02-18 Thread robdeman
Hi all, I have been trying to get CakePHP V1.2.x.x (1.2.0.6311 beta to be specific) to run under IIS. Setup: IIS 5.1 on WinXP - PHP V4.3.4 When using Cake straight out of the box with only a DB connection configured, it complains that the cache is not working. tmp directory is writable. Any

Re: Helper to generate a UID

2008-02-18 Thread Novice Programmer
ha ha ha.. yeah me a bit slow... i was just trying to figure out the logic inside of cake api String::uuid(). Thanks. On Feb 19, 2008 3:19 AM, Samuel DeVore [EMAIL PROTECTED] wrote: u did you look at the string class in cake api like I told you? who's the slow one? you or uniqid

Re: how could i config cakephp with sqlite support

2008-02-18 Thread Wayne Fay
Not positive, but you probably need to specify a complete path to the test.db file. Wayne On 2/18/08, shotchen [EMAIL PROTECTED] wrote: my Environment is windowXp,php5.25,LightTPD-1.4.18-1- Win32,sqlite3.5.6; i made The Cake Blog Tutorial example,but i get a error like this Warning

Re: Poking sticks in wasps' nests

2008-02-18 Thread Kjell Bublitz
Nate just made my day :-) On Feb 18, 2008 5:53 PM, nate [EMAIL PROTECTED] wrote: Try looking at the code and figuring out what all it actually does before jumping to ignorant conclusions. Also, helpers support the V part of MVC, since it stands for View, so asking how helpers support MVC

Re: e-Mail Spam Protection

2008-02-18 Thread b logica
On Feb 18, 2008 1:10 PM, zeroStar [EMAIL PROTECTED] wrote: Another approach is to do some shuffling of the addresses with javascript: check here: http://my.gr-navigator.com/eeg/2008/02/18/a-piece-of-cake-javascript-email-cloaking-for-cakephp/ It looks like the client gets an empty span,

error of memory???

2008-02-18 Thread sixs
HI, I copied the index view and the index in controllers. I have a master and a detail and I deleted some fields in the master. It displayed ok an this error occurred when I clicked the list of the details. = Fatal error: Allowed

Re: how could i config cakephp with sqlite support

2008-02-18 Thread shotchen
thanks: i change the database to sqlite 2.85. it work well. so i think the cakephp can't support sqlite3 yet. by the way , the file of test.db is in the my public web folder ( webroot). On Feb 19, 6:24 am, Wayne Fay [EMAIL PROTECTED] wrote: Not positive, but you probably need to specify a

Cake core code infinite loop/recursive rendering issue

2008-02-18 Thread Tim W
Hi all, I have an issue with rendering getting itself into an infinite loop. I've stepped through the code I can see what's going on, but I don't want to mess with the core given I don't have a good overview of how it all fits together. I can consistently reproduce this problem by doing one

how to incorporate site redirection into cakephp's default .htaccess?

2008-02-18 Thread Siebren Bakker
I was reading an article today, about a way to freely mirror your site, so that you can receive links from major sites such as digg/slashdot/etc, and was wondering if anyone knew how to incorporate this into the default cake .htaccess files? The code from the article is as follows: # Heavy Site

Class Integration

2008-02-18 Thread Salam Fall
Is there a generic way to load a custom or external class into Cakephp and be able to create an object from it and manipulate it with it's method. How would that integration be down, and where will the object be available to me as a coder, in the Model/ The view or the Controller, I appreciate

Re: Class Integration

2008-02-18 Thread Sam DeVore
Look in the manual for vendors and bootstrap.PNP === Http://blog.samdevore.com On Feb 18, 2008, at 8:53 PM, Salam Fall [EMAIL PROTECTED] wrote: Is there a generic way to load a custom or external class into Cakephp and be able to create an object from it and manipulate it with it's