[development] Overriding taxonomy term page

Metzler, David metzlerd at evergreen.edu
Sun Aug 27 15:50:24 UTC 2006

I'd agree that this issue is a good long term solution to controlling look and feel of taxonomy terms, but if you're trying to do this more as a piece of functionality for a contributed module, you might consider using hook_block or hook_menu to create the links conditionally, and then using a theme that supports block links in either the footer or the content. Either the menu or the blocks could invoke a test (using $_GET['q'] or arg), or you could just conditionally place the blocks in the footer using the stock block configuration. 
The reason I suggest this, is that it's nice to give users of your module placement options when providing links without having to perform a custom theme hack (especially for us multi-site hosters).


From: development-bounces at drupal.org on behalf of Dan Karran
Sent: Sun 8/27/2006 06:58
To: development at drupal.org
Subject: Re: [development] Overriding taxonomy term page

On 8/27/06, Bèr Kessels <ber at webschuur.com> wrote:

> > I'm wanting to add a link to the bottom of a taxonomy term page,
> > similar to the feed icon that is already there. What would be the best
> > way to do this: add a hook in to the taxonomy module allowing other
> > modules to insert their own bits, send the page through a theming
> > function, or some other method?
> >
> > Any advice appreciated.
> There is a feature request for a proper solution here:
> http://drupal.org/node/29688

Thanks Bèr. It was exactly a year before my question too - how random.
I'll add to that issue.


Dan Karran
dan at karran.net

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 5044 bytes
Desc: not available
Url : http://lists.drupal.org/pipermail/development/attachments/20060827/01c578d1/attachment-0001.bin

More information about the development mailing list