First, thanks so much for the wonderful theme.

I was amongst those who were gettng taxonomy illegal offset errors. Disabling Nitobe fixed this for me.

Please see my post here:

http://drupal.org/node/275352#comment-1654146

I thought I should share this with you.

if there is anything I can do to help out please let me know.

Best - Jimmy

CommentFileSizeAuthor
#3 Picture 2.png17.9 KBkrisvannest

Comments

Anonymous’s picture

Status: Active » Closed (won't fix)

This issue is a bug in Drupal core with the Taxonomy module not behaving as documented. It doesn't appear that this fix will make it into Drupal 6.

I am currently in the process of refactoring the Drupal 6 version of Nitobe (#490622: Refactor to be a sub-theme of NineSixty), and it will remove the feature that's calling the buggy Taxonomy function.

There is a workaround, but it drops back to the default Drupal presentation of terms, and doesn't insert the comas between the terms. Open up the node.tpl.php file and locate this block of code:

<div class="meta">
  <?php
  if ($taxonomy) {
    print nitobe_render_terms($node) . (($comment > 0) ? "&nbsp;|&nbsp;" : '');
  }
  else {
    print "&nbsp;";
  }
  print (($comment > 0) ? nitobe_comment_link($node, $teaser) : "&nbsp;");
  ?>
</div>

Changing it to this should give you default Drupal behavior, but it may require you to make some changes to the CSS.

    <div class="meta">
    <?php if ($taxonomy): ?>
      <div class="terms"><?php print $terms ?></div>
    <?php endif;?>
    </div>

    <?php if ($links): ?>
      <div class="links"><?php print $links; ?></div>
    <?php endif; ?>
  </div>
krisvannest’s picture

Status: Closed (won't fix) » Reviewed & tested by the community

LOVE this theme, had the same bug as above... your replacement suggestion above fixed it, thx!

Please keep us posted on if/when there's a more official workaround or theme update, too.

BTW I should add that there does appear to be some type of CSS or formatting problem... in my case, the right-block gets broken and appears as small text (looks like the same size as the "help" text optionally found below each taxonomy term) below the submission form during preview. I can't remember if this was how a preview looked before the patch, but doesn't seem correct and please update us if you happen to know where to make the CSS fix. Thx again

krisvannest’s picture

Status: Reviewed & tested by the community » Needs work
StatusFileSize
new17.9 KB

Argghh... I spoke too soon!

The replacement code/patch above does fix the initial "offset errors during preview" when using Nitobe, BUT now the right-block of my site is totally messed up-- instead of appearing on the right in normal size text, it now appears in small text below all my content (as if it were in the footer block, when its actually assigned to the right block).

I attached an example screenshot. Any idea how to fix this new formatting error? thx again

Anonymous’s picture

It sounds like the default Drupal styles are causing the width of the taxonomy area to extend into the sidebar.

Is there an actual URL I could go to in order to examine the problem?

p.s. I'm currently working on a major overhaul of Nitobe. I hope to have it ready later this week or early next week.

Anonymous’s picture

Assigned: Unassigned »
Status: Needs work » Active

Will test against new code re-write.

Anonymous’s picture

Version: 6.x-3.4 » 6.x-4.0
Status: Active » Fixed

This should be corrected in the 6.x-4.0 release.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.