Closed (fixed)
Project:
Link Resolver
Version:
5.x-1.0-alpha1
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Sep 2009 at 17:54 UTC
Updated:
14 Apr 2010 at 15:49 UTC
I have downloaded the link_resolver module to use it in my website.
Primarily, the download document does not contain a README.txt file.
Despite that, i downloaded Token module and enabled them both. As a result my website doesn't load. Please let me know how to proceed ahead.
Comments
Comment #1
cfennell commentedSorry you're having issues.
It IS missing the README.txt, isn't it? I somehow managed to miss that while uploading to the CVS server. Below you'll find the README.txt text from my local repository (I'll add it with the next batch of changes).
As far as your error goes, it's hard to say what exactly the problem might be without a little more information (ex anything in your error logs?).
To kill the module via your preferred DB interface, see: http://drupal.org/node/157632.
FWIW, this module shouldn't be used on productions sites, yet.
README.txt_____________________________
// ===============
// = Description =
// ===============
Link Resolver provides a method to store a local aggregation of link resolver
data (More on link resolvers:http://en.wikipedia.org/wiki/OpenURL). It takes
advantage of the WorldCat Registry IP lookup service to match users with their
institutions.
Link resolver data can also be ingested via the administrative interface where
site admins can add resolvers by their WorldCat Registry ID or manually for
resovlers that do not exist in the Worlcat Registry.
End users may also choose to override their link resolver settings if the IP
lookup found no match for their IP or misidentified their institution.
// ==========================
// = Installation and Usage =
// ==========================
This module presents a very limited set of end-user facing functionality. Link
Resolver requires other modules to implement it's API to be fully functional.
* Basic Installation *
1. Enable the Module
Place link_resolver module folder in the modules directory and then visit:
admin/build/modules
to enable the Link Resolver module.
2. Set the Module Permissions (admin/user/access)
3. Enable and Configure the Link Resolver Message Block (admin/build/block)
// ===============================================================
// = "API" Usage Note: subject to change until module stableizes =
// ===============================================================
1. OpenURL Hook - hook_link_resolver_openurl($nid)
In order for Link Resolver to be able to do its work, you must provide it with
a properly formed OpenURL via hook_link_resolver_openurl($nid). Ex:
2. Setting a Resolver Link - theme_link_resolver($nid, $image_attributes = array(), $link_attributes = array())
--------------------------------------------------------------------------------------------------
$image_attr = array('title' => 'Access the full text from your libraries at your institution.');
$link_attr = array('class' => 'resolver-link', 'target' => '_blank');
$findit = theme('link_resolver', $node->nid, $image_attr, $link_attr);
--------------------------------------------------------------------------------------------------
**NOTE: If you look at the code in this theme hook, you'll notice that you can simply generate your
own resolver links. Ex:
// TODO
========
* Port to Drupal 6
Comment #2
csep commentedI have enabled the token module.
Then, copied the link_resolver module and when i try to reload the modules page in order to enable the link_resolver module,
I encounter a blank page.
I don't know how to go ahead.
Comment #3
cfennell commentedPlease see my above comment regarding disabling a module via a direct database query (http://drupal.org/node/157632).
Also, could you post your PHP version here?
Comment #4
cfennell commented