I am using regions extensively on an upcoming site, including within taxonomy pages. My custom regions will not display in the taxonomy.

In order to get them to display I have to append /all to the URLs pointing to the taxonomy. The trouble with this is it breaks the path alias, and not all links into taxonomies (breadcrumbs) know to append /all. Regions are working great to handle callout blocks within other nodes.

For example:
http://www.blockhousepublishing.net/taxonomy/term/162/
http://www.blockhousepublishing.net/taxonomy/term/162/all

Thanks!
-Greg

CommentFileSizeAuthor
#7 page-procedure.tpl.php.txt3.14 KBAnonymous (not verified)
#6 blockArticles.module3.35 KBAnonymous (not verified)

Comments

merlinofchaos’s picture

This is a very odd problem.

I can't duplicate it with just bluemarine, so there's something deep and complex going on somewhere that may be originating in your theme. In order to debug this you're going to have to isolate the problem.

moshe weitzman’s picture

Priority: Normal » Minor

there is some problem with your parsing code. note in the first url that the image is broken with a src=http://www.blockhousepublishing.net/image/view//evocative. in the second, you have a proper url: src=http://www.blockhousepublishing.net/image/view/509/evocative

Anonymous’s picture

Thanks for the interest in helping solve this.

I was having the same issue on bluemarine before we went to the new theme - so don't think its a theme issue. Also the broken url highlights the issue: src=http://www.blockhousepublishing.net/image/view//evocative -- inside the // is a custom region call to a block that looks up which image to display.

I have been setting up my blocks as their own modules, possible something in there but they show up fine on all other nodes, just not taxonomy pages which is what made me think the core issue is in the way a taxonomy page handles custom regions (not the standard left/right/center appear fine, it is my new custom regions setup in template.php that are not appearing in taxonomy pages unless /all is added to the url.)

-Greg

nedjo’s picture

You're doing creative and complex things with regions :)

This doesn't appear to have to do with regions or taxonomy per se, but whatever you're doing with your theme code (and so is impossible to debug without that code).

nedjo’s picture

Category: bug » support

Probably not a bug.

Anonymous’s picture

StatusFileSize
new3.35 KB

Thanks - you are convincing me that its my code. :)

I have setup all of my blocks as stand-alone modules, and just used hook_block. I found it easier to code/test them in an editor, rather than use the "add a block" feature. I have about 14 of these modules with only blocks in them. I think it might be this code. Attached is a sample of one of them - is there an issue in the way I declared them?

Anonymous’s picture

StatusFileSize
new3.14 KB

This must be in the template. I was wrong above, its not just taxonomy pages, the node pages are having the same issue. It seems to be only in the center content area, which is really odd. I've declared the region in template.php, and formatted it in the block.tpl.php then called it into the page template with print $medWhiteRegion

For instance on this page: http://www.blockhousepublishing.net/achyal.html

There is a cusom region block called $medWhiteRegion supposed to appear between the overview and comments. The blocks on the right are also regions and appear fine. Attaching the template.

The code is structurally identical that is calling the right block & the center block... Thanks for any more ideas.

Anonymous’s picture

Status: Active » Closed (fixed)

See this new issue for a workaround, and maybe resolutions.
http://drupal.org/node/57662