Control display of content
I've installed concrete5 today and begun experimenting, I've come from a few years of Joomla. I'm still getting my head around it but I did read the "transitioning-from-joomla-to-concrete5" article.
What I can't figure out is that there doesn't seem to be any way to control how content is displayed on a page. I'm trying to set up a blog page to display the first paragraph of other blog entries/pages, so you can just click the title of these other pages to load the full page. This would be a blog format I suppose.
I tried the page list bloc but that didn't work. This isn't making a ton of sense to me yet..
Any help on what I'm missing would be greatly appreciated. Cheers.
Location in Website
Display pages that are located:
everywhere, beneath this page, beneath another page,
Select beneath another page and select blog as the location. If your adding it to the blog page then you would use beneath this page.
The truncate summary option right after controls how many characters from a blog should be shown so if you have this set to 140 then it will only show 140 characters as the blogs description.
This will show the page name which if clicked will take the user to the blog. It will show the description, and the thumbnail but you may need the blog thumbnail template herehttp://www.concrete5.org/marketplace/addons/blog-thumbnail/... not sure if its needed in 5.6.
I set things as you described but the truncate option wasn't working for me. The blog page was still showing only the title of the individual blog pages. I had to click on the page list block and select > custom template > blog index to get it to show the content of the blog pages. I just sort of stumbled on to it.
That setting shows the entire text of the blog post with a "Read Full Post link below it". My next question was actually going to be, "how do I ad a read more link to my pages".
Unfortunately, I don't seem to be able to control how much text is displayed before the "Read Full Post" link. Setting the truncate summary option in the page list block doesn't change anything, it still always shows the full text of the article. I'm trying to specifically limit that to a paragraph or so.
Thank you again for the help.
1) On the blog post page, highlight the first paragraph of the blog content and copy to your clipboard.
2) Hover over the Edit button and choose 'Properties'
3) Paste the paragraph of content into the 'Description' box.
Now your Page List should pull this content and put it under the title of the blog.
You can check out this free add-on as well:
mhawke, I tried your instructions, it didn't seem to do anything to the page as far as I could tell. I did try the teasers add-on. With the Truncate Summaries option it did work, it stopped showing the text exactly at the right character count, but I then I lost the "Read Full Article" link, to load the full article, so that's a no go.
I can't figure out what in the custom template Blog Index uses to decide when to put in the Read Full Article link.
I guess I'm stuck in the middle somewhere..
Johnthefish. Magic heading doesn't seem to do a Read More link at a specific point in a page but I appreciate the suggestion.
I need the ability to place a Read More link in the page which is the place where the blog page shows the link to continue reading the full article.
Again, thanks for the help, if you have any other suggestions they're greatly appreciated.
Create a series of folders starting in your [root]/blocks folder so you have a path like this:
Download the attached file and rename it to 'view.php' and upload it to the new 'read_more_link' folder.
Click on your Page List block and choose 'Custom Template'. Choose 'Read More Link' from the drop-down.
Save your changes and see how she looks.
You can adjust how the 'Read more...' is displayed by editing line 20 of the view.php file you just uploaded.
You should then see an additional custom template called 'Teasers With Read More'.
Line 25 contains the 'Read more...' code if you'd like to change the way it's rendered.
Please, I just have a question, how to put the "read more" on the same line just after the page content?
thank you very much ciao ciao
<br /><br />
at the beginning of line 25 with whatever character string you'd like to display instead. I found that I liked the predictability of having the 'read more...' on a separate line but whatever floats your goat.
Merry Christmans & Happy New 2014!!