Re: Troubleshooting the CakeDC TinyMCE helper plugin.

2012-11-26 Thread Rubén
I made this error go but at the end didn't manage to make the helper work, went over to the start and used ckeditor and ckfinder from scratch, found it even easier. But here is how I solved the parse error I was having: I went into all the files relative to the Helper, included the helper itsel

rearrange multidimensional array in cakephp 2.2

2012-11-26 Thread Marius
Hi all, I have this multidimensional assoc $modules array in cakephp 2.2.3: > array( > 'type1' => array( > (int) 0 => array( > 'name' => 'name16', > 'type' => '1', > 'category' => 'categoryC', > 'zone' => 'zone1' > ), > (i

Re: Association between a httpget json datasource and a mysql datasource.

2012-11-26 Thread Nikolas LeBlanc
Hey Phillip, I was just wondering if you'd had any luck making associations between json queried data and mysql queried data? I'm trying the same. I can read data without issue, but no association code exists in the sample I've been using on the cakephp documentation. On Wednesday, June 1, 2011

Re: Troubleshooting the CakeDC TinyMCE helper plugin.

2012-11-26 Thread Rubén
Could you go a bit deeper on what you did? I'm struggling with this issue and can't get the short tags to work. El viernes, 30 de marzo de 2012 17:00:45 UTC+2, phpMagpie escribió: > > I had to copy the TinyMCE js lib from the the plugin js folder to the > /app/webroot/js folder and edit the plug

Re: Solution for CakePHP newbies who are stuck with messages like - Error: PostController could not be found

2012-11-26 Thread Leandro Cioletti
Thanks a lot for sharing this Mike! I got the same problem and I did not figure out what was the problem before read your post here. Since the tutorial did not mention about tags, I thought that in CakePHP a class could be sometimes, called by include command by another PHP file containing t

Re: FULL_BASE_URL error using requestAction()

2012-11-26 Thread Miles J
The latest, 2.2.2 I believe. On Thursday, November 22, 2012 5:40:38 AM UTC-8, jsundquist wrote: > > What version are you using. > On Nov 22, 2012 1:39 AM, "Miles J" > > wrote: > >> I keep seeing this in my debug.log, any ideas? >> >> 2012-11-22 03:22:36 Notice: Notice (8): Use of undefined consta

Re: How to change order only for child elements in find('threaded').

2012-11-26 Thread lowpass
Model::_findThreaded() uses Set::nest() to create the threaded array. So, perhaps the simplest approach would be to use 'ASC' by default, then test for $sort _after_ you get the results back. To switch to descending order for just the parent comments, run the result through array_reverse(). On Mon

How to change order only for child elements in find('threaded').

2012-11-26 Thread Anna P
Hello. I got problem with setting up an order for child elements different than for parent elements. I have a blog with comments. Users can switch between comments order - comments can either be sorted descending or ascending. The problem is, when the order is set to descending, also the child