www.webdeveloper.com

Search:

Type: Posts; User: makamo66

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Replies
    2
    Views
    852

    Yes, that was the problem. I've since added the...

    Yes, that was the problem. I've since added the Auth component to my recipes controller. Thanks.
  2. Replies
    2
    Views
    852

    How to Prevent Spam Submissions

    I have a cakephp recipe website at http://www.projectpotluck.com I've been getting spam recipe submissions from a non-registered user. How is it possible to submit a recipe when not registered or...
  3. Replies
    14
    Views
    1,061

    No because I need to know which meal tile was...

    No because I need to know which meal tile was dragged. They have to be identifiable. You have to submit to the next page which divs you dragged, that is which meal tile you chose.
  4. Replies
    14
    Views
    1,061

    I was asked at another forum why I want a...

    I was asked at another forum why I want a sub_tile_id and this is my explanation. I'd like to know if it is even really necessary after all.
    The jquery at http://myownmealplanner.com/mealplans/add...
  5. Replies
    14
    Views
    1,061

    This didn't work CREATE TABLE `tiles` ( ...

    This didn't work
    CREATE TABLE `tiles` (
    `sub_tile` ENUM('1','2','3') NOT NULL,
    `id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY ,
    `user_id` INT(22)
    )
  6. Replies
    14
    Views
    1,061

    Even if I remove the auto increment id and change...

    Even if I remove the auto increment id and change sub_id to auto increment (since only one auto-increment is allowed) I still can't reset the auto increment to a value less than it has already been....
  7. Replies
    14
    Views
    1,061

    ALTER TABLE t2 AUTO_INCREMENT = value; You...

    ALTER TABLE t2 AUTO_INCREMENT = value;
    You cannot reset the counter to a value less than or equal to any that have already been used
  8. Replies
    14
    Views
    1,061

    For other stunts I've tried I've gotten the...

    For other stunts I've tried I've gotten the following error: there can be only one auto column and it must be defined as a key
  9. Replies
    14
    Views
    1,061

    Alter Table Syntax What to use instead of where?

    After dropping the id field, I tried both of these and got syntax errors

    ALTER TABLE `tiles` MODIFY COLUMN `sub_id` INT NOT NULL AUTO_INCREMENT WHERE `user_id` = 2;
    UPDATE TABLE `tiles` MODIFY...
  10. Replies
    14
    Views
    1,061

    After dropping the id field, I tried both of...

    After dropping the id field, I tried both of these and got syntax errors

    ALTER TABLE `tiles` MODIFY COLUMN `sub_id` INT NOT NULL AUTO_INCREMENT WHERE `user_id` = 2;
    UPDATE TABLE `tiles` MODIFY...
  11. Replies
    14
    Views
    1,061

    After dropping the id field, I tried both of...

    After dropping the id field, I tried both of these and got syntax errors
    ALTER TABLE `tiles` MODIFY COLUMN `sub_id` INT NOT NULL AUTO_INCREMENT WHERE `user_id` = 2;
    UPDATE TABLE `tiles` MODIFY...
  12. Replies
    14
    Views
    1,061

    Auto Increment Problem

    I need to create a tiles table that has a structure like this for http://www.myownmealplanner.com:


    id user_id sub_tile_id
    1 1 1
    2 1 2
    3 1 3
    4 2 1
    5 2 2
    6 2 3
  13. Replies
    1
    Views
    615

    I found the problem. One of the meal plans had no...

    I found the problem. One of the meal plans had no date associated with it and the jquery was corrupted as a result. It works now at localhost.
  14. Replies
    1
    Views
    615

    Mixing jquery with php

    I have a jquery calendar in my cakephp application with


    <?php //foreach ($mealplans as $mealplan){ ?>
    {
    title: '<?php echo $mealplan['Mealplan']['event_name'] . ", "....
  15. Replies
    26
    Views
    5,145

    jQuery The calendar was fixed by overwriting the jquery...

    The calendar was fixed by overwriting the jquery file with a newer one so that's taken care of now.
  16. Replies
    26
    Views
    5,145

    jQuery You have to click on the link again to make them...

    You have to click on the link again to make them disappear. Maybe I will change that some time so it's more intuitive but now I'm stuck on the calendar code....
  17. Replies
    26
    Views
    5,145

    jQuery Thanks

    Thanks for all of the useful input xelawho.
  18. Replies
    26
    Views
    5,145

    jQuery xelawho at...

    xelawho at http://www.webdeveloper.com/forum/showthread.php?270587-How-to-refresh-just-one-side-of-the-page&p=1242743#post1242743 suggested I use $(ui.draggable).appendTo($(this)); to keep the divs...
  19. Replies
    26
    Views
    5,145

    jQuery I added those two lines above so now it works but...

    I added those two lines above so now it works but I still need to figure out why it works. This new code is a mystery to me.
  20. Replies
    26
    Views
    5,145

    jQuery Right side div doesn't obey jquery command

    I gave the draggable divs a new class called rightSide when they're dragged to the right side. You can see that the class has changed because the background color turns to pink. Now that it's a new...
  21. Replies
    26
    Views
    5,145

    jQuery I tried implementing the jquery toggle function...

    I tried implementing the jquery toggle function for 300, 400, and 800 meal tiles but there is a problem when you toggle back and forth. If you try clicking on for example the 300 cal tiles and then...
  22. Replies
    26
    Views
    5,145

    jQuery Never mind. Just needed to add $( "#draggable8"...

    Never mind. Just needed to add $( "#draggable8" ).draggable(); in the jquery so that the peppermint mocha could be dragged after all.
  23. Replies
    26
    Views
    5,145

    jQuery The small peppermint mocha div can't be dragged....

    The small peppermint mocha div can't be dragged. Maybe the show/hide functionality won't work after all.
  24. Replies
    26
    Views
    5,145

    jQuery In my cakephp version the draggable divs come...

    In my cakephp version the draggable divs come from the database so there's that to think about too. Thanks for your solution.
  25. Replies
    26
    Views
    5,145

    jQuery That looks like the best way to solve the problem...

    That looks like the best way to solve the problem but it involves a lot of work and I'm not ready to do it yet.
Results 1 to 25 of 32
Page 1 of 2 1 2
HTML5 Development Center



Recent Articles