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

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