From 54cd89889ab8d12345816bb5321d688a407036f0 Mon Sep 17 00:00:00 2001 From: Eric Rasmussen <erasmussen2@unl.edu> Date: Wed, 15 Jul 2009 20:42:18 +0000 Subject: [PATCH] Update our reference to the latest jquery lib included in elgg. Add documentation on defining locat data directory and path info in the DB. --- README | 5 +++++ unl_theme/views/default/page_elements/header.php | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/README b/README index 5526fab2..4baef5fe 100644 --- a/README +++ b/README @@ -8,8 +8,13 @@ Create the local elgg/.htaccess file using the sample on the install page Be sure to set the correct RewriteBase /~bbieber/UNL_Elgg/elgg/ for example. Create the local elgg/engine/settings.php file. Be sure to specify unl_social as the database name +Create a local directory for elgg data outside of the web root. + Change the permissions so Apache has write access to it. + sudo chown _www elgg_data Install the UNL_Templates pear packages pear channel-discover pear.unl.edu && pear install unl/UNL_Templates-beta Set the correct site url within the database: UPDATE elggsites_entity SET url='http://localhost/~bbieber/UNL_Elgg/elgg/' WHERE guid=1; + UPDATE elggdatalists SET value = '/Library/WebServer/Documents/workspace/UNL_Elgg/elgg/' WHERE name = 'path'; + UPDATE elggdatalists SET value = '/Library/WebServer/Documents/workspace/elgg_data/' WHERE name = 'dataroot'; Make sure the local site has an updated copy of the templatedependents \ No newline at end of file diff --git a/unl_theme/views/default/page_elements/header.php b/unl_theme/views/default/page_elements/header.php index 7d3811af..20fc0574 100644 --- a/unl_theme/views/default/page_elements/header.php +++ b/unl_theme/views/default/page_elements/header.php @@ -30,7 +30,7 @@ $release = get_version(true); <meta name="ElggVersion" content="<?php echo $version; ?>" /> <!-- <script type="text/javascript" src="<?php echo $vars['url']; ?>vendors/jquery/jquery-1.2.6.pack.js"></script> --> <script type="text/javascript">var $ = window.$ = window.jQuery;</script> -<script type="text/javascript" src="<?php echo $vars['url']; ?>vendors/jquery/jquery-ui-personalized-1.5.3.packed.js"></script> +<script type="text/javascript" src="<?php echo $vars['url']; ?>vendors/jquery/jquery-ui-1.7.2.custom.min.js"></script> <script type="text/javascript" src="<?php echo $vars['url']; ?>_css/js.php?lastcache=<?php echo $vars['config']->lastcache; ?>&js=initialise_elgg&viewtype=<?php echo $vars['view']; ?>"></script> <?php global $pickerinuse; -- GitLab