You are hereBlogs / vinayras's blog / Removing "Read more" links from Frontpage
Removing "Read more" links from Frontpage
My website is powered by Drupal 5.7. Recently i reworked on its frontpage for better readiblity of data.
I was trying to remove "Read more" links from frontpage. After analyzing, i found that i could change in the module itself - but this will be overridden once i update my module.
I was looking for alternative solution to this - and while searching in Drupal.org forums, i came across
http://drupal.org/node/244182#comment-881076
I used this code to hide links on frontpage.
// Hide links - such as email to friend, mark as spam, etc
.links { display: none }
// If you have service_links module, enabled, this will help you hide them.
.service-label { display: none }
you can checkout the code on http://www.nagpurpulse.com
Please send your suggestions / comments regarding this.
Thanks
Vinay
















Version 6? I thought we do have this version already. Could you recommend that one?
Yes, i agree - i just wanted to share quick and dirty tip to "hide" the links.
Vinay Yadav
http://www.vinayras.com
This approach is a CSS approach, and the links are still there but just hidden. Nothing wrong with it though. :-)
Another approach would be if you are using a custom note-type.tpl.php file. There will be a PHP line that says
<?php print $links ?>
This is an array. Iterate through it and discard the read more link.
Post new comment