Closed (fixed)
Project:
Millennium OPAC Integration
Version:
6.x-2.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
12 Nov 2009 at 16:41 UTC
Updated:
8 Feb 2010 at 16:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
tituomin commentedA very good idea! I have'nt studied the Token module, but it seems it will be part of Drupal 7: http://drupal.org/node/113614
Maybe combined with a content editor and an easy-to use button which generates these placeholders, this would be a killer feature!
Comment #2
janusman commentedSee http://drupal.org/project/bookpost
Comment #3
janusman commentedThis was rather easy, yeah!
The only thing is that loading the items takes a bit, so some caching might be in order...
Instructions:
1) Apply patch
2) Enable the new module "Millennium Filter"
3) Go to admin/settings/filters and click "configure" beside one of the enabled input formats.
4) Find the checkbox for "Millennium Filter", and click "Save configuration"
5) Create new content with that input format; you can add a record display for any record using this syntax:
The first two work only for the currently-configured WebOPAC in admin/settings/millennium. The last one works for any WebOPAC anywhere, whether it's configured or not. Nodes are not imported, just scraped from the source OPAC and displayed on-the-fly.
Comment #4
janusman commentedForgot to mention that any URL that leads to a *single* record page *should* work; however I did some testing and the order of the Filter (see for example /admin/settings/filters/1/order) might send an already-filtered URL string to the module, resulting in an error message.
Comment #5
janusman commentedThis version now includes caching.
Comment #6
janusman commentedCommitted version with some fixes.
See README.txt
Comment #7
janusman commentedComment #9
janusman commentedReopening because it should cache failed requests to prevent slowness during page building.
Comment #10
janusman commentedFixed.