Daily blog post feature
Permalink
Hello,
I am not a programmer (that will be clear in a moment). I am looking for an add-on or solution to post a single blog post on the home page of a site (1 unique post/365 days a year). The content is ready, but I am not sure how to build a database that will pull day 254, for example.
Any help is appreciated.
Thanks,
Marvin
I am not a programmer (that will be clear in a moment). I am looking for an add-on or solution to post a single blog post on the home page of a site (1 unique post/365 days a year). The content is ready, but I am not sure how to build a database that will pull day 254, for example.
Any help is appreciated.
Thanks,
Marvin
Copy the page list block with all its settings from the elemental blog page to your home page, then make the list just 1 entry long.
Thanks for the response. I suppose I now need to build a custom template for the page list block so that the content from the blog is formatted in a similar fashion.
To be clear, I meant the c5 edit mode copy/paste to scrapbook, not the actual php code.
Thanks, but it doesn't appear to be clear to me at all. Evidently, I am in over my head.
The page is able to call up the daily post, but the text is not formatted in the page list block, so I only see the description from the block, not the actual post. Again, probably in over my head on this one.
Thank you
The page is able to call up the daily post, but the text is not formatted in the page list block, so I only see the description from the block, not the actual post. Again, probably in over my head on this one.
Thank you
I see where you are at now. You will need a template for the page list, but you may be able to use an existing template rather than needing to create it yourself.
Check through the templates are already installed when you click the blocks menu for 'Design and Custom Template' (a few rows below 'edit' in the dropdown menu).
There are also several template collections with alternate page list templates in the marketplace, some of them free.
Even if you don't find exactly what you want, you may find a better starting point for developing your own code.
If you do need to write code, there is an addon for legacy concrete5 (so it won't run on v8) called Page List Teasers that I think has the functionality you want, so may give you some code ideas.
Check through the templates are already installed when you click the blocks menu for 'Design and Custom Template' (a few rows below 'edit' in the dropdown menu).
There are also several template collections with alternate page list templates in the marketplace, some of them free.
Even if you don't find exactly what you want, you may find a better starting point for developing your own code.
If you do need to write code, there is an addon for legacy concrete5 (so it won't run on v8) called Page List Teasers that I think has the functionality you want, so may give you some code ideas.
Thanks so much for taking the time to help with this problem.
For a blog feed that lists all of your posts on a single page tryhttps://www.concrete5.org/marketplace/addons/hw-simple-blog/...
Which contains a custom template called "One Page" which will not list the post summary but the entire post.
I'm not sure this is what you want but it is pretty cool.
Which contains a custom template called "One Page" which will not list the post summary but the entire post.
I'm not sure this is what you want but it is pretty cool.
Thanks! The One page template is exactly what I was looking for as a solution. Glad it is working with 8.5.1