ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Digital Dashboard Effect

August 11, 2010 5:47am

Subscribe [3]
  • #1 / Aug 11, 2010 5:47am

    catenaccio

    9 posts

    Moving Boxes problems with expression engine. Our Aim is to achieve a simple digital dashboard effect.

    It can be viewed here:- http://mellin.co.uk/index.php/gee_dev/body_gee/view/2

    Move your mouse over to the right hand column once on top of any of the boxes you will see the courser change to an arrow that indicates the box can be moved.

    Move the boxes to where you want them so your effectively creating your own online experience you will also be able to switch the boxes on and off..

    This is achieved by using script.aculo.us Web 2.0 JavaScript once a box is moved an AJAX command is triggered that updates a database with the new position.

    You would normally do this from an admin panel that would set a cookie with your preferences. For this example we have ignored the cookie deployment so the changes are for all users.

    Our problem would seem to be that the scrip will only run when EE is set to output debugging setting 1 i.e. PHP/SQL error messages shown to Administrators

    Also the script only runs when called as an iFrame i. e. doesn’t run from within EE.

    Whilst this isn’t the end of the world it is a nuisance so any Ideas would be appreciated.

    The site is a hack area so nothing pretty and slooow

    ExpressionEngine v 1.6.9 PHP : MYSQL v 4.1.22 : PHP Version 5.2.9

  • #2 / Aug 11, 2010 4:49pm

    Ingmar

    29245 posts

    Our problem would seem to be that the scrip will only run when EE is set to output debugging setting 1 i.e. PHP/SQL error messages shown to Administrators

    Why is that an issue? This is the recommended setting. If you don’t show any errors to anyone EE will use “paranoid parsing” and your scripts might fail.

  • #3 / Aug 12, 2010 5:25am

    catenaccio

    9 posts

    Thanks for the reply but we didn’t say it was a problem we said its a nuisance.

    One would assume that if the recommend setting for debugging is on then EE would install in that condition?.

    I would have thought that the script does break EE as it will only run as an iframe ?

    Anyway thanks again for your assistance its another one for the knowledge base.

    Gareth

  • #4 / Aug 12, 2010 3:52pm

    Ingmar

    29245 posts

    Thank your for your feedback. Does that mean it’s working for you now?

  • #5 / Aug 14, 2010 6:08am

    catenaccio

    9 posts

    Thanks fo your help You can close this now.
    We will use it from an iFrame.
    Cheers
    Gareth

  • #6 / Aug 14, 2010 8:44am

    Sue Crocker

    26054 posts

    Glad Ingmar was able to help. Don’t hesitate to post again as needed.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases