I just launched the eLumen Community Forum - it is a place for eLumen users to collaborate on solutions, compare notes, chat about higher education assessment strategies, and get answers about the technical side of running eLumen.
By day, I am the eLumen administrator at Tunxis Community College, and in working with eLumen I’ve run into all manner of snags - I assume that other colleges which are supporting their own eLumen server may be having the same issues, and I’d like for them to be able to benefit fro the solutions we’ve found, and vice versa.
The key discussion area on the forum, I think, is going to be the Mashups board. The Mashup board is the place to discuss bridging eLumen data with other data sources to produce new ways to navigate the data. The reporting mechanism baked into eLumen is pretty good for basic analysis, but to show the numbers in the context of other things, such as a student’s e-Portfolio work, or to deliver the numbers in an interactive web application where relationships are links to new views, would require the data to be brought into something else.
Anyway, enough about that here. No one reads this blog anyway. But I also want to say that I’m excited because phorum is AWESOME software for a forum site, and I’ve already made my own template (called orange on olive), which is featured - you guessed it - at the eLumen Community Forum.
February 17, 2008
No Comments
Here’s a script which I wrote today while on the jorb. The purpose was so that someone could copy and paste from an excel spreadsheet into a textarea, click a button, and voila: an html table.
The nice thing was that when I pasted Excel data into the textarea, it was tab-delimited with line breaks. At that point, all I needed to do was some replacements and throw a table wrapper on it.
Here’s the code for the conversion function (sorry - i haven’t installed a php code parser yet to style this more nicely):
/**
* convert tab delimited file to html table
* @input string tab-delimited text
* found at http://james.revillini.com
* note: you are not required to keep the above copyright notice in this code.
*/
function tabs_to_table($input) {
//define replacement constants
define('TAB_REPLACEMENT', '</td><td> ');
define('NEWLINE_REPLACEMENT', '</td></tr><tr%s><td> ');
define('TABLE_BEGIN', '<table><tr><td> ');
define('TABLE_END', '</td><tr></table>');
//replace all tabs with end-cell, begin-cell
$input = preg_replace (’/\t/’ , TAB_REPLACEMENT , $inputlist);
//split the list on linebreaks
$rows = preg_split (’/\r\n/’ , $inputlist);
//replace all linebreaks with end-row, begin-row (with or without altRow class)
$output = ”;
foreach ($rows as $index => $row) {
$output .= $row . sprintf(NEWLINE_REPLACEMENT, ($index%2?”:’ class=”alt”‘));
}
//build table
$input = TABLE_BEGIN . $output . TABLE_END;
return ($input);
}
January 30, 2008
No Comments
If you are seeing “mgmedia2 component not installed. Please install first to use the plugin.” then you probably either
- just tried to uninstall the mgmedia2 thing from your Joomla admin panel, or
- are trying to install mgmedia2.
If you want to uninstal mgmedia2, make sure you go to Installers > Mambots and uninstall the mambot/plugin as well.
If you want to install mgmedia2, you missed a step and you still need to installed the component in Installers > Components. See readme.
I just wanted to put this out there in case anyone is struggling with it.
January 28, 2008
No Comments
Prerequisites:
- Every page of your site must be a PHP file, or some kind of server side language file.
- You must use Dreamweaver templates to make the design-time stylesheet automatically apply itself to the pages of your site.
This solution is not going to work for everyone because of the two prereqs above; sorry about that. But if you do meet those requirements, then your life just got a LOT easier.
It’s simple:
- Open your template.
- Switch to code view.
- Go to the <head> tag
- insert this code:
<?php if (false) : //design time style sheet hack ?>
<link href="../css/yui-2.4.1-dwcs3-design-time.css" rel="stylesheet" type="text/css">
<!-- add as many DT stylesheets as you want in this area! -->
<?php endif; ?>
- Save the template (and apply it to all the pages of your site).
Notes:
The linked stylesheet file is one I use to correct the rendering of a YUI Grids-based layout because natively, Dreamweaver renders it with the main .yui-b block taking only half of the space of the #bd element.
And a note to Adobe:
BUILD THIS FUCKING FEATURE INTO THE GODDAMNED SOFTWARE. (This is the first time I’ve ever sworn on the record on the Web. Sorry for offending non-Adobe employees.)
January 24, 2008
No Comments
Assume:
$ = document.getElementById;
pre = $(’pre-text-element’); //pre-text-element is the ID of my pre tag element
You cannot use:
$(’element’).innerHTML = ‘line1\nline2′; //will not work in IE7
You must do this:
e = $(’element’);
while(kid=e.firstChild) { e.removeChild(kid) } //remove all children in the
e.appendChild(’line1\nline2′);
Lame, huh?
January 22, 2008
No Comments