I have "Link the title to the node" set to site rather than node on a site I'm working on, but the setting does not appear to have any effect - the title is still linked to the node rather than to the site, which is a problem, because no one needs to go to a whole separate page just to see the title and the link again.

I wonder if maybe it only works if you have "Show the node title" set to yes, as opposed to on the default node title? When I tried enabling that, I got the title twice, once before the taxonomy links and once after it (the site is using a Zen subtheme). The first instances of the title, which I'm pretty sure is the default one the them adds, is linked to the node, and the second one, presumably added by the Weblinks module, isn't linked to anything at all.

I should also add that I'm using a taxonomy view to display the links, rather than the default links page, because on this site they need to be able to found via multiple categories, which also contain other sorts of content. The site is a portfolio for a copywriter, so people need to be able to, for example, look at a listing of all projects she's written for in a given industry, including both web sites and brochures, ads, etc. So that may be part of the problem also.

I could probably get my theme to suppress the default node title for weblink nodes, but given that the weblink title (a) isn't currently linked to anything, and (b) shows up [em]after[/em] the taxonomy links rather than before, that wouldn't be too helpful. For now I've set "Show the node title" back to "no" so that the site can at least remain semi-presentable.

I'm not sure if this issue is related to the problem discussed in #601650: Link on title sends us back to weblinks page or not - there are some similarities, but my situation also has a few differences.

BTW, there was a question in that one about whether the OP had made any changes to the way the titles in their theme displayed, and in the case of this site, I haven't, at least not on the titles that show up for individual nodes in a view. Some of the other titles, like the main title at the top of the view, or the titles of individual nodes on their own pages, are done with sIFR, but not the titles that are giving me problems here.

Any assistance would be VERY much appreciated, as I really need to get this working in order for this area of the site to be properly functional - and the site is already live. :-/

The site URL is www.writemarketing.ca (you can see most of the web links at www.writemarketing.ca/portfolio/web - though they also appear in various other taxonomy listings depending on the nature of the sites) and it's running the current version of Drupal 6 and of all modules/themes that it uses.

Thanks!

Comments

nancydru’s picture

Status: Active » Postponed (maintainer needs more info)

What theme are you using? I am guessing this is because of the way your theme is building the title. Can you post the node.tpl.php code here, please?

spidersilk’s picture

Status: Postponed (maintainer needs more info) » Active

It's a Zen subtheme, and I only made a few minor changes to nod.tpl.php - nothing directly affecting the title structure. Here's the code (leaving out the huge long comment at the beginning that Zeen files always have):

<div id="node-<?php print $node->nid; ?>" class="<?php print $classes; ?>"><div class="node-inner">

  <?php print $picture; ?>

  <?php if (!$page): ?>
    <h2 class="title">
      <a href="<?php print $node_url; ?>" title="<?php print $title ?>"><?php print $title; ?></a>
    </h2>
  <?php endif; ?>

  <?php if ($unpublished): ?>
    <div class="unpublished"><?php print t('Unpublished'); ?></div>
  <?php endif; ?>

  <?php if ($submitted || $terms): ?>
    <div class="meta">
      <!-- <?php if ($submitted): ?>
        <div class="submitted">
          <?php print $submitted; ?>
        </div>
      <?php endif; ?> -->

      <?php if ($terms): ?>
        <div class="terms terms-inline"><?php print t('Categories: ') . $terms; ?></div>
      <?php endif; ?>
    </div>
  <?php endif; ?>

  <div class="content">
    <?php print $content; ?>
  </div>

  <?php print $links; ?>
  
  <div style="clear: both;"></div><!-- makes sure floated items stay inside node div -->

</div></div> <!-- /node-inner, /node -->
nancydru’s picture

Strangely enough, I had the same problem with a custom module on my current customer's web site right after I posted this.
This is how I fxed it (this would be node-weblinks.tpl.php):

  <?php if (!$page): ?>
    <h2 class="title">
      <a href="<?php print $node_url; ?>" <?php print drupal_attributes($weblinks_options['attributes']) ?>><?php print $title; ?></a>
    </h2>
  <?php endif; ?>
GStegemann’s picture

Status: Active » Fixed
jonathan1055’s picture

Thank you Gerhard for going through the old issue queue and cleaning things up. We will soon have the open issue count back to under 100. Nice :-)

GStegemann’s picture

Thanks. Yes, would be great to have the open issue count unter 100. But some of the issues are probably not easy to fix.

jonathan1055’s picture

I made a few changes to our project main page 'How can you get involved?' section, in particular I added a link to show all issues with 'needs work' or 'needs review' so we (and anyone else) can quickly get to the issues we are working on. This will help to keep focused on the work being done.

GStegemann’s picture

Great, thanks.

Second we should also update the 'Development version status' section. Especially the 6.x version to 6.x-2.x and 'update.php required' to yes.

Status: Fixed » Closed (fixed)

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