By Shucker on
Hi there,
My front page is (node) and every time I post a story and post it on the front page, Drupal only shows a portion of the story and provides a "read more" link. Is there anything in the settings that would let me display all of the stories in their entirety or let me pick and choose which ones to expand fully and which ones to have a "read more" link?
Thanks for your help!
Comments
Simple enough...
Just add (open carrot)!--break--(close carrot) at the end of your story and you'll see the whole thing as the teaser. Take a look at the "Inaugural Article" on my site, that's what I did for that one.
Thanks,
David
http://www.floridapets.org
Alternatively use the Views module
I suggest using this remarkable module which will give you a lot of control over what you make your front page look like. Including a list of titles and full content if that is what you want
I love views
But I really think it's overkill for this particular thing.
Thanks,
David
http://www.floridapets.org
overkill, yeah, but...
Yeah... it is kinda overkill. However, adding
<!--break-->at the end of every node is not a very maintainable solution.I'd suggest installing Views just for the sake of experimenting with it. It's great. I just installed it a couple days ago and I already can't imagine how I got by without it. It saves so much programming and time.
=======================
Just another newbie.
XHTML Strict: it's the way to be.
=======================
Feature request: HTML Source Formatting in TinyMCE
Fixed
Sorry, I just wanted to fix that. To get the "carrots" to show up in HTML, use < for < and > for >. Also, & does &
Or code tag
Or you can use the
<code>tag, courtesy codefilter.module which is running on drupal.org. :)This:
<code><!--break--></code>
Produces this output:
<!--break-->Unfortunately, you can't nest the closing code tag inside a code tag as for my example... go figure.
=======================
Just another newbie.
XHTML Strict: it's the way to be.
=======================
Feature request: HTML Source Formatting in TinyMCE
Thanks!
Thanks for the replies... I think both will come in handy, but if 90% of my stories are to be fully displayed, then I don't necessarily want to use the "break" code each time. But I do like that I can force the length of the teaser. I'll give Views a try and see what that has to offer... sounds good!
Cheers!
Also, try the "Excerpt" module
This is a very simple module which has the advantage of allowing you to put exactly what you want into the teaser. For example, you can copy/paste the entire node into the teaser, or you can put a few introductory lines which are completely different from the node. I don't know if it answers your case, but I find it very handy.
I haven't done this
but I also know theres an option somewhere that lets you edit the amount of the teaser, like how many words is in the teaser.
I haven't done a huge number because I usually trim mine to a couple paragraphs but you could maybe try to put it at like 2000 words or something...
*shrug*
I'm using views to display
I'm using views to display the 'full node' but it still shows a read more link at the end of each node. Is there any way to get rid of it? There is no more to read at the end when a full node is displayed!
Would like Front Page stories to be expanded - no "read more"
Would like Front Page stories to be expanded - no "read more" link in Drupal 7 please help me
Go to nod.tpl.php and remove
Go to nod.tpl.php and remove the code "
print render($content['links']);"