-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Last comments and last blog entries in the right sidebar #111
Comments
You need a block for display recent comments and recent blog entries? Well, there is no such block in QACMS, as this CMS is not really a blogging-oriented platform, however it can be adapted to such platform among others. Actually, default installation process creates the basic setup for a blog-like website... but as I mentioned you are allowed to define virtually any type of content: galleries, shopping cart, etc. You can do this using the option "Contents > Content Types > Define new content type", you will see that Blog Articles are just one predefined content type. Marking as RFC, I'll work on such blocks for next release. ;) |
Hello, |
Added "Recent Contents" block, it can be used to render a list of any desired type of content. It allows you to specify a search criteria that will be used to retrieve the content titles that will be used to fill the list. For instance, if you want to create a list of latest published articles you can use the search criteria For existing QACMS installations manual DB update is required, simply run the following SQL in order to register the new block: INSERT INTO `blocks` (`id`, `copy_id`, `handler`, `title`, `description`, `body`, `visibility`, `pages`, `locale`, `settings`, `status`) VALUES (NULL, NULL, 'Content\\Widget\\RecentContentWidget', 'Latest Contents', 'Lists of recently published contents.', NULL, 'except', NULL, NULL, NULL, '1'); |
Thanks for a help and I have also realized so. Adding this record to the database was successful. Unfortunately, when I go to the blocks in the backend, I get an internal error in the browser. There is no correct error message, but only "internal error" and not more. What did I do wrong? |
ups, composer update If error still persists try to clear your caches (tmp/cache), and enabling debug |
Thanks, it worked so well and I could include last comments and last posts in the sidebar. Now I only have to write content to watch it. Unfortunately, after the composer update my website was not accessible at http://quickapps.wpzweinull.ch/blog. I had to reinstall QuickApps. Very bad, but I'm kinda afraid to update the composer next time 😄 I have made it quite normal with Previously, I deleted the composer cache. In the directory /blog is the composer.phar and from there I also made composer update. I can not explain why the website was not available. Now everything seems to work and I have to be more careful then. |
I am working for a few hours with QA and would like to know how to make final comments and recent blog entries in the right sidebar?
I've seen the block option in the backend and have thus realized the blogroll. But how can comments and blog entries are displayed? Thank you in advance!
The text was updated successfully, but these errors were encountered: