[support] Location(s)

sander-martijn sander at sander-martijn.com
Thu Sep 20 22:26:52 UTC 2007


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>

------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20070920/d693503f/attachment-0001.htm 


More information about the support mailing list