[Register]
Powered by Elgg

Plugins :: Blog :: YUI & Elgg, installation problems

June 02, 2007

Hi All,

I am trying to add the YUI library to my development installation of Elgg, but every time I add it into the mod folder, it causes all the screens to blank out as white.  Ideally, I'd like to create functionality that allows me to drag and drop profile widgets.

Apologies in advance if this has already been covered, I did look for it, and also if I am asking a stupidly silly question!!

 Many thanks

Luke

Keywords: drag and drop, help, widgets, YUI

Posted by Luke Ferguson @ Plugins


Comments

  1. Put 

    ini_set('display_errors', 'On'); 

    near the top of /mod/yui/lib.php 

    and see if you get any error messages. 

    user iconKevin Jardine on Saturday, 02 June 2007, 15:59 UTC # |

  2. Strange - When I add the line mentioned only the index page is displayed, when I navigate to another page it displays nothing.

     Could this be due to other plugins installed on my elgg - currently have, media gallery, explode/generic widgets and the message plugin installed.

    user iconLuke Ferguson on Saturday, 02 June 2007, 19:46 UTC # |

  3. I've been doing some futher testing and I've found that if I copy just the build directory of the YUI pliugi, excluding the lib.php and config.php files I can manually navigate to manage_widgets.php and make use of the YUI in the AJAX interface.  Sounds like a configuration issue?

    When I naviagate to manage_widgets.php, just before the page loads, an error does show on the screen for less than a second?

    "function yui_pagesetup doesn't exist"

    Is this all part of the same problem?

     Thanks for your help anyone. :-)

    Luke Ferguson on Sunday, 03 June 2007, 13:22 UTC # |

  4. You do need /mod/yui/lib.php and /mod/yui/config.php  to get the plugin to work properly.

    There seems to be something wrong with your version of /mod/yui/lib.php. Take a look at that. It should be a very short file. 

    user iconKevin Jardine on Monday, 04 June 2007, 06:59 UTC # |

Add a comment

Your comment text

Your name

 

Site supported by Curverider Ltd - powered by the awesome Elgg