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

Posted by Ernie Ghiglione on
<blockquote>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


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 !!!