Closed (fixed)
Project:
Danland
Version:
7.x-1.0
Component:
User interface
Priority:
Major
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
5 Apr 2011 at 06:38 UTC
Updated:
29 May 2014 at 16:40 UTC
Jump to comment: Most recent
Comments
Comment #1
sheth.varun commentedComment #2
sheth.varun commentedI need help to remove the read more link in the content
Comment #3
danpros commentedHi,
Open the node.tpl.php and remove this
Comment #4
sheth.varun commentedIt removes the read more link but the page display is still not full i need to show the entire page content
Comment #5
sheth.varun commentedCan somebody please tell me how to have full content instead of readmore link
Comment #6
Deepika.chavan commentedHi,
To get full node instead of 3-4 lines on front page:
1. Click on 'Edit summary' link and put the same data in the summary which is there in body of your content.
2. Follow the instructions given in local_sample.css file to activate custom css file.
3. To Hide the 'Read more 'link add following css in local.css file.
4. Please clear cached data.
Rgrds,
Deepika Chavan.
Comment #8
Shepherd348 commentedI appreciate your attempt at solving this problem but the example you've provided is half an apple. Noobies like myself do not know the context that this code is to be entered into. I deleted the code that called for the read-more icon to show up and put this code in its place. The read-more icon disappeared and was replaced by this code. Can you please provide the complete phrase for the ignorant masses?
Thanks for your input. I'm half bald headed from pulling my hair out.
Shep
Comment #9
senortim commented@Shepherd348 It's not clear from your message which code you're talking about -- the PHP (#3) or the CSS (#6). FWIW, the CSS is the easier way of simply getting rid of the button. The actual CSS file you need to modify may depend on your theme. It's good practice to sub-theme so that you can upgrade the base-theme without overwriting your changes.
My question, for any takers, is how one can hide the Read More button when there isn't more content than is already shown. (Or show it only when there is.)
Within a Panel, I'm rendering full nodes from within Views using a custom view mode, with the goal of making the render nodes look like they're part of the body of the page. But sometimes, the content managers are going to post long chunks of text, and so the ability to trim when necessary would be nice.
Comment #10
kiruthik51 commentedI have 3 teaser content which is displayed in home page.I need to remove READ MORE link to the second node alone.For the other 2 nodes i need to have read more.How to do this
Comment #11
CB Stilborg commentedThere is a module for this:
https://drupal.org/project/readmorecontrol
Comment #12
kojow7 commentedHere is what I did to solve the problem in Drupal 7:
Comment #13
office@w3k.at commentedTo remove the read more link from content in drupal 7 - via template files, add this to node.tpl.php
Somewhere before