Remove [read] more link from views using "full node" setting.

Nickerbockerbean - April 6, 2007 - 17:06
Project:PHPTemplate
Version:4.6.x-1.x-dev
Component:Code
Category:support request
Priority:critical
Assigned:Unassigned
Status:active
Description

Here's the situation. I am using Drupal 4.7.3, with a Customized PHP Template. I have taken over a project someone else created and customized. I have no way of reaching that person.

On my home page (I'd give you a link but it's a corporate intranet) I am using a two column panel with views. The top view is the current top story displayed as a block. However in the view settings for "block" I have "full node" selected. I also have the post settings set to unlimited trimming. No matter the setting, I continue ti have the "more" link visable at the bottom of the view.

The code in my node.tpl.php file looks like this:

  <div class="content">
    <?php print $content; ?>
    <?php if (!$page): ?>
      <a href="<?php print $node_url ?>">More...</a>
    <?php endif; ?>
  </div>

I think it thinks if you are not on the exact node page it should print the tag. Any ideas? Please help. It's driving me crazy one node at a time.

#1

Nickerbockerbean - April 25, 2007 - 04:01

does anyone out there have any idea about this? It's still driving me nuts.

#2

cgjohnson - February 25, 2008 - 19:26

Me too if there's an answer. I did see the Read MOre Tweak module, but it doesn't seem to remove it. thanks.

#3

pow - May 9, 2008 - 10:28

Via CSS?!

.more-link {
display:none;
}

or

#yourdiv .more-link {
display:none;
}

greetings,

pow

 
 

Drupal is a registered trademark of Dries Buytaert.