Forum OpenACS Q&A: de-activating xowiki weblog for book-view

Hello,

I've got a hostnode map website ( lotusgreendatacenters.com/forge/xowiki/weblog ) using book-view for xowiki that is getting this error:

invalid command name "::xowiki::Portlet"
while executing
"::xowiki::Portlet detail_link -package_id $package_id -name $name -instance_attributes $instance_attributes"
(procedure "render" line 12)
::11246 ::10422::payload::EntryRenderer->render

This particular instance of xowiki doesn't need weblog. I'd be happy if that page can be "turned off" for this xowiki instance... or get the error fixed..

any suggestions?

Torben

Collapse
Posted by Gustaf Neumann on
hmm. ::xowiki::Portlet is gone since a while (at least two years). What version are you using? if you have a newer version and not modified weblog for this package instance, you can delete the weblog page from the content repository and it will be recreated on the next weblog request from a more recent version.

In general, weblog is used for listing of pages belonging to tags or categories. If you do not want weblog at all at your site (openacs instance), delete the weblog.page in the prototype pages. if you have some package instances wanting weblog and some not, currently the best way is to subclass xowiki, and provide for the subclass a smaller/different set of protoype pages (see e.g. the s5 package for such an example).

Collapse
Posted by Torben Brosten on
The site is using cvs head from about 7 Sept 2009. Xowiki version 0.118 (from xowiki.info)

Where is the most recent version?

I tried deleting the weblog page, but then it was recreated on next request with same error.

Thank you, Gustaf.

cheers,

Torben

Collapse
Posted by Torben Brosten on
cd packages
grep -Rl Portlet xowiki
xowiki/catalog/xowiki.de_DE.ISO-8859-1.xml
Collapse
Posted by Torben Brosten on
Aha!

Problem was old data in webblog-portlets

Once that was removed/re-built, errors are fixed.

Thank you, Gustaf!