Add a Read More Link to Body in Drupal 7 Views

Sinéad's picture
Drupal 7

This is one of those things that is easy to forget if you don't use it again and again.
It's simple and straight forward - just easy to forget!

To add a Read More link to a View

Edit the View. In this case I have a Blog Feed View in the Footer of my website.
In the View Fields >
Add a "Content :Path" field >
Check the 'Exclude from the Display' box >
Re-arrange it up towards the top of the order. To do this you just click the down arrow beside the Add link, then select 'Re-arrange' and you can arrange the order of all fields.
Now Click on the Body Field > Rewrite Results >
Check 'Trim this field to a maximum length'  (I'm using 75 here) >
Check 'Trim only on a word boundary' >
Check 'Add an ellipsis' >
Check 'Add a read-more link if output is trimmed.'
Then add your 'Read More' text >
And under 'More link path' add > [path]  
You can get that from the Replacement Patterns at the top.

That's it, you should be done.
Now go and forget all that and we'll see you back here when you need it again.
 

Share this post: 
Sinéad Wallace
Sinead is a Web Designer / Developer with more than 15 years experience in all aspects of building websites. She has a Diploma in Print and Design from CIT and made the move from designing for Print to designing for Web in 1999. She has developed bespoke solutions for small to medium businesses covering sectors as diverse as financial, travel and sports, as well as working on websites for large organisations such as Aer Lingus Cargo and the Irish Management Institute. She has been involved in all elements of the design and development of these projects; from initial mock-up design to fully implemented site.

Recent Work

Some of Ireland's biggest brands use Pride Design to Design, Build, Manage, Market and Maintain their websites.

Website design for St.Patricks Credit Union in Dublin, Including Loan Calculators.

Website design and development for a step by step wedding and other stationary ordering website f

New website designed and developed for Cork's newest café, which is based in Merchants Quay in Co

New Website design for Pain Relief clinic based in Cork City.

Website for a busy Dublin city centre pub.

We redrafted the Ballymaloe house website to modernise the look and feel of the site and to also

We revamped the website for the Ballymaloe Cookery School.

We revamped the Cully & Sully website onto Drupal.

Rachel Allen was brought up in Dublin and left home at eighteen to study at the world-famous Ball

Clóna Dairy Products are a Dairy Company based in Clonakilty, Co. Cork, since 1919.

Project Arts Centre is Ireland’s leading centre for the presentation and development of c