Closed (fixed)
Project:
Location
Version:
5.x-3.0-rc2
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
20 Nov 2008 at 11:14 UTC
Updated:
11 Jul 2010 at 04:22 UTC
At the moment it is not really possible to turn off location for the different types. For example on a site of ours we use one node type with location. We do not want user locations or locations on the other node types.
At the moment location module frontpage does 2 queries a page for every node that is loaded. One for each node, and one for each user that is the author of the node.
Imagine having a forum, this forum has a list of 50 nodes. That would be 100 queries for nothing!
Please do not load location information for node types if this has been turned off, also provide a method for disabling user locations!
Comments
Comment #1
yesct commentedtagging.
Also, the new cck locations might be useful as you can add cck locations to just the cck content types that you want.
Comment #2
yesct commentedno interest in this for a long time. I'm closing it. If there is still interest, please try the newest official release or dev release; there have been many changes made. Post a new updated summary and be sure to change the status back to active.