Help

2015-03-25 Thread Musa Dima
Dear All I'm very new for cakePhP i want to learn cake php from Scratch any body who can give me link for full video tutorial and other material. warmly regards -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message

Exploring Breadcrumbs Feature

2010-06-18 Thread Dima
with that category_id AND the city_id already defined. I think that this behavior might actually require me to develop my controller some more (and possibly a new view) but I was wondering if something like this can be done with breadcrumbs. Thanks, Dima Check out the new CakePHP Questions site http

Re: Missing Database Table error

2010-06-11 Thread Dima
= 'User'; var $useTable = 'user_votes'; var $hasAndBelongsToMany = array( 'UserVote' = array( 'className' = 'UserVote', 'foreignKey' = 'user_id', 'dependent' = true ) ); } [/code] Hope this helps, Dima On Jun 11, 4:55 pm, Ed Propsner crotchf

Re: Question Regarding Model Grandchildren

2010-06-09 Thread Dima
cricket - thanks for the suggestion. I've been reading up on MPTT, but the first link doesn't have the demo described on the site. I was wondering if you could post our example just so I can go through it and see how MPTT structured table calls are made. Thanks, Dima On Jun 8, 8:10 pm, cricket

Re: Using Javascript-link Inside An Element

2010-06-08 Thread Dima
My original implementation did exactly what you describe but I was hoping that it could be done otherwise. Guess not. Thanks, Dima On Jun 7, 8:12 pm, calvin cal...@rottenrecords.com wrote: You only use echo when you're linking them inline. So you would never have something like: echo

Question Regarding Model Grandchildren

2010-06-08 Thread Dima
of a way to change the $hasMany in order to include this critical data? Thanks, Dima 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

Using Javascript-link Inside An Element

2010-06-07 Thread Dima
, Dima 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 from

Re: cakephp

2010-06-07 Thread Dima
controller and the home action. I just finished going through the quickwall tutorial myself and had this issue :) In case this doesn't work, try playing around with that line and giving it different parameters based on how you set your app folder up. Dima On Jun 6, 11:18 pm, Ats swamy0...@gmail.com

Re: Using Javascript-link Inside An Element

2010-06-07 Thread Dima
e($scripts_for_layout); ? correctly? Does it have to go before/after a certain point in the header? Thanks again, Dima On Jun 7, 4:10 pm, vekija vedran.konto...@gmail.com wrote: you have to echo those :) echo $javascript-link('mootools-for-dropdown', false); On Jun 7, 8:43 pm, Dima

Re: one to one relationship (ADD)

2007-04-02 Thread dima
Christian, If you're worried about integrity, you may have to resort to using transactions in your db. Consider the InnoDB engine if you're using MySQL. Also, you would need to implement begin(), commit() and rollback() function for your model: http://bakery.cakephp.org/articles/view/228 You

Re: how to do Multi-Row Edit ?

2007-03-26 Thread dima
You would have to use a custom model to overwrite some functionality (cake 1.x): E.g class MyHtml extends Html { ... function setFormTag($tagValue) { $parts = explode(/, $tagValue); $this-model = $parts[0]; $this-field= array_pop($parts); // We add a class

Re: Links and Images with correct path from pure html

2007-03-26 Thread dima
Korcs, Thanks for re-posting on the Group :) Could you provide some additional code? From what I can tell, you would need a custom helper like so: class CustomHelper { function parseAnchors($content) { // Replaces all anchors locations to an absolute value. return

Re: how to do Multi-Row Edit ?

2007-03-26 Thread dima
CC96AI, You're right about modifying the tag templates. There would have to be more changes than the ones i mentioned above. However, it's a starting point :). As for it being a good idea, you can implement your own tags. Since you're subclassing HtmlHelper you can redefine the $tags class

Re: Creating links a la Html helper in a component

2007-02-14 Thread dima
Rosie, You've started quite a debate here :). I am currently building a CMS using Cake and tinyMCE as well. I believe you should have all URL mapping done using Components and not the view. The solution I am aiming towards is to have the images referenced like so: // Images is a controller and

Re: HTML-considering Truncate()-Function

2007-02-14 Thread dima
Alex, Under what conditions would you need to truncate content with tags included? Here is my function to truncate (called 'cut'). Note that it strips the tags. function cut ($string, $length, $padd = '...') { $string = strip_tags($string); $returnString = '';

Re: Stability of Cake 1.2

2007-02-02 Thread dima
It's the production side of things that worries me most (martin). This is a live system I am working on and, although the web is forgiving, there is much dependency on Cake and the CMS built on top. Thanks for your answers, folks. Dimitry On Feb 2, 1:11 am, [EMAIL PROTECTED] [EMAIL PROTECTED]

Stability of Cake 1.2

2007-02-01 Thread dima
Does anyone have an indication of the stability of Cake 1.2, as it is now? I understand that it undergoes constant change, but I would imagine the base is fairly stable. Also, has anyone experienced significant difficulty in transferring from 1.1.1 to 1.2? The reason I ask is because I require

How to save a FTP folder and subfolders contents list to a text file to print?

2007-01-26 Thread Dima
Hello! How to save a FTP folder and subfolders contents list to a text file to print? Best regards, Dima +79035093892 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send

Re: updating an existent field

2006-06-26 Thread dima
Fabrizio, You might have to do something like this: $this-data['User']['id'] = $subscribed['User']['id']; $this-data['User']['subscribed'] = 1; ... $this-User-save($this-data); // Notice that Cake in v1.0+ will fetch the User index from $this-data. - or - $subscribed['User']['subscribed'] =