Active
Project:
Reftagger
Version:
6.x-1.4
Component:
Documentation
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
6 Jan 2011 at 18:27 UTC
Updated:
12 Jan 2011 at 15:05 UTC
How can one tell the RefTagger not to appear in certain paths or based on a PHP condition?
I need to disable the module when in the admin/* area and on certain directories of urls that do not contain any Scripture references.
Comments
Comment #1
nrambeck commentedI'm hesitant to add a feature like this as it adds complexity and overhead to the module and very few people would use such a feature.
If you are comfortable editing the template.php file of your theme you could add something like this in order to remove the Reftagger javascript from all admin pages.
In order for this to work though you would need to edit the Reftagger settings to cache the javascript file locally.
Comment #2
threading_signals commentedWell, I've been uninstalling modules but not deleting them, to get the tables out of the database, and the next step is to restrict modules being loaded on maintenance pages to speed up the site. Every little bit is starting to help. Thank you either way!