Home
The Toolkit for Online Communities
15898 Community Members, 0 members online, 2519 visitors today
Log In Register

Forum .LRN Q&A: Testing new version Lorsm 0.4d

OpenACS Home : Forums : .LRN Q&A : Testing new version Lorsm 0.4d

Icon of Envelope Request notifications

+
Posted by Dario Roig on
Hi!
Congratulation for the carried out work with LORS.

In http://pizarra3.uv.es I'm testing the new version Lorsm.
I can upload one course, but I don't get view my course.

In the "/var/lib/aolserver/pizarra/packages/lorsm/www/delivery/view/index.vuh" reference to "templates/lorsm-default" but in my instalation not found this file

rp_internal_redirect -absolute_path [acs_root_dir]/templates/lorsm-default

How as I can solve it?

Thanks

Darior

+
Posted by Ernie Ghiglione on
>How as I can solve it?


Oopps. I forgot to add the templates to CVS. You can check them now from CVS. Sorry about that.

More shortly

Ernie

+
Posted by Michele Slocovich on
I've used the templates (i have to copy them manually under ACSROOT/templates) and at least i've no more the 'file not found' problem.

Now instead i get

invalid command name "fs::item_editable_p"
    while executing
"fs::item_editable_p -item_id $content(item_id)"
    invoked from within
"if { [info exists content(item_id)] } {
  set write_p [fs::item_editable_p -item_id $content(item_id)]
} else {
    # No content to edit
    set writ..."
    ("uplevel" body line 39)
    invoked from within
"uplevel {
          # Put the current revision's attributes in a onerow datasource named "content".
# The detected content type is "content_revision".

i just got around this by modifying lorsm-defaul.tcl in order not to call the lines containing the call to fs::item_editable_p and i could finally see my contents !!!

great job ernie !!!

+
Posted by Deds Castillo on
The item_editable_p change was a hack to just determine if the content_type is text/html or text/plain which lets content editing kick in.  IIRC, I also added the editing capability itself into file-storage.  You may want to grab the file-storage Ernie is using that he mentioned here:

http://openacs.org/forums/message-view?message_id=200772