Skip to main content

Drupal

Removing the dreaded 'Read More' Link

When creating stories in Drupal, or posts of any kind, you run across an annoying little default. It's the dreaded Read more link.

The link is obviously a good idea, though people do complain about where the link appears. Where it becomes dreaded is with short posts, like this one. You can control where the link appears by putting in a break in your story (a <!--break--> does the job nicely). However, regardless of where you put the story break, if your post is a short one, you get a Read more link even if the break is the last thing in the post. What that means is that visitors to your site wind up clicking the link only to discover there's nothing else to see. Well, here's how you fix this annnoyance.

Click Administer, then Post Settings. One of the settings you'll see is a drop down box labeled "Length of trimmed posts". The default is 600 characters. Change that to "Unlimited" and save the settings. The only catch now, is that if you created your short story before making this change, you'll need to go in, edit the story (you don't need to change anything) and save it. The "Read more" link will be no more.

 

Drupal, my blog, Views, and the grand experiment

Lately I've been getting more and more unhappy with blogging under Drupal. Specifically, I'm developing a serious dislike (bordering on hate) for the blog module that ships with Drupal. Regular visitors to this site, CookingWithLinux.com, and my new occasiodaily FOSS and Linux news show, WFTL Bytes!, have already figured out that I'm experimenting with new topics, new content, and new ways of delivering that content. Aside from the sites and content I've mentioned, I want to start talking and writing about other things that excite me, whether it be Linux, science, politics, or religion. What I thought I wanted was a blog with sub-blogs so I could focus each of my blogs on a particular topic and let you, the reader, choose the topics that interested you. What I achieved was more confusion and the beginnings of a grand experiment to do away with the blog module entirely.

Syndicate content