Re: CakePHP 1.3.8 and 1.2.10 released

2011-04-20 Thread #2Will
Thanks Mark and anyone else that contributed. cake rocks, and its amazing you guys get time to work on it. respect and thank you! On Mar 21, 6:47 am, mark_story mark.st...@gmail.com wrote: The CakePHP core team is proud to announce the immediate availability of CakePHP 1.3.8 and 1.2.10. These

Re: how can I make a slug using fields from a different table using sluggable behaviour

2011-04-20 Thread Jeremy Burns | Class Outfit
Doesn't Inflector::slug convert the spaces to dashes? I thought it did... Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 19 Apr 2011, at 20:04, cricket wrote: On Tue, Apr 19, 2011 at 7:44 AM, Jeremy Burns | Class Outfit jeremybu...@classoutfit.com wrote:

Re: Cache problem using CakePHP default File config on apache 1.3.x - server crashes

2011-04-20 Thread Jon Bennett
Hi - no - do you think that would help? I tried making the prefix of the cache different in case there was a conflict with other caching in the /tmp of the server but that hasn't worked, as the site has hung again just now. I will see if I can find some info on the lock thing, thanks. Are

Re: Link submission email

2011-04-20 Thread dvvbrook79
Hi Cricket, Sorry if i confused you, im still trying to make peace with cake.lol...I was just asking about option 2, and where i would need to put that code in order for it to work I took option 1: i have added the DB column now, but the reciprocallink is still not showing up in my

Re: Link submission email

2011-04-20 Thread dvvbrook79
Hi again Cricket, To make helping me easier, ive included below the files what i have now after adding the column to the database...so here go's (THIS IS THE submit_link.ctp) h1?php __('Link Submission'); ?/h1 p?php __('A link was submitted on DisneyVillaVacations.com.'); ? ?php __('You can

Re: Link submission email

2011-04-20 Thread dvvbrook79
Hi again Cricket, To make helping me easier, ive included below the files what i have now after adding the column to the database...so here go's (THIS IS THE submit_link.ctp) h1?php __('Link Submission'); ?/h1 p?php __('A link was submitted on DisneyVillaVacations.com.'); ? ?php __('You can

Re: how to link css files?

2011-04-20 Thread varai
Hi, A small mistake, I don't want to specify the width for #navbar and I want it to inherit the width from the #header (ie. width:100%). #navbar comes inside #header. navbar's css rules are in nav_bar.css and header's css rules are in cake.generic.css. So, how do i link these 2 css files so that

how to use gd library in cakephp?

2011-04-20 Thread abhimanyu bv
I am new to cakephp. In my project i want to do manipulations with image, for that i want to use gd library.how to use gd library in my controller? Can i directly use methods in that gd library?or I have to download the gd library? please explain me -- Our newest site for the community: CakePHP

Re: Add/Edit not working when joined two tables using hasOne.

2011-04-20 Thread nachopitt
Paste your add/edit view code please. On 19 abr, 15:33, jackgoh kockh...@gmail.com wrote: Hi, Model: // Stock model //== class Stock extends AppModel {         var $name = 'Stocks';         var $belongsTo = array(                         'Category' = array(

Re: Memory Leak in Model::Save()

2011-04-20 Thread ProFire
Thank you, Dr. Loboto. Your solution appears to have helped me a lot! During a simple test, it did not report any memory leak. As I've spent these few days running my applications, there has been no reports of any memory leak thus far. I truly appreciate the community at CakePHP! Thank you so

Dynamic table with cakephp

2011-04-20 Thread gannher
Hello My application must create table. It will be done with procedure/ function in mysql. So cakephp doesn't need to send query create table How can I use this table with cakephp ? Must I create file model and how ? I would like use function find, paginate, etc with this table. Thanks

How to make Groups in Multiple Select box

2011-04-20 Thread Mr.Jayesh
Hi Mates, Hope baking is in full swing. I am coding a multi select box for categories. I am using Tree Behavior for categories. The thing I am up to is I don't want to allow users to select top categories in the list. I mean the category is displayed as an hierarchy, but I dont want the users to

Re: how to link css files?

2011-04-20 Thread cricket
On Wed, Apr 20, 2011 at 9:45 AM, varai vaanip...@gmail.com wrote: Hi, A small mistake, I don't want to specify the width for #navbar and I want it to inherit the width from the #header (ie. width:100%). #navbar comes inside #header. navbar's css rules are in nav_bar.css and header's css

Re: Link submission email

2011-04-20 Thread cricket
Did you ever check to see if it's being submitted? if (!empty($this-data)) { die(debug($this-data)); Also, check after you do the find() $link = $this-Link-findById($this-Link-id); // delete this line later die(debug($link)); $this-set(compact('link')); On Wed, Apr 20, 2011 at 5:15 AM,

Re: how can I make a slug using fields from a different table using sluggable behaviour

2011-04-20 Thread cricket
On Wed, Apr 20, 2011 at 3:55 AM, Jeremy Burns | Class Outfit jeremybu...@classoutfit.com wrote: Doesn't Inflector::slug convert the spaces to dashes? I thought it did... Yeah, ignore that remark. It looked like you had no space in there. -- Our newest site for the community: CakePHP Video

Re: how to use gd library in cakephp?

2011-04-20 Thread cricket
On Wed, Apr 20, 2011 at 6:27 AM, abhimanyu bv vmabhi...@gmail.com wrote: I am new to cakephp. In my project i want to do manipulations with image, for that i want to use gd library.how to use gd library in my controller? Just call the GD functions as would be done in any regular PHP script.

Re: Dynamic table with cakephp

2011-04-20 Thread cricket
On Wed, Apr 20, 2011 at 11:33 AM, gannher g.lebo...@gmail.com wrote: Hello My application must create table. It will be done with procedure/ function in mysql. So cakephp doesn't need to send query create table How can I use this table with cakephp ? Must I create file model and how ?

Re: How to make Groups in Multiple Select box

2011-04-20 Thread cricket
On Wed, Apr 20, 2011 at 12:05 PM, Mr.Jayesh jayeshach...@gmail.com wrote: Hi Mates, Hope baking is in full swing. I am coding a multi select box for categories. I am using Tree Behavior for categories. The thing I am up to is I don't want to allow users to select top categories in the list.

Re: I want to allow a user to create his own page, the url of which would be his name

2011-04-20 Thread MeatSandwich
For anyone who's interested the answer can be found here: http://stackoverflow.com/questions/5715481/how-can-i-make-a-slug-using-fields-from-a-different-table-using-sluggable-behavio On Apr 19, 12:40 am, Sam Sherlock sam.sherl...@gmail.com wrote: using slugs (cakedc utils plugin sluggable or

Re: Add/Edit not working when joined two tables using hasOne.

2011-04-20 Thread jackgoh
hi nachopitt, //Part of Add View ?php echo $this-Form-create('Stock'); ? table id=form_table border=0 cellpadding=0 cellspacing=1 tr td class=form_titleCategory:/td td?php echo $this-Form-input('category_id', array('options' = $sectors, 'label' =

Re: Cache problem using CakePHP default File config on apache 1.3.x - server crashes

2011-04-20 Thread luke BAKING barker
hi Jon, thanks for your helpful reply. I am not sure that it is performance, since the site is not really busy as yet, but maybe you have something. I wonder if it is my statement to cache index action in my services controller for example that is breaking things, I might try just

Re: Link submission email

2011-04-20 Thread dvvbrook79
Hi Cricket, You lost me now, i still have all my normal code how it was before, i havent changed any coding apart from adding to itCODE AS ABOVE, after i added the DB column i did a test submit and the link didnt show up in either the DB or the email i cant understand what needs doing

Re: Link submission email

2011-04-20 Thread cricket
Your message is mostly incomprehensible. (For the third time) have you tried debugging either the submitted data or the results of the find? On Wed, Apr 20, 2011 at 6:32 PM, dvvbrook79 c...@disneyvillavacations.com wrote: Hi Cricket, You lost me now, i still have all my normal code how it was

Re: set paginator last page as default?

2011-04-20 Thread lucas
Hi Jeremy, the data can´t be ordered beacuse it´s a business account data (extracted from a database view) and i need to show it by created date with all the debts, payments and the actual balance (is because of the balance that i can´t let the user to specify some kind of order). Lucas. On 19