By consumptivas on
Hi,
I'm using views module to display some articles on a page. Is there a simple way to remove the titles links for all templates ?
Tank you in advance.
Hi,
I'm using views module to display some articles on a page. Is there a simple way to remove the titles links for all templates ?
Tank you in advance.
Comments
So your list of articles has
So your list of articles has titles that link the full nodes?
Absolutly, I succed removing
Absolutly, I succed removing "read-more" link for some articles in which only teasers are present (body empty) and I need logically to remove title link
(I'm not sure this is very good english, tell me if it's not clear for you)
Thanks I can understand you
Thanks I can understand you fine. Your English is FAR better than my French!!
I guess you're using views3 for Drupal 7?
Yes, latest Drupal and views
Yes, latest Drupal and views release.
And don't worry, I think teach French is more complicated ;-)
Hi, Take a look at this short
Hi,
Take a look at this short screencast I just made:
http://screencast.com/t/TbzAh4U0
It doesn't show you the whole of views, just points you in the right direction. I hope it's OK for you.
Sometimes things take so long to explain in words and pictures - but with Jing, I can just show you :)
Thank you for your answer. At
Thank you for your answer.
At first, I used this solution, because I was able to fine-tune all fields using field format, but I was not able to display the read more link.
In contrast, using content format allows to display the read more link, but disallows tune title link.
A true headache !
It needn't be a
It needn't be a headache...
You can use one of the global fields - called custom text i think. Your custom text can be 'Read more' and you can link it to the node. I've done that many times. Have a try with it. If you can't see where to start, post back and I'll point you in the right direction.
Many thanks
I tested and tried many options and I succeed ! Here is, step by step, how I did to display a read-more link only for specifics articles.
if this can help someone...
1- Create a custom field in structure => Content types,
2- Choose your node and clic manage fields
3- Add a New field labelled "Read more"
4- Name it "field_read_more"
5- Select boolean field type, single on/off checkbox and save
6- on value : type "read more..." (it will display thereafter) - Off value : leave empty - and Save field settings
7- In "manage display" select in the format col and save
Now you'll see a checkbox below your body field (for the selected node) Check this box if you want to display "read more link"
In the views module, show Format as field, add title and body fields and the newest read_more field. Then output custom link with something like this :
<a href="[title]">[body]</a>You're done !
Now if you checked the box below the body textarea in your content node, a "read more" link will display in the view page :)
Oh good, I'm glad you found a
Oh good, I'm glad you found a way to do it that you're happy with. Well done!
Matthew
Thank you for the screencast
It was very helpful.
Thanks, that helped me a lot.
Thanks, that helped me a lot. I'm glad you left the screencast up there. :)
Thanks
The screencast helped me too. Thanks!