[support] Location(s)

Ian Elwood ian at corpwatch.org
Thu Sep 20 23:14:34 UTC 2007


Cool, thanks so much for the assist!

--ian--

sander-martijn wrote:
> you don't necessarily have to override the them_locations function if 
> you don't need locations on those pages/content types at all.  You can 
> either set it to not work with those content types or set locations to 
> not show on the page (which still allows the zip search for example).  
> Or just disable the module.  If you want to show the locations just not 
> the header, then yes you will need to override the theme_locations 
> fucnction.
> 
> Jason Flatt wrote:
>> On Thursday 20 September 2007 14:00:01 Ian Elwood wrote:
>>   
>>> On my site: www.crocodyl.com there are two boxes for updated
>>> information.  Each shows the text, "Location(s)"
>>>
>>> I would like to remove that text, but am not sure where to start.  I
>>> have looked at the drupal help pages, but it seems like a really minute
>>> detail that gets ignored most of the time.
>>>
>>> Thanks!
>>>     
>>
>> Those are there because you have the locations module installed and enabled 
>> for those node types.
>>
>> Try overriding the theme_locations() function in your theme.
>>
>> http://drupal.org/node/11811
>>
>>   
> 
> -- 
> ------------------------------------------------------------------------
> 
> sander-martijn <mailto:sander at sander-martijn.com>
> interface developer | architect
> sander at sander-martijn.com <mailto:sander at sander-martijn.com>
> www.sander-martijn.com <http://www.sander-martijn.com>
> 
> ------------------------------------------------------------------------
> 


More information about the support mailing list