cross
New Foswiki release 2.1.6 is available with important security fixes.
Sourceforge foswiki email lists being discontinued. Subscribe to the new Foswiki announce and discuss lists at MailingLists
This question about Using an extension: Needs followup in Tasks

Hello, I'm having trouble with the Bookmaker Plugin (also described at http://foswiki.org/Support/BookmakerPlugin):

I recently updated from TWiki (4.2 I think) to Foswiki 1.1.9 -- very nice and relatively painless upgrade!

I've installed the PublishPlugin and BookmakerPlugin. When trying out the BookmakerPlugin, I get the following when pressing the "Add to Book" button:
$('#bookmaker_add_button').addClass("bookmaker_active").show();
$('#bookmaker_remove_button').removeClass("bookmaker_active").hide();

After navigating back to the page where I pressed the "Add to Book" button, I can refresh the page and the "Remove from Book" button then magically appears (I'm assuming it should automatically appear and replace the JS shown above).

This seems to be a bug in the plugin.

I also notice that Bookmaker isn't listed in the list of Plugins when accessing "Extensions" in the configure page.

As suggested in the documentation for BookmakerPlugin, I attempted to re-install manually. Here's the output from the log after doing so:

Installing BookmakerPlugin
Dependency Report for BookmakerPlugin ...
===== INSTALLED =======
JSON version 2.90 loaded

Foswiki::Plugins::JQueryPlugin version 4.91 loaded

Foswiki::Contrib::JSTreeContrib version 1.03 loaded

Creating Backup of BookmakerPlugin ...
Backup saved into /opt/web/Foswiki-1.1.9/working/configure/backup/BookmakerPlugin-backup-20131217-152320
Archived as /opt/web/Foswiki-1.1.9/working/configure/backup/BookmakerPlugin-backup-20131217-152320.tgz

Running Pre-install exit for BookmakerPlugin ...

Installing BookmakerPlugin...
Using local archive /opt/web/Foswiki-1.1.9/working/configure/download/BookmakerPlugin.tgz
Unpacking /opt/web/Foswiki-1.1.9/working/configure/download/BookmakerPlugin.tgz..., Size: 34912 Modified: Tue Dec 17 12:39:03 2013 for package archive
Saving /opt/web/Foswiki-1.1.9/working/configure/download/BookmakerPlugin.tgz to /opt/web/Foswiki-1.1.9/working/configure/download/BookmakerPlugin.tgz
Checked in: data/Sandbox/ExampleBook.txt as ExampleBook
Checked in: data/System/BookmakerPlugin.txt as BookmakerPlugin
Attached: pub/System/BookmakerPlugin/bookmaker.css to System/BookmakerPlugin
Attached: pub/System/BookmakerPlugin/bookmaker.js to System/BookmakerPlugin
Attached: pub/System/BookmakerPlugin/bookmaker_src.css to System/BookmakerPlugin
Attached: pub/System/BookmakerPlugin/bookmaker_src.js to System/BookmakerPlugin
Attached: pub/System/BookmakerPlugin/expanded.png to System/BookmakerPlugin
Attached: pub/System/BookmakerPlugin/shrunk.png to System/BookmakerPlugin
Installed: lib/Foswiki/Plugins/BookmakerPlugin.pm as /opt/web/Foswiki-1.1.9/lib/Foswiki/Plugins/BookmakerPlugin.pm
Installed: lib/Foswiki/Plugins/BookmakerPlugin/Book.pm as /opt/web/Foswiki-1.1.9/lib/Foswiki/Plugins/BookmakerPlugin/Book.pm
Installed: lib/Foswiki/Plugins/BookmakerPlugin/JQuery.pm as /opt/web/Foswiki-1.1.9/lib/Foswiki/Plugins/BookmakerPlugin/JQuery.pm
Installed: templates/bookmaker.tmpl as /opt/web/Foswiki-1.1.9/templates/bookmaker.tmpl
Installed: BookmakerPlugin _installer to /opt/web/Foswiki-1.1.9/working/configure/pkgdata

Running Post-install exit for BookmakerPlugin...

Before you can use newly installed plugins, you must enable them in the Enabled Plugins section in configure.
BookmakerPlugin

Any help/pointers are appreciated.

Thanks

-- KevinPauba - 17 Dec 2013

PS: The form used to ask this question is missing "Bookmaker" from the list.


I've fixed the form. For some reason the Extensions.BookmakerPlugin topic was missing it's package form, so it was missing from the search.

You might be better off opening a task. See Tasks.BookmakerPlugin. I'm pretty sure the author doesn't follow the support web very closely. I've pinged CDot on IRC to point out the question.

I've not used BookmakerPlugin but my assumption is that the jquery changes in 1.1.9 may have introduced some compatibility issues. Crawford would probably know best though.

-- GeorgeClark - 17 Dec 2013
 

QuestionForm edit

Subject Using an extension
Extension BookmakerPlugin
Version Foswiki 1.1.9
Status Needs followup in Tasks
Related Topics
Topic revision: r2 - 17 Dec 2013, GeorgeClark - This page was cached on 22 Jun 2018 - 23:11.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy