I thought I might get more help if I posted the non-working code that I
am using for my sortable list.
div id=medal_sort
?php $ajax-sortable('medal_sort', array('ghosting'='true',
'constraint'='false')) ?
?php
Hello people.
I'm trying to scaffold a table like this
mysql desc expenses;
+--+---+--+-++---+
| Field| Type | Null | Key | Default| Extra |
+--+---+--+-++---+
| id
Have: latest cake, latest manual.
Simple controller...
In core.php I set: CAKE CACHE true;
In controller add:
class PostsController extends AppController
{
var $helpers = array('Javascript','Cache');
var $cacheAction = array('view/2' = 86400);
That's all.
So? Something
I just installed Firebug, so I don't know my way around it very well
yet. Loading the page that's been giving me problems gives me the
following two errors there:
Error #1
syntax erroreffects.js (line 1)
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
Just a thought, but you might want to configure the listserv to include that
link after every post. I've found that sort of information works well as
listserv mix-ins.
David
[EMAIL PROTECTED] 05/16/06 8:57 AM
We have a site where bugs are reported and you can search to see it this has
Hi.
I turned on AUTO_OUTPUT (i really hate those echo in the views) and i get
strange 1's scattered all over the page (before the header and after
images, for example). Where do they come from? With AUTO_OUTPUT = false
and the echo statements they don't appear!
Thanks in advance.
--
Gonçalo
While happilly bakin' and whistling I came acroos :
**PHP Fatal error: Maximum execution time of 60 seconds exceeded in
G:\www\cake\cake\scripts\bake.php on line 1482**
I know programming with Cake is fast and I'm really having fun with it,
but I can't type that fast !... ;-)
the 1482 line
Way Cool Joe, you are hereby raised to the level of You Da ManOn 5/16/06, joelmoss [EMAIL PROTECTED]
wrote:Cake Migrations is now at Version 1.0 and includes full support for:
- create/drop tables - add/drop columns - insert/delete test data - and raw SQL queriesTake a look at its new home at
would the html helper functions tableHeaders and tableCells work?http://api.cakephp.org/class_html_helper.html#9a724e5b113b0d403e8be2072a2c8c96
and http://api.cakephp.org/class_html_helper.html#e055ff479e3a2c338eaa7587358c113f
On 5/16/06, roberts.sean [EMAIL PROTECTED] wrote:
I'm looking for a
Try adding set-time-limit(60); in the main loophttp://us3.php.net/manual/en/function.set-time-limit.phpSet the number of seconds a script is allowed to run. If this is reached, the script returns a fatal error. The default limit is 30 seconds or, if it exists, the max_execution_time value defined
Thanks guys,
max_execution_time = 30 ;
max_input_time = 60 ;
I tried increasing and restarted server still the same error...
regarding samuel's advice I'm not sure I did it the proper way... here's
what I added in the main() function just after the while loop.
code
while ($invalidSelection)
roberts.sean wrote:
I'm looking for a quick and elegant way to generate table elements with
a set number of columns per row. For example, if I have an array of 30
images and I want to generate a table with three images per row. The
way I've done this before working with Cake involves
You shouldn't dismiss suggestions so quickly ;)
AD7six
--~--~-~--~~~---~--~~
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,
Jon,
Thanks, that did it. I appreciate the help.
--~--~-~--~~~---~--~~
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
Set the debug level to 0On 5/16/06, Leandro Ardissone [EMAIL PROTECTED] wrote:
Hi,I want to get a 404 error page when someone tries to access a page thatdoesn't exists in cake.But when I put some else value in the URI I get Missing Method inImagesController instead of an error page or redirect to
In your component, try this:
?php
class RecentPapersComponent extends Object
{
var $name = 'RecentPapers';
var $controller = true;
function init ($number = 5)
{
$Paper = new Paper;
$data = $Paper-findAll (
Thanks brandags... But i figured out the error... It was an incorrect
Sql query... Sorry to have wasted your time and good
night/morning/afternoon (i don't know where you're from ^^)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
I have a file I often include that has a bunch of arrays that I made with data for things like United States, names/abreviations/etc...I am trying to use require_once to include this file in the app_controller.php and then access the data by declaring a global in local scope.
So far I have been
Vendors is a great way to include stuff:
1. Stick your php file in /app/vendors
2. Get it in Cake with vendor('nameoffile');
Globals work best in AppController for me, but I suppose you can
throw things in /app/config/bootstrap.php as well.
-- John
On May 16, 2006, at 5:20 PM, John
After monkeying around with it some more this is what I had to do to get access to my variables.Put the require statement in the constructore of the AppController classCreate a class variable and assign the variable from the file I was including to the class variable.
Then from my other
Ah HA, brilliant. I knew there was a better way of doing this. Thanks!
--~--~-~--~~~---~--~~
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
I'm having trouble pieceing together how forms work between the api
docs, the wiki and the manual. I have a working form and I can save(),
but what I'm not seeing is how a form's fields can be populated by the
current DB values. All the info is there, the model knows how to get
the info and the
22 matches
Mail list logo