# |
Sep 13th 2009, 19:41 |
markstory |
it doesn't really require many other libs. |
# |
Sep 13th 2009, 19:41 |
markstory |
you should be able to just drop in the jshelper into 1.2 |
# |
Sep 13th 2009, 19:40 |
alunde |
Well this is a project that will be going live in a couple of months. Maybe I better drop back to stable and just add some logic in my layout to switch between JQuery and Scriptaculous. |
# |
Sep 13th 2009, 19:38 |
loceur |
ionas, markstory; seems like a stupid question once I hear the answer. Thanks |
# |
Sep 13th 2009, 19:37 |
alunde |
So 1.3-misc might be a good branch to fetch. I was about to go back to 1.2.5 stable, but wanted to move forward. |
# |
Sep 13th 2009, 19:35 |
alunde |
I'm getting the js helper to work, but ran into this issue with scaffolding and wanted to make sure I was going about it properly. |
# |
Sep 13th 2009, 19:35 |
markstory |
its currently in 1.3-misc though. |
# |
Sep 13th 2009, 19:35 |
iammisc |
i need the result returned as a string |
# |
Sep 13th 2009, 19:35 |
markstory |
alunde: yeah, I don't know if the scaffolding fix was moved into 1.3 yet |
# |
Sep 13th 2009, 19:35 |
ionas |
(from your controller's action) |
# |
Sep 13th 2009, 19:35 |
ionas |
just a guess |
# |
Sep 13th 2009, 19:35 |
ionas |
iammisc, I am not sure if it works but try $this->log($this->render(...), 'debug'); and look in debug.log if it returned stuff to there as well |
# |
Sep 13th 2009, 19:34 |
harpoon1 |
Brain Teaser: I have an employees table which belongs to an employee_groups table. I also have a schedule_items table which will hold dates on which employees must attend an event. Is is ok if my employees table AND my employee_groups table both HABTM schedule_items table. So in my schedule_items table, I would have an employee_id AND an employee_groups_id field??? |
# |
Sep 13th 2009, 19:34 |
alunde |
As outlined in the 1.3 migration notes. |
# |
Sep 13th 2009, 19:34 |
alunde |
I was trying to follow the approved new methodology. |
# |
Sep 13th 2009, 19:34 |
iammisc |
how do i render a template and have the result returned to me as a string? |
# |
Sep 13th 2009, 19:33 |
ionas |
just include jquery via javascript helper and start |
# |
Sep 13th 2009, 19:33 |
ionas |
alunde, if its not ajax you do not need cake support at all |
# |
Sep 13th 2009, 19:33 |
alunde |
I reported it as a bug and was directed to GIT the latest. |
# |
Sep 13th 2009, 19:33 |
alunde |
But I found a problem with scaffolding. |
# |
Sep 13th 2009, 19:32 |
markstory |
the tar is broken, console has some problems. |
# |
Sep 13th 2009, 19:32 |
markstory |
yes |
# |
Sep 13th 2009, 19:32 |
alunde |
I had downloaded the 1.3-dev tar because I wanted to get my code using the new JQuery engine stuff. |
# |
Sep 13th 2009, 19:32 |
ionas |
1.3 will be mostly 1.2 compatible right? |
# |
Sep 13th 2009, 19:32 |
loceur |
thanks |
# |
Sep 13th 2009, 19:32 |
markstory |
that way 1.3 branch stays mostly stable. |
# |
Sep 13th 2009, 19:32 |
loceur |
ionas; k, yeah, jquery is easy enough |
# |
Sep 13th 2009, 19:32 |
markstory |
alunde: so once the topic branches are done they get merged into the 1.3 branch. |
# |
Sep 13th 2009, 19:32 |
ionas |
loceur, I recommend jQuery |
# |
Sep 13th 2009, 19:32 |
alunde |
Got ya. |
# |
Sep 13th 2009, 19:31 |
loceur |
markstory; :P |
# |
Sep 13th 2009, 19:31 |
markstory |
you use javascript. |
# |
Sep 13th 2009, 19:31 |
markstory |
loceur: you don't. |
# |
Sep 13th 2009, 19:31 |
markstory |
but in all the various other branches. |
# |
Sep 13th 2009, 19:31 |
loceur |
this should be a simple q: How to do an onmouseover that changes the image in cake? |
# |
Sep 13th 2009, 19:31 |
markstory |
we do most of the work not on directly on the 1.3 branch |
# |
Sep 13th 2009, 19:31 |
markstory |
1.3 is the latest merged state of 1.3 |
# |
Sep 13th 2009, 19:31 |
markstory |
yes and no. |
# |
Sep 13th 2009, 19:31 |
alunde |
So if I follow your wisdom, I should get the 1.3 branch. Is that the lastest of the 1.x line? |
# |
Sep 13th 2009, 19:30 |
alunde |
Sorry, I was poking around in my shell. |
# |
Sep 13th 2009, 19:29 |
markstory |
so the biggest difference with git is that when you clone you get a whole repo, not one version. |