Re: Modules in cake?

2009-08-27 Thread Mech7
- i.e. write a Blog plugin that will use a Tag plugin if it exists. On Aug 26, 2:09 pm, Mech7 chris.de@gmail.com wrote: Is there way to setupmodulesin cake... I don't mean plugins which are seperate capplications butmodulesthat will hace MVC files... but could also work togheter

Modules in cake?

2009-08-26 Thread Mech7
Is there way to setup modules in cake... I don't mean plugins which are seperate capplications but modules that will hace MVC files... but could also work togheter... for example you can install a Tag module.. and if you install a Pages or Blog modules they could make use of it... all in seperate

Multiple tree's

2009-06-22 Thread Mech7
Is it possible to have multiple trees with the behaviour like doctrine has: http://www.doctrine-project.org/documentation/manual/1_1/en/hierarchical-data#nested-set:multiple-trees --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

requestaction with pagination?

2009-04-20 Thread Mech7
Is there anyway to get the pagination to work without redirecting to a different controller ? :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to

cake bake all with admin route?

2009-04-01 Thread Mech7
Is there a way to do bake all with admin? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to

Re: Using elements as views?

2009-02-26 Thread Mech7
, .. On Feb 25, 1:03 pm, Mech7 chris.de@gmail.com wrote: No i don't mean a layout... I kinda mean like all controllers are accessible through one page controller... and then all actions from other controllers articles / banners / etc can be loaded in that page as blocks or elements... like

Re: Using elements as views?

2009-02-25 Thread Mech7
with latest comments etc etc. On Feb 25, 12:12 am, brian bally.z...@gmail.com wrote: On Tue, Feb 24, 2009 at 11:36 AM, Mech7 chris.de@gmail.com wrote: I am having some problem with trying to accomplish many views on 1 page... I know requestAction works nice and easy but is expensive so i have

Using elements as views?

2009-02-24 Thread Mech7
I am having some problem with trying to accomplish many views on 1 page... I know requestAction works nice and easy but is expensive so i have been trying to avoid it... Basically what i am trying to do is have one page (or view) and have all the other views ( or elements ) loaded in there,

Cake bake controller scaffold..

2009-02-03 Thread Mech7
I have not used cake for a while.. and now trying to pick it up again,, but when I do.. #cake bake controller articles It works.. when i do.. #cake bake controller articles -scaffold It doesn't work it say it needs a model... but i already baked the model and with scaffold it works ok... but

Re: Modeling a friends network

2008-07-21 Thread Mech7
http://groups.google.com/group/cake-php/browse_thread/thread/e70d4147be079a08/c491f7eb4589c43c?lnk=gstq=self+habtm#c491f7eb4589c43c On Jul 21, 8:34 pm, hellfish [EMAIL PROTECTED] wrote: bumping... Any clues please? This should be simple for a more experienced user. On Jul 16, 11:56 pm,

Source code cookbook?

2008-07-21 Thread Mech7
Is the source code from the cookbook available somewhere... or some other example application where i18n is used with database data? Like looking at the bakery code helped me allot to figure out how certain things where done :) --~--~-~--~~~---~--~~ You received

Re: Cake bake does not recognize relationships?

2008-07-16 Thread Mech7
the textbox to a drop down select list. On Jul 15, 10:35 pm, Renan Gonçalves [EMAIL PROTECTED] wrote: Recognize relationships based on InnoDB relationships is planned to CakePHP 2.0.https://trac.cakephp.org/wiki/Proposals/2.0ToDoList []'s On Tue, Jul 15, 2008 at 4:07 PM, Mech7 [EMAIL

Cake bake does not recognize relationships?

2008-07-15 Thread Mech7
Does anybody know what could be wrong.. if I would bake my model / controllers / views for users it will just put a input text box for usergroup_id and in the model it just says: ?php class Users extends AppModel { var $name = 'Users'; } ? Here is the table setup..

Db connection with bake?

2008-07-14 Thread Mech7
When i bake (cake bake omg) an app.. it creates a db config like this: class DATABASE_CONFIG { var $omg = array( 'driver' = 'mysql', 'persistent' = false, 'host' = 'localhost', 'login' = 'root', 'password' =

Re: Filter on a field with two conditions.

2008-07-06 Thread Mech7
There are 2 solutions posted here: http://groups.google.com/group/cake-php/web/faq look under tricky habtm... Personally I don't really like the solutions and prefer to use my own query where i would do a normal join.. On Jul 6, 6:57 pm, JuniorCMS [EMAIL PROTECTED] wrote: Hi to all, I have

Re: Documentation

2008-06-24 Thread Mech7
Constraints on the join tables are still not described properly... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from

Re: Wordpress Redirect

2008-06-18 Thread Mech7
I have this now... how did you fix it ?? On May 26, 1:26 am, Kyle Decot [EMAIL PROTECTED] wrote: I am attempting to integrate Wordpress with CakePHP but I'm running into some problems. When I try to go to: http://www.affinityskateboards.com/blog/ I get redirected to:

Uploading SWF Files

2008-05-13 Thread Mech7
I have this strange problem where i get an error if i try to upload and swf file... pretty much all filetypes work, it is just swf that comes back with an error 1.. even when i just print the $_FILES variabel i get this, does anybody know what could be the problem why the filesize stays at 0 and

Re: Uploading SWF Files

2008-05-13 Thread Mech7
Hmmm i think the file is corrupt other files seem to work... strange as the swf works normal 0_o --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to

Re: Image Resize Helper

2008-05-12 Thread Mech7
If you use php5 and gd2 i wrote a image helper also.. it has a crop / resize function and saves png with transparent bg.. the one on the bakery didn't http://www.mech7.net/articles/view/2/cakephp-image-helper If you want it to return only the paths then change the html-image functions for

Routing doesn't work?

2008-05-02 Thread Mech7
I am trying to send tag/ to tags controller but when i put this in my routes: Router::connect('/tag', array('controller' = 'tags', 'action' = 'find')); and i go to the url /tag/php i get this: Error: TagController could not be found. Does anybody know what could be the problem?

Re: Routing doesn't work?

2008-05-02 Thread Mech7
Ah hehe yes thx it works now :D On May 2, 7:19 pm, Sliv [EMAIL PROTECTED] wrote: Think about it: You're setting up a route for /tag but then sending /tag/php and wondering why it doesn't route. Try setting the route /tag/* --~--~-~--~~~---~--~~ You received

Emal component problem

2008-04-28 Thread Mech7
I have been trying out the email component but i can't get the body of the email to send? I am using cake fro svn. When the email arrives it works ok except the body of the email is empty? This is my controller: ?php class ContactController extends AppController { /** * Use

Share auth?

2008-04-26 Thread Mech7
Is there a way to share cakephp auth, with other scripts? im using a 3rd party filemanger and it would be nice if i could acces to it through the default auth component :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: Share auth?

2008-04-26 Thread Mech7
in ajaxfilemanager within tiny mce HTH - S 2008/4/26 Mech7 [EMAIL PROTECTED]: Is there a way to share cakephp auth, with other scripts? im using a 3rd party filemanger and it would be nice if i could acces to it through the default auth component

Re: Combine and compress js / css..

2008-04-24 Thread Mech7
on top of the packerhttp://marcgrabanski.com/code/asset-mapper/ On 23/04/2008, Mech7 [EMAIL PROTECTED] wrote: Thanks i fouind this one seems quite good.. the one from bradleyboy looks ok too.. except it did not work with latest version of cake. http://sandbox2.pseudocoder.com/demo/asset

Re: Combine and compress js / css..

2008-04-23 Thread Mech7
://trac.cakephp.org/ticket/2233http://blog.bradleyboy.com/2007/07/28/assetpackager-for-cakephp/ On Apr 23, 4:53 am, Mech7 [EMAIL PROTECTED] wrote: Does anybody know a way to get this script working with Cake.. http://rakaz.nl/item/make_your_pages_load_faster_by_combining_and_com... I think because the cake

Combine and compress js / css..

2008-04-22 Thread Mech7
Does anybody know a way to get this script working with Cake.. http://rakaz.nl/item/make_your_pages_load_faster_by_combining_and_compressing_javascript_and_css_files I think because the cake url rewrite it does not work by default :( --~--~-~--~~~---~--~~ You

Re: Login auth redirects wrong with sifr..

2008-04-20 Thread Mech7
allow the login() function in your Users controller.  I'd bet a shiny penny that this is at least part of your problem. -J. On Apr 19, 4:46 pm, Mech7 [EMAIL PROTECTED] wrote: Yes but it's pretty much baiscauthsetup which i found on some of the blogs. First it redirected always

Re: W3C validation

2008-04-19 Thread Mech7
You can call the helper in only the views where they are needed. On Apr 19, 6:29 am, Lakshmi [EMAIL PROTECTED] wrote: Hi, Thanks for this. The head, body and footer have been seperated in our portal.  Hence if the script is called in the head, it would be called in all pages (even where

Login auth redirects wrong with sifr..

2008-04-19 Thread Mech7
I am using sifr, and some other javascripts which call othr files but then the login does not work anymore correctly for example it goes to: http://localhost/scms/admin/users/sifr/myriad_pro.swf Does anybody know a proper way to fix this, instead of changeing the paths in the javascript files ?

Re: Login auth redirects wrong with sifr..

2008-04-19 Thread Mech7
; }' ], wmode: 'transparent' }); On Apr 19, 6:32 pm, simonb [EMAIL PROTECTED] wrote: On Apr 19, 5:03 pm, Mech7 [EMAIL PROTECTED] wrote: I am using sifr, and some other javascripts which call othr files but then the login does not work anymore correctly for example it goes to: http://localhost

Re: Paginate on the other model?

2008-04-18 Thread Mech7
Ok i have found a way posted on the bin.. http://bin.cakephp.org/saved/21775 THe problem is when i know do a paginate on the Tag model itself this function will override the deault thus i wont get any result back :( On Apr 16, 2:32 pm, MonkeyGirl [EMAIL PROTECTED] wrote: but how can

Re: Paginate on the other model?

2008-04-16 Thread Mech7
Hmmm i see so basically it's not possible and it will not be implemented looking at the trac.. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to

Re: Auth allow ?

2008-04-03 Thread Mech7
Hmmm well it is a password field... also it is the same code as i just get it from my svn repository.. and the cakephp i also get the latest from svn.. :( On Apr 1, 4:25 pm, Chris Hartjes [EMAIL PROTECTED] wrote: On Tue, Apr 1, 2008 at 10:14 AM, Mech7 [EMAIL PROTECTED] wrote:  I am trying

Auth allow ?

2008-04-01 Thread Mech7
I am trying to allow access to some controllers.. but it seems it does not work at all? I am using latest version from SVN.. Also what is strange in windows it works normal.. but in Ubuntu the login page sends the password in plaintext does anybody know whats up with that ? :p

Re: Form create controller naming?

2008-03-09 Thread Mech7
Thanks that works :D On Mar 9, 12:46 am, Kyle Decot [EMAIL PROTECTED] wrote: I'm not really sure why it does this because I'm still pretty new to cakePHP but I had the same problem and this is how I solved it: echo $form-create(null, array('id'= 'form', 'type' = 'file', 'action' =

Emails from the bakery?

2008-03-09 Thread Mech7
Does anybody get emails from the bakery? I tried to register 3 accounts allready but i never get any email.. i had one before but i cant receive my forgotten password either ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Helpers in rss ?

2008-03-08 Thread Mech7
I just read this rss fnctionality in cake.. http://natealicio.us/posts/view/5 But how can i use helpers in the transform rss ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group,

Form create controller naming?

2008-03-08 Thread Mech7
I have a controller portfolio, but the form create keeps going to portfolios instead of portfolio, how can i set the name for the controller myself? i tried this allready: echo $form-create('Portfolio', array('id'= 'form', 'type' = 'file', 'action' = '/admin/portfolio/add')); echo

Re: CookBook PDF

2008-03-08 Thread Mech7
The API in pdf would be nice too :p On Mar 8, 11:48 pm, Greg Baker [EMAIL PROTECTED] wrote: Anyone have the cookbook in PDF format?  I tried printing it using my pdf writer in linux but it only prints the first two pages for some reason. --~--~-~--~~~---~--~~

Paginate for array (not a model?)

2008-03-05 Thread Mech7
Is it possible to use the paginate for an array? Basically hi have an article which contains pagebreaks, which i just put in an explode so it's an array.. but can i utilize the paginate function from cake for this? --~--~-~--~~~---~--~~ You received this message

Re: Paginate for array (not a model?)

2008-03-05 Thread Mech7
, 2008 at 11:22 AM, Mech7 [EMAIL PROTECTED] wrote:  Is it possible to use the paginate for an array? Basically hi have an  article which contains pagebreaks, which i just put in an explode so  it's an array.. but can i utilize the paginate function from cake for  this? Yes, you just have

How to load helpers for elements?

2008-03-04 Thread Mech7
I am currently doing it in the app_controller but the list is growing hehe.. is there a more efficient way to load them in specific elements? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to

Re: How to load helpers for elements?

2008-03-04 Thread Mech7
in. Unless you have a huge number of controllers it should be pretty simple. On Mar 4, 5:51 pm, Mech7 [EMAIL PROTECTED] wrote: I am currently doing it in the app_controller but the list is growing hehe.. is there a more efficient way to load them in specific elements

Loosing HABTM with savefield ?

2008-03-03 Thread Mech7
I have an article and tag model.. when i saved an article with tags it works fine, but i made a publish / unpublish function like below, but when i use it all habtm relations are deleted how can i prevent this? public function admin_publish($id) { $data =

generatetreelist

2008-02-25 Thread Mech7
Does anybody have any examples on how to use this function? I only get a flat list back always? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to

HABTM Recursive on itself?

2008-02-24 Thread Mech7
I am doing a find on a Tag model.. and this finds all the articles on the Article model, but is there a way to retrieve the articles with the related tags inside the article array? Setting the recursive higher does not work? :( --~--~-~--~~~---~--~~ You received

Re: HABTM Recursive on itself?

2008-02-24 Thread Mech7
googling was to change the relationship from HABTM to a HasMany/BelongsTo combination. Well, I don't know what you think but for me is a disappoiting one, so I decided to solve it with a custom SQL query. Sorry mate, Cake is not perfect!! Best regards!! Mech7 escribió:I am doing a find on a Tag

Multiple model save?

2008-02-22 Thread Mech7
I am trying to save more then one entry, and then return an array of all inserted id's only it will only save the last entry.. and returns an array of whatever was put in but all values are of the last entry of the araay. This is actually the only one being saved also. Is there any other way

Re: cakephp tree behavior + ext js (drag and drop)

2008-02-14 Thread Mech7
hmmm there is no white space in the controller.. with the exit function it should not use a view right? So i guess that is not it.. Umm also the requesthandler is loaded.. but it does not work with me, i really need to set the layout.. but maybe its because of my cakephp install cause the

Re: cakephp tree behavior + ext js (drag and drop)

2008-02-13 Thread Mech7
Ok i got it to work.. there a small changes i needed to make though.. on getnodes function the layout was not set: $this-layout = 'ajax'; In the javascript from ext, 1 was never send back as the first character at 0 but at 1.. so there was always an alert that the article could not be saved (in

Re: javascript error message

2008-02-13 Thread Mech7
I have the same thing.. either in app_controller or the controller itself Javascript is loaded.. but the variable doesnt exists.. Also problems with the security component in the latest version :( On Jan 28, 10:13 am, Novice Programmer [EMAIL PROTECTED] wrote: Is the javascript helper loaded

Re: cakephp tree behavior + ext js (drag and drop)

2008-02-12 Thread Mech7
Umm it looks nice but when i run the populate function i get: Warning (512): SQL Error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'populate' at line 1 [C:\wamp\www

Re: cakephp tree behavior + ext js (drag and drop)

2008-02-12 Thread Mech7
umm nevermind hehe my mistake i placed the poulate function outside the model :# --~--~-~--~~~---~--~~ 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

TInyMCE 3.0 + Cake..

2008-02-11 Thread Mech7
Hi i am loading TinyMCE 3 and it works great.. only when i load some extra plugins cake sees them as controllers, and it will throw up errors like: emJsController/em could not be found./p 50p class=error 51 strongError: /strong 52 Create the class emJsController/em below in file: app/

Re: Customize html outputted by form helper?

2008-02-10 Thread Mech7
' = array('text' = false), 'maxLength' = '4', 'after'= '/div', 'class' = 'phone', 'div' = false )); I'm not an expert by any stretch, but the above works. The form helper is very flexible. --Jeremy On Feb 9, 2:12 pm, Mech7 [EMAIL PROTECTED] wrote: Is there a way to template the html

Re: when to use Configure::method() over a DEFINE?

2008-02-09 Thread Mech7
Unless you want to give user control over the search result ;) On Feb 9, 12:58 am, John David Anderson (_psychic_) [EMAIL PROTECTED] wrote: On Feb 8, 2008, at 4:49 PM, johnnyice wrote: A define is probably what you want, since number of search results isn't going to change dynamically in

Customize html outputted by form helper?

2008-02-09 Thread Mech7
Is there a way to template the html generated by the form helper ? --~--~-~--~~~---~--~~ 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: Is there a good solution for this?

2008-02-09 Thread Mech7
Ummm it does give allot of overhead to request all comments and only display a few... especially on a high traffic site. On Feb 9, 8:00 pm, MonkeyGirl [EMAIL PROTECTED] wrote: I want to return only a number of comments (that is defined in visiblecomments) in every story. This seems like an

Re: CakePHP guide

2008-02-08 Thread Mech7
Hmmm yes all these blogs scattered everywhere really doesn't help anybody... I hope one day cake will have a manual to the standards of ZendFW.. http://framework.zend.com/manual/en/ It's easy to read and has lots of example code... for every part of the framework.

Re: Upgrade problems

2008-01-26 Thread Mech7
Hmm somhow this issue appeared again... i deleted all cache, restarted server nothing.. When i try some echo's it seems to go wrong at the Dispachter class which is called in index.php Specifically: $this-start($controller); Line 226 on cake/dispachter.php When i do a vardump or print_r or

The bakery is borked...

2008-01-22 Thread Mech7
No articles work anymore ? http://bakery.cakephp.org/articles/view/bindable-behavior-control-your-model-bindings The Article could not be found Its the same with every other article.. --~--~-~--~~~---~--~~ You received this message because you are subscribed to

Problem with theme's

2008-01-08 Thread Mech7
I have a login function in app_controler, where i redirect the user to the login form when it is not logged in.. $this-redirect('/users/login'); Only it can't find the theme: Error: The view for UsersController::login() was not found. Error: Confirm you have created the file:

Upgrade problems

2008-01-03 Thread Mech7
Ok i was using the latest nightly from a few weeks ago.. but i saw the new beta was released so i updated it.. but with the new beta or latest nightly my pages don't output anything anymore.. just blank does anybody know what is going on here :| Apache Version : 2.2.6 PHP Version : 5.2.5

Re: Upgrade problems

2008-01-03 Thread Mech7
Ah hehe thx well i found the problem.. i had to clear the cache from my app in cake.. now it runs fine again :D On Jan 3, 10:05 pm, Chris Hartjes [EMAIL PROTECTED] wrote: On Jan 3, 2008 3:52 PM, Mech7 [EMAIL PROTECTED] wrote: Ok i was using the latest nightly from a few weeks ago.. but i

Re: Controller theory question

2007-12-10 Thread Mech7
You can also load an object, in app_controller so the first is really the only reason.. its available always, so you dont have to load it :) On Dec 10, 10:49 pm, Deane [EMAIL PROTECTED] wrote: Say I need to make some functionality globally available to all my controllers. What's the

Re: Using PHP 5 Functionality In Your App

2007-12-07 Thread Mech7
Personally i don't care for php4 anmyore.. most hosting offer now php5 anyway.. also i think this year support will be dropped for it. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this

Re: Update gone wrong.

2007-12-01 Thread Mech7
30, 2007 7:33 PM, Mech7 [EMAIL PROTECTED] wrote: It still does not work.. it can't read the cache configuration.. even though all it is supposed to do is throw up an error and revert to default file caching.. Hrm, you have provided me with a clue here. I do not have the Configure

Re: Update gone wrong.

2007-11-30 Thread Mech7
::config('default', array('engine' = 'File')); } } On Nov 29, 6:21 pm, Chris Hartjes [EMAIL PROTECTED] wrote: On Nov 29, 2007 11:55 AM, Mech7 [EMAIL PROTECTED] wrote: Does anybody allready solve this? even with a total new setup this problems still occurs.. i opened

Re: Update gone wrong.

2007-11-29 Thread Mech7
Does anybody allready solve this? even with a total new setup this problems still occurs.. i opened a ticket but it was closed because not enough info? But really how can i provide more if i don't know what is the problem :| --~--~-~--~~~---~--~~ You received this

Re: Update gone wrong.

2007-11-16 Thread Mech7
\cake_1.2\cake\bootstrap.php on line 54 On Nov 16, 1:44 am, Chris Hartjes [EMAIL PROTECTED] wrote: On Nov 15, 2007 6:25 PM, Mech7 [EMAIL PROTECTED] wrote: Did anybody allready found a fix for this? 1.2 still does not want to run with me outside the app dir :| Perhaps I'm just lucky and Murphy

Re: Update gone wrong.

2007-11-15 Thread Mech7
Did anybody allready found a fix for this? 1.2 still does not want to run with me outside the app dir :| --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to

Re: Update gone wrong.

2007-11-15 Thread Mech7
I think it is also because : $cache = Cache::settings(); This never gets filled i think because there is no settings function in cache.php? Cache::config('default', array('engine' = 'File')); after the trigger error its sets it to default, but it does not work: Fatal error: Call to undefined

Nightly builds?

2007-11-13 Thread Mech7
Is it me or does anybody else get also tempy files with the nightly builds lately ? --~--~-~--~~~---~--~~ 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

Re: Update gone wrong.

2007-11-01 Thread Mech7
DId anybody allready found a solution for thi :( ? --~--~-~--~~~---~--~~ 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

Re: Cakephp or something like Drupal

2007-11-01 Thread Mech7
sounds more like a custom app.. so i would go for cake. On Nov 1, 6:51 pm, moesian [EMAIL PROTECTED] wrote: Hi, I'm looking to setup a site that draws the odds from the xml feeds of various betting sites, stores them in a database and compares them in various ways. Question is am I better

Re: Looking for a Cake 1.2 sample application with ACL and Auth

2007-10-30 Thread Mech7
I thought there where allot of things changed with ACL? On Oct 30, 9:14 am, Adwin Wijaya [EMAIL PROTECTED] wrote: the ACL should be similiar with the 1.1 ;) you can use IBM tutorial for the ACL. On Oct 30, 6:53 am, lemp [EMAIL PROTECTED] wrote: In the last few days, I started a new

Re: Update gone wrong.

2007-10-30 Thread Mech7
mmm strange i tried it and the problem only occurs when the cake dir is outside the app dir.. when the app dir is togheter with the new version of 1.2 it does work? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Update gone wrong.

2007-10-27 Thread Mech7
Me too.. the cache dir is still there.. and the config is set and still this error :( On Oct 22, 1:38 pm, Charlie van de Kerkhof [EMAIL PROTECTED] wrote: Still have this problem. Warning (512):Cachenotconfigured. Please useCache::config(); in APP/config/core.php [CORE/cake/bootstrap.php, line

Re: Cache error after update..

2007-10-25 Thread Mech7
, 7:18 pm, Mech7 [EMAIL PROTECTED] wrote: I updated cake 1.2 from the nightly yesterday.. only now i get this: Warning: Cache not configured. Please use Cache::config(); in APP/ config/core.php in C:\wamp\www\cake_1.2\cake\bootstrap.php on line 52 Fatal error: Call to undefined method Cache

Cache error after update..

2007-10-24 Thread Mech7
I updated cake 1.2 from the nightly yesterday.. only now i get this: Warning: Cache not configured. Please use Cache::config(); in APP/ config/core.php in C:\wamp\www\cake_1.2\cake\bootstrap.php on line 52 Fatal error: Call to undefined method Cache::config() in C:\wamp\www

Re: Stable vs Development

2007-10-17 Thread Mech7
I have only had problems one time before with nightly builds.. and next day was fixed :) On Oct 16, 8:16 pm, Jeff Seibert [EMAIL PROTECTED] wrote: I am using the latest alpha of 1.2 in production with no issues at all but I am considering upgrading to a recent nightly build. Have you guys

Re: ACL Admin plugin AD7six No User Model

2007-10-16 Thread Mech7
Sorry for the offtopic.. but i have been looking for a ACL plugin, is this for 1.2 and is it being maintained? On Oct 16, 11:09 am, AD7six [EMAIL PROTECTED] wrote: On Oct 15, 9:03 pm, seacloud9 [EMAIL PROTECTED] wrote: I have followed the following instructions: 1) Extract all files into

Re: cakePHP and ecommerce security reisks

2007-10-12 Thread Mech7
Well to be honest this is one point that is not as clearly pointed out in the tutorials and manual as it should have been. On Oct 12, 2:22 pm, AD7six [EMAIL PROTECTED] wrote: On Oct 12, 10:28 am, Sharkoon [EMAIL PROTECTED] wrote: Well he's got a point. When I have this:

Re: Eclipse code completion in Views

2007-10-12 Thread Mech7
Btw does anybody know how to have the codeassist popup automatically? Like with Zend neon? no ctrl + space needed? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email

Re: cakePHP and ecommerce security reisks

2007-10-12 Thread Mech7
It would be nice idea if this is pointed out in big red letters in the blog tutorial and manual ;) As i think allot of users will be overlooking on this. On Oct 12, 2:58 pm, djiize [EMAIL PROTECTED] wrote: One best practice, specify which fields are to be

Re: Eclipse code completion in Views

2007-10-11 Thread Mech7
I think in ZDE this worked by default just not on Eclipse + PDT :( --~--~-~--~~~---~--~~ 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: Eclipse code completion in Views

2007-10-11 Thread Mech7
Strange it does for me ? On Oct 11, 3:19 pm, Luigi [EMAIL PROTECTED] wrote: no it doesn't. at least for me. On 10/11/07, Mech7 [EMAIL PROTECTED] wrote: I think in ZDE this worked by default just not on Eclipse + PDT :( -- Luigi

Re: Extra data in HABTM tag set-up

2007-10-09 Thread Mech7
: On Oct 9, 1:22 am, Mech7 [EMAIL PROTECTED] wrote: Me neither.. everybody says use with in 1.2 for using the join table data, but nobody can tell it clear on how it use it :| Except from selecting on foreign keys in the join table or displaying it in a view. with is unnecessary now

Re: Extra data in HABTM tag set-up

2007-10-08 Thread Mech7
Me neither.. everybody says use with in 1.2 for using the join table data, but nobody can tell it clear on how it use it :| Except from selecting on foreign keys in the join table or displaying it in a view. On Oct 6, 1:45 pm, R. Rajesh Jeba Anbiah [EMAIL PROTECTED] wrote: On Oct 3, 3:00 am,

Re: new With Associations in a HABTM

2007-10-05 Thread Mech7
coders answer ten questions for every question they ask. So be smart, be cool, and share your knowledge. BAKE ON! blog:http://www.MarianoIglesias.com.ar -Mensaje original- De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre de Mech7 Enviado el: Miércoles, 26 de

Re: new With Associations in a HABTM

2007-09-26 Thread Mech7
When i try exactly the same as the example in the pdf, except Post is called Article i only get the results of the table in between? Has anybody else have this problem?: Array ( [0] = Array ( [TaggedArticle] = Array ( [article_id] = 31

Re: Way to mimic modules of zend framework on cakephp ?

2007-09-19 Thread Mech7
Maybe you could change the bootstrap file and make the array name dynamic of the controller that is being requested ? $modelPaths = array('full path to models', 'second full path to models', 'etc...'); $viewPaths = array('this path to views', 'second full path to views', 'etc...');

Re: new With Associations in a HABTM

2007-09-16 Thread Mech7
Yes i tried but something like: $this-set('articles', $this-paginate('Article', array('Category.name' = $category_name))); Will always throw up an error that there is no such field :( On Sep 15, 10:59 pm, Chris Hartjes [EMAIL PROTECTED] wrote: On 9/15/07, Mech7 [EMAIL PROTECTED] wrote

Re: new With Associations in a HABTM

2007-09-15 Thread Mech7
Hmm well i have looked and it but it is not clear to me at all.. can anybody please write a proper explanation for it preferable on the bakery so it will be usefull for others too :) On Aug 22, 1:10 am, Marcin Domanski aka kabturek [EMAIL PROTECTED] wrote: Ive read the pdf but i dont expect a

Re: new With Associations in a HABTM

2007-09-15 Thread Mech7
Well from what i have read it is possible to search across HABTM so you can have tag.name = 'php' as a parameter to search posts within the post controller. On Sep 15, 7:09 pm, Chris Hartjes [EMAIL PROTECTED] wrote: On 9/15/07, Mech7 [EMAIL PROTECTED] wrote: But this only displays how

Re: Advanced image manipulation in Cake? (cropping, resizing)

2007-09-09 Thread Mech7
I think its the same used in: http://www.phpletter.com/Demo/Ajax-File--Manager/ and that works fine for me :) with tinymce, check if GD or ImageMagick is installed On Sep 9, 9:29 pm, d'plus [EMAIL PROTECTED] wrote: Olexandr Melnyk napisał(a): Check out ImageMagick (not CakePHP plugin, but a

Re: DBDesigner 4 Scaffold Tools for CakePHP - 1.0.0 FINAL

2007-09-08 Thread Mech7
Will this work on MySQL workkbench too? I am no vista no on my laptop and DbDesigner does not work anymore on it, also there is no support for it anymore :( On Sep 8, 8:26 am, Dérico Filho [EMAIL PROTECTED] wrote: Hello All, I just released the final version of DBDesigner 4 Scaffold Tools for

Re: DBDesigner 4 Scaffold Tools for CakePHP - 1.0.0 FINAL

2007-09-08 Thread Mech7
Thanks but it does not seem to work either, i just can't connect with Vista and DbDesigner, MySQL Workbench works only it's in alpha state, so i dont know how stable it is. On Sep 8, 9:36 am, Larry E. Masters aka PhpNut [EMAIL PROTECTED] wrote: Mech7, This might be useful. http

  1   2   3   >