Get post with comments

2013-01-09 Thread Max Power
Hi, I want to paginate over posts which has some comments. That is, I want to get from the database only those posts which has al least one comments and, for each post, all the associated comments: $post = array( [0] = array( Post, Comments = array( [0] =

Re: Cake 2.2 Can't save/update database

2012-09-17 Thread Max Dörfler
= $playerID) and then save or saveField Max On 09/16/2012 11:18 PM, d6games wrote: The following code in my PlayersController doesn't error but also doesn't save anything to the database table... private function authorize($tag, $pass) { $findPlayer = $this-Player-find('first', array

Re: Edit User on second submit

2012-07-11 Thread Max Dörfler
I guess in your view you have to pass in the id (echo $this-Form-input('id');). This should include a hidden id field. I wonder why it works the first time (without leaving a field blank). Are you sure the user gets edited and not a new user created? Because when you save $this-request-data,

Re: Problem with adding records

2012-07-11 Thread Max Dörfler
Is the Auto Increment attribute set for the ID column? On 07/11/2012 03:39 PM, mohit kumar wrote: Hi Folks, I created an add action for users, I am trying to register them using this action. Everything is going fine, the data is being submitted, the passwords are being hash and if I check

Re: Is there a way to override CakeRequest.php (and for that matter any other Lib file) at the App level?

2012-07-03 Thread Max Dörfler
Hi, have you tried copying the core CakeRequest.php to app/Lib/Cake/Network/CakeRequest.php and do your changes there? I think I remeber doing something like this with the Dispatcher and cake automagically used the one from the app. The problem I had back then was that I had to copy the

Re: User Info from Auth Component

2012-06-20 Thread Max Dörfler
should both return/contain the full user information - i.e. all fields from the users DB table. This behaviour is strange. Can you provide more info on your exact implementation. Cheers, Borislav. On Wednesday, 20 June 2012 00:36:24 UTC+3, Max Dörfler wrote: http

Re: User Info from Auth Component

2012-06-19 Thread Max Dörfler
http://book.cakephp.org/2.0/en/core-libraries/components/authentication.html#identifying-users-and-logging-them-in In 2.0 $this-Auth-login($this-request-data) will log the user in with whatever data is posted, whereas in 1.3 $this-Auth-login($this-data) would try to identify the user first and

Re: Count (return as a number) associated data.

2012-06-18 Thread Max Dörfler
You could get the size of $result['Post'] if you already have the $result like you wrote. See count() or sizeof(). Or you could do a find('count') on the Post Model like $this-User-Post-find('count', array('conditions' = array('Post.user_id' = 2))); On 06/19/2012 12:24 AM, JonStark wrote:

Re: MediaView Videos and Safari on iPad

2012-05-30 Thread Max D
-mobile-devices I hope to find the time to clean up and release the code. Am Donnerstag, 24. Mai 2012 17:57:48 UTC+2 schrieb Max D: Hi, Cake: 2.0.3 I'm using MediaView to deliver videos to the user. This works great on Firefox, Safari and on my Android Phone but when I try to use

Re: Cake Bake under Ubuntu

2012-05-25 Thread Max Kiehnscherf
On 25 Mai, 08:46, luca capra luca.ca...@gmail.com wrote: Don't use sudo. Try: # cd in your app dir cd /home/max/akk/app # run cake with the full path, or relative like ../cake/console/cake /home/max/akk/cake/console/cake bake Probably you will need to reset permission sudo chown

Re: Cake Bake under Ubuntu

2012-05-25 Thread Max Kiehnscherf
On 25 Mai, 15:22, Mike Griffin griff...@gmail.com wrote: Have you got the php mysql packages installed? And mysql-server and mysql-client? Mike. I've got xampp installed. Is that enough? -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the

MediaView Videos and Safari on iPad

2012-05-24 Thread Max D
= true, but it did nothing. One thing I noticed is, that the Video is requested by a different User-Agent called AppleCoreMedia. Anybody has experience with MediaView, Videos and an iPad? Thanks in advance. Max -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org

Cake Bake under Ubuntu

2012-05-24 Thread Max Kiehnscherf
Hello guys, im pretty new to CakePHP and at the moment im trying to bake a user- system via the console. I used this tutprial for this: http://insanityville.com/2010/04/how-to-bake-on-ubuntu-using-cakephp/ But everytime I do cake bake i get this Error-message: max@max-ubuntu:~/akk/cake

Overriding Auth

2011-04-26 Thread Max
I'm not getting through a login now... if i try to debug $this-CoreAuth at any point during the login process, Auth doesnt appear to be instantiated at all... inheritance hasn't occurred after extending it in CoreAuthComponent. Some guidance would be appreciated. Max -- Our newest site

Re: user defined table fields

2011-04-26 Thread Max H. Thayer
HABTM/HasMany construct. Max H. Thayer maxtha...@gmail.com On Apr 26, 2011, at 10:31 PM, turbo2ltr wrote: I'm working on a system that needs to allow users to add their own attributes to the DB. For instance if you had a movies database, I need to allow the user to go into the attribute

Re: find all with at least one associated model

2010-11-03 Thread Max D
countercache and then just add post_count 0 to conditions... if you cant zdf countercache for some reason you could also inner join the posts Table, which would leave all blogs that have no assocciated post... On 1 Nov., 18:29, Max D max.doerf...@googlemail.com wrote: Hi, i use cake 1.3

find all with at least one associated model

2010-11-01 Thread Max D
. Any ideas how I can achieve this? Thanks in advance Max 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, send email

RSS in the Bakery broken

2010-10-27 Thread Max D
Hey, the RSS feed in the bakery seems to be broken. I worked a while ago, but now http://bakery.cakephp.org/articles/rss throws an error: Error: The requested address '/articles/rss' was not found on this server. I didn't know who to contact with this issue. Regards Max Check out the new

Re: RSS in the Bakery broken

2010-10-27 Thread Max Dörfler
Am 27.10.2010 12:19, schrieb Max D: Hey, the RSS feed in the bakery seems to be broken. I worked a while ago, but now http://bakery.cakephp.org/articles/rss throws an error: Error: The requested address '/articles/rss' was not found on this server. I didn't know who to contact with this issue

Re: where can i find permissions to delete folders?

2010-09-07 Thread Max Dörfler
rmdir just works on emty directories NAME rmdir - remove empty directories SYNOPSIS rmdir [OPTION]... DIRECTORY... DESCRIPTION Remove the DIRECTORY(ies), if they are empty. rm -r would recursively delete a nonempty directory, but it's a dangerous

Re: where can i find permissions to delete folders?

2010-09-07 Thread Max Dörfler
into great detail, because now I'm not sure what causes the problem. I thought it just was the rmdir thingie. ;) Sorry! Max Am 07.09.2010 14:40, schrieb Tomfox Wiranata: thx max... but even if it is empty i get the same error is there maybe a file where i can set some paths free for deletion

Re: isAuthorized seems not to be called

2010-09-06 Thread Max Dörfler
Hi, Since it's the login and register action, I bet you have them in allow(). So the Auth component is disabled for those actions and isAuthorized is never called. You need to check it somewhere else (e.g. beforeFilter). Max Am 05.09.2010 22:28, schrieb Simon: I have a isAuthorized

Re: CakePHP site, all pages locked out to non-admins

2010-09-01 Thread Max Dörfler
for all/some actions, read about the allow() function (http://book.cakephp.org/view/1257/allow) Max Am 01.09.2010 20:04, schrieb Skip Evans: Hey all, I'm pretty new to CakePHP, but a long time PHP coder, and am doing some maintenance work on an existing Cake site. Right now, any attempt to access

Re: after adding an hasOne relation to model it is not available in my view anymore

2010-08-19 Thread Max Dörfler
Hi, whats the find call for $user? what does debug($user); spit out? Greetings Max Am 19.08.2010 20:58, schrieb Tomfox Wiranata: hi, weird thing. i declare a hasOne relation: class User extends AppModel { var $name = 'User'; var $hasOne = array( 'Link' = array

Re: Save moltiple fields at once

2010-08-17 Thread Max Dörfler
', array('value' = $setting['Setting']['id'])); echo $this-Form-input('Setting.'.$key.'.value'); } echo $this-Form-end('edit'); ? This should work. Please correct me, if there is an easier way. Regards Max Am 17.08.2010 10:39, schrieb Konstantin: Hello! I have a settings table and I want

Re: auth component issue

2010-08-12 Thread Max Dörfler
password). So, to keep the encrypted password, don't save it again. (unset the password field or don't load it or exclude it from your fields array or ...) Greetings Max Am 12.08.2010 14:32, schrieb james: Hi, I'm using the auth component and ive noticed that if i edit a users details from

Custom find Methods in Behavior

2010-08-11 Thread Max Dörfler
in a behavior? Thanks Max 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, send email to cake-php@googlegroups.com

Re: hasMany Problem

2010-08-11 Thread Max Dörfler
höher. ;) Gruß Max Am 11.08.2010 10:30, schrieb JuMiFi: Hallo liebe Community, ich habe eine Frage bzgl. hasMany... Ich habe ein Model User (users), welches via hasOne u.a. auf Account (users_accounts) und File (users_files) zugreift. Ausserdem kann es via hasMany auf Friends (friends) zugreifen

Re: Upload Photo Using PHP

2010-07-22 Thread Max Dörfler
Hi, have a look at File Fields: http://book.cakephp.org/view/1411/File-Fields and the FileUpload Component, which does pretty much everything for you. http://github.com/webtechnick/CakePHP-FileUpload-Plugin It works with or without a model, but it's all explained in the readme. Am 22.07.2010

saveAll and validation Error on associated Model

2010-07-19 Thread Max Dörfler
problem. Cheers Max 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, send email to cake-php@googlegroups.com To unsubscribe

Re: Tree Reorder: What Does it Do?

2010-07-16 Thread Max
Not sure if this applies but I had an existing DB that has: id | name | parent_id I added the two other fields (lft and rght) but how to I get these populated with the correct values so 'generatetreelist' will work correctly? Thanks. On Jul 16, 8:37 am, Kirk k...@kirkkahn.com wrote: Why are

Re: Cakephp and XAMPP installation nightmare, Can't get cake to understand root

2010-07-12 Thread Max Dörfler
And try registration in the url, not registeration cheers Am 12.07.2010 10:30, schrieb nini: Try http://localhost/cake1.3.2/users/registeration and please read manual. On Jul 12, 1:20 am, Dinu464dineshsu...@gmail.com wrote: 1) XAMPP 1.7.3 setup and workinghttp://localhost/xampp/-

How I can add USE INDEX() find() method

2010-03-31 Thread max
Hello I want force use mysql multiple-field index. Mysql don't use multiple-field index in my query. How I can add USE INDEX to the Model-find() method? After call Model-find() method Cakephp executed this query SELECT * FROM `table` where a=1 AND b2 ORDER BY b How I can add USE INDEX into

Re: requestAction (v1.22) - User input being returned to calling action, preventing form validation

2009-03-23 Thread Max Granados
Well, I think I don't undestand very well what are you trying to do, I use requestAction in an proyect Im working. $results = $this-requestAction('/diferentController/function/'. $parameter); and in that function I validate and work with the info, as a tip requestAction doesn't accept or return

Re: What do you develop in (ide, text editor, etc.)?

2009-03-05 Thread Max Granados
I use Komodo edit too, it's a great editor I recommend it ;D On Mar 4, 5:43 pm, uristar robert.rusz...@gmail.com wrote: Komodo :)http://www.activestate.com/komodo_edit/ On Mar 1, 10:35 pm, Samuel DeVore sdev...@gmail.com wrote: a tutu and go go boots On Sun, Mar 1, 2009 at 12:34 PM,

Re: Call Functions of another controller.

2009-03-05 Thread Max Granados
well, what exactly Im trying to do is make a function that registers every movement of my application; I tried make a component but because depending of the parameters its the table that I extract the information; the component doesn't work so I tried the metod above cause was the one someone

Call Functions of another controller.

2009-03-04 Thread Max Granados
Hello Everyone! I want to now if someone knows how to call a function from another controller, I have already tried $results = $this-WhateverModelIs-TheModelIWantToCall- thefunctionIwanttocall($passeddata); but cake sends me this notice: Notice: Undefined property:

Re: New api template =(

2009-01-30 Thread max
Thank you ever so much! So much easier. --~--~-~--~~~---~--~~ 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

New api template =(

2009-01-28 Thread max
Hello guys. Sorry for the terrible English. Today, I sуе that changed api.cakephp theme design. Theme very nice, but properties and methods sorted randomly =( This is very inconvenient for me. But in previous version of alphabet (Perhaps I am wrong, but the old version was more convenient for

Re: Templating for Shops

2008-06-03 Thread Max
Thank you Ianh, this looks nice... I'll give it a try. Max On Jun 2, 10:05 pm, ianh [EMAIL PROTECTED] wrote: For a super-lightweight templating system a modified version of which I use for customizable emails, you could tryhttp://www.massassi.com/bTemplate/. It doesnt do string modifiers

Re: Templating for Shops

2008-06-02 Thread Max
Thank you Dr. Sani, The problem with that is that it limits features that the user can do. No iterations, string modifiers, etc... I am looking to implement roughly the same features and flexibility that smarty supports. --~--~-~--~~~---~--~~ You received this

Re: Templating for Shops

2008-05-31 Thread Max
Thanks for your e-mail! Users are expected to be familiar with HTML. This templating thing is mostly aimed at web developpers. The main goal here is security. I want to prevent them from executing php code on the server. Max On May 31, 12:18 am, mbavio [EMAIL PROTECTED] wrote: Your users

Templating for Shops

2008-05-30 Thread Max
wondering what has been tried with CakePHP and works well. Regards, Max Deputter --~--~-~--~~~---~--~~ 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

Re: OT: Shitty Community

2008-05-08 Thread Max
Just went through the conversation and I think I should start posting more here from today itself. A bit harsh though, but benjam did had a point --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To

Re: Why custom model functions inside plugin models are not called?

2008-04-23 Thread Max
the same when creating associations within the plugin's models: PluginName.ModelName. Good luck. On Apr 22, 12:59 am, Max [EMAIL PROTECTED] wrote: Consider a scenario: In file /app/controllers/users_controller.php //review is the plugin model which is here: /app/plugins/reviews/ models

Re: Why custom model functions inside plugin models are not called?

2008-04-23 Thread Max
}videos'), 'PluginName.Trackable' = array(), ); This trackable behavior is inside some plugin.. so, will it work? doesnt look like so. On Apr 24, 7:04 am, Max [EMAIL PROTECTED] wrote: Great info... Thanks

Re: Three-level hasMany in view with form helper

2008-04-20 Thread Max Romantschuk
Just checking... Any thoughts on this, anyone? :) Thanks, Max Romantschuk --~--~-~--~~~---~--~~ 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

Three-level hasMany in view with form helper

2008-04-18 Thread Max Romantschuk
I'm working on a form for a three-level hasMany relationship. Conceptually: Book hasMany Chapter hasMany Paragraph. (Model names for illustrative purposes.) I'm using the form helper to render my form. The main parent model (Book) stuff works fine, and I can do the Chapters by supplying

Methods of serving images from plugins

2008-04-18 Thread Max
From last few days, I was trying to create plugins which will have CSS/ JS/Images inside them. I tried .htaccess way, it might work, but that is something which I dont want to implement as that would be a hack. So basically, I am not able to find any good solution for the same. Is anybody here

Re: Webroot folder in Plugins

2008-04-16 Thread Max
-taking-advantage-of-plugins-in-cakephp/ I've somehow worked with the 'vendors' inside plugin to server css and js, but that wouldn't be enough when my plugins start gaining weight. On Apr 15, 3:26 pm, Dr. Tarique Sani [EMAIL PROTECTED] wrote: On Tue, Apr 15, 2008 at 12:40 AM, Max [EMAIL PROTECTED

Re: Webroot folder in Plugins

2008-04-14 Thread Max
I've been looking for the very same thing from last few hrs.. Changeset 6189 (https://trac.cakephp.org/changeset/6189) suggests that JS and CSS support is added, but I cant seem to even access css/js files inside my plugin directory. What folder am I supposed to keep inside my plugin folder?

Re: Plugin Models - Not needed?

2008-04-14 Thread Max
Are you setting up HABTM between plugin models and app models? ..just curious. On Apr 14, 11:34 pm, leafspan [EMAIL PROTECTED] wrote: Ok, so I've run into an issue that is literally just stupid, and I'm baffled. I have a plugin with several controllers and models, fully operational,

Re: Validation criteria alphaNumeric doesn't accept special chars

2008-04-08 Thread Max Romantschuk
... :) .max --~--~-~--~~~---~--~~ 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 options

Re: Validation criteria alphaNumeric doesn't accept special chars

2008-04-07 Thread Max Romantschuk
there! :) Regards, Max Romantschuk http://max.romantschuk.fi/ --~--~-~--~~~---~--~~ 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: safe mode error

2008-01-15 Thread Max
I'm on a shared host too. in configure.php $path = rtrim($path, DS); if ( $path=='/usr/local/lib/php') continue;//for SAFE MODE Restriction if ( $path=='.' || in_array(realpath($path), $used)) { continue; }

Re: Themes management for an app ?

2008-01-04 Thread Max
, Max [EMAIL PROTECTED] wrote: I was wondering if there's good component/helper or anything is available to support themes in my app. shameless plug http://www.sanisoft.com/blog/2007/12/29/theming-your-cakephp-apps-v12/ /shameless plug Are you looking for something else? Cheers Tarique

Themes management for an app ?

2008-01-03 Thread Max
Hey guys, I was wondering if there's good component/helper or anything is available to support themes in my app. This solution a href=http://abing.gotdns.com/posts/2006/themeable- view-class-for-cakephp/here/a doesnt look too good, as it changes CakePHP's folder default structure. Please

Looking for feedback on idea

2007-12-11 Thread Max
I recently had this idea which might be the BETTER way to send out Emails using CakePHP. http://www.gigapromoters.com/blog/2007/12/11/a-better-way-to-send-emails-than-cakephps-default-email-component/ Looking for your feedbacks.. --~--~-~--~~~---~--~~ You

Re: cakePHP and ecommerce security reisks

2007-10-10 Thread Max
I agree with you... Infact, I've been thinking about it from long time. Its surely a security risk... Though it looks like we are just exposing the database structure, but its still a confidential information, which can take attacker to his aim Cake might be secured enough, but consider some

Re: $html-checkboxTag

2007-08-17 Thread Max
There's an error with your PHP code ?php echo $html-checkboxTag(customer/ f_name,'',array(id=f_name,onclick=enableField())); ? Above should work... Here's the syntax: checkboxTag ($fieldName, $title=null, $htmlAttributes=null, $return=false) On Aug 17, 7:33 pm, Unite [EMAIL PROTECTED] wrote:

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

2007-07-02 Thread Max
will help us implement the pre-developed code easily ? Please share your ideas and do post your methods which you use to handle it... Thanks Max --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post

Which editor you use for views ?

2007-06-20 Thread Max
Hi Guys, Just to see your opinion... What editor you use to edit/create views ? I've been using Notepad ever since I started using cake, and now I'm using Dreamweaver... What about you guys ? Max --~--~-~--~~~---~--~~ You received this message because you

Re: More about Behaviors ?

2007-06-19 Thread Max
Thanks a lot for explanation, Ad and Dan. I guess it will be interesting to work more with them :) Max On Jun 19, 12:00 pm, AD7six [EMAIL PROTECTED] wrote: On Jun 19, 6:26 am, Max [EMAIL PROTECTED] wrote: Hi All, I've been trying to find more about behaviors to start with them. But I

More about Behaviors ?

2007-06-18 Thread Max
- why we use them ? what are the advantages ? etc... I would appreciate your response. Thanks a lot... Max --~--~-~--~~~---~--~~ 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

Multiple Paths for Models/Views/Controllers in paths.php

2007-02-22 Thread Max
will be appreciated... Thanks Max --~--~-~--~~~---~--~~ 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: Multiple Paths for Models/Views/Controllers in paths.php

2007-02-22 Thread Max
= array('full path to models', 'second full path to models', 'etc...'); * $viewPaths = array('this path to views', 'second full path to views', 'etc...'); * $controllerPaths = array('this path to controllers', 'second full path to controllers', 'etc...'); * */ On Feb 22, 7:38 pm, Max [EMAIL PROTECTED

Re: Decorate (bake) modified

2007-02-15 Thread Max
Do you mind posting some textual information here ? Will be really helpful for everyone to see... On Feb 15, 4:00 am, fredBH [EMAIL PROTECTED] wrote: Hi everyone ! I wanna share with u my modified version of decorate( bake script with pagination e others stuff ). The link

Re: Wrapping Cake in a Joomla component, like Cake + Drupal = Drake

2007-02-15 Thread Max
Good work Mariano... Its finally taking a great shape. On Feb 15, 9:47 am, Mariano Iglesias [EMAIL PROTECTED] wrote: You asked, and you've got it ;) I've set up a demo to run Cheesecake (getting Cheescake all in one release on its Cakeforge site, which includes CakePHP 1.1.11.4064)

Re: Wrapping Cake in a Joomla component, like Cake + Drupal = Drake

2007-02-14 Thread Max
Thanks Mariano for extending the project. I can work more on inter- communication of Joomla components and Jake. On Feb 14, 12:27 am, Mariano Iglesias [EMAIL PROTECTED] wrote: It's getting even awesomer: Jake can now be installed/uninstalled by using the Joomla's component installation

Re: Wrapping Cake in a Joomla component, like Cake + Drupal = Drake

2007-02-14 Thread Max
Also, I am looking forward to see your contribution so that we can work together on the project. On Feb 14, 12:27 am, Mariano Iglesias [EMAIL PROTECTED] wrote: It's getting even awesomer: Jake can now be installed/uninstalled by using the Joomla's component installation facility. I'm now

Re: Wrapping Cake in a Joomla component, like Cake + Drupal = Drake

2007-02-13 Thread Max
Just posted it: http://www.gigapromoters.com/blog/ On Feb 9, 8:34 pm, Dr. Tarique Sani [EMAIL PROTECTED] wrote: On 2/9/07, Max [EMAIL PROTECTED] wrote: I have successfully done this. Will post soon on my blog... Hurray!! Do post a link when you post to your blog Cheers Tarique

Re: Associations stored in a table?!

2007-02-09 Thread Max
Hi Mindchanger, I will be interested in knowing more about the main requirements behind this... It looks interesting. On Feb 9, 1:50 am, mindcharger [EMAIL PROTECTED] wrote: Hi Hawk, I'm currently developing a system that shares that dynamic table creation requirement with yours. As far as

Re: Route problem

2007-02-08 Thread Max
I am looking for the same solution.. On Feb 8, 12:38 am, Ámon Tamás [EMAIL PROTECTED] wrote: Hello, I have a site with cake with normal routing (like /controller/action/). And I like to make it multilingual. I wondering to change every link to /lngcode/controller/action, where is lngcode is

Re: Associations stored in a table?!

2007-02-08 Thread Max
I believe it will just increase complexity than being more flexible... However, I would like to know more about your example and why you need to do this ? On Feb 8, 1:53 am, Hawk| [EMAIL PROTECTED] wrote: Hi, i wonder if it would be possible to store the associations in a table instead of

Re: Wrapping Cake in a Joomla component, like Cake + Drupal = Drake

2007-01-31 Thread Max
Yes, you are right Then the component might be more practical to use. I'm gonna try it in a few days... On Jan 30, 1:07 am, Dr. Tarique Sani [EMAIL PROTECTED] wrote: On 1/30/07, Max [EMAIL PROTECTED] wrote: Do you mean all the cake files inside the component directory ?? I can try

Re: Wrapping Cake in a Joomla component, like Cake + Drupal = Drake

2007-01-30 Thread Max
Do you mean all the cake files inside the component directory ?? I can try that but what different does it make ? On Jan 29, 9:29 pm, Dr. Tarique Sani [EMAIL PROTECTED] wrote: On 1/30/07, Max [EMAIL PROTECTED] wrote: I'm sure you would like to see this: http://www.gigapromoters.com

Re: Wrapping Cake in a Joomla component, like Cake + Drupal = Drake

2007-01-29 Thread Max
I'm sure you would like to see this: http://www.gigapromoters.com/blog/2007/01/28/joining-powers-of-two- great-systems-joomla-and-cakephp/ On Jan 11, 9:42 am, timblack1 [EMAIL PROTECTED] wrote: I'll let you all know here once I've got my own component working with Cake inside, and I'll take

Re: Multiple association to the same model.

2007-01-18 Thread Max
If each release has not more than 5 styles, then its fine to use this one. However, I would personally recommend 'hasAndBelongsToMany' since it will provide flexibility to my system in case I decide to have 6 or more 'styles' later. --~--~-~--~~~---~--~~ You

Re: Pages Controller problem

2007-01-18 Thread Max
You can paste full code here.. This must not be a big problem.. BTW, Did you ever used bake ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to

Re: help

2007-01-18 Thread Max
Are you getting 404 error ? If so, then I would suggest you to check the mod_rewrite again. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to