Home Page Main Block Posts
Permalink 1 user found helpful
So it seems like many sites I visit have some sort of "Latest News" block on their front page which lists posts by date along with content. I am having trouble doing this with concrete5 because all of the news block add-ons just display a link and summary which direct users to anotherpage that displays all the actual news content. Is there any way to set up a block that I can simply post updates with a WYSIWYG editor which are listed and displayed on the block itself?
An example of what I'm looking for is on this homepage:http://www.dust-digital.com/
Thanks
An example of what I'm looking for is on this homepage:http://www.dust-digital.com/
Thanks
![Ricalsin](/files/avatars/19546.jpg)
add c5's simple "content" block to the page you want, then go back to the "dashboard>sitewide settings>general>Rich Text Editor" and set it to the WYSIWYG value you want.
Ricalsin's solution will work, but if you're a designer who knows HTML/CSS, there are more advanced ways to achieve this that might better suit your needs. Let me know if that's the case and I can post more info.
I would appreciate the info or links, Jordanlev. Are you speaking of the tinyMCE js?
EDIT :: Yes, beyond simple wysiwyg styling you would need some good html and css to get the look and style your link points to. You can learn it yourself, but if that's not your thing then look into C5 doing it for you. I don't work for them, but I would recommend them.
EDIT :: Yes, beyond simple wysiwyg styling you would need some good html and css to get the look and style your link points to. You can learn it yourself, but if that's not your thing then look into C5 doing it for you. I don't work for them, but I would recommend them.
I was going to suggest a few other techniques, not so much specific code.
1) You could keep the same general idea as Ricalsin's, but if the block has some more advanced layout to it or has a couple of different fields (e.g. title, date, content), you could make a custom block type for this purpose with Designer Content (http://www.concrete5.org/marketplace/addons/designer-content... ).
2) If you keep with this one-block-per-news-item approach, note that there's a handy trick someone figured out which sorts the blocks in the area in reverse order (so new blocks are added to the top of the area instead of the bottom):
http://www.concrete5.org/community/forums/usage/add-to-top/#179576...
3) I might re-visit the idea of having each news item be its own page, and use the Page List Teasers addon (http://www.concrete5.org/marketplace/addons/page-list-teasers... ) list actual content from each page. Using this method presents a slightly different "editing experience" to the person managing site content -- basically each sub-page for a news item becomes a "record" in a "database" of sorts -- the user can add whatever kinds of blocks they want to each page, can change the order of them by rearranging the pages in the sitemap, and you also get the benefit of having a specific page to direct people to if a news item comes up in search results. Of course this may or may not be desirable for your situation.
1) You could keep the same general idea as Ricalsin's, but if the block has some more advanced layout to it or has a couple of different fields (e.g. title, date, content), you could make a custom block type for this purpose with Designer Content (http://www.concrete5.org/marketplace/addons/designer-content... ).
2) If you keep with this one-block-per-news-item approach, note that there's a handy trick someone figured out which sorts the blocks in the area in reverse order (so new blocks are added to the top of the area instead of the bottom):
http://www.concrete5.org/community/forums/usage/add-to-top/#179576...
3) I might re-visit the idea of having each news item be its own page, and use the Page List Teasers addon (http://www.concrete5.org/marketplace/addons/page-list-teasers... ) list actual content from each page. Using this method presents a slightly different "editing experience" to the person managing site content -- basically each sub-page for a news item becomes a "record" in a "database" of sorts -- the user can add whatever kinds of blocks they want to each page, can change the order of them by rearranging the pages in the sitemap, and you also get the benefit of having a specific page to direct people to if a news item comes up in search results. Of course this may or may not be desirable for your situation.
Nice suggestions and tips. Thanks, Jordan
Impressive answers, sirs! This really helps me narrow down how to approach the problem.