So i'm running Grav v1.7.46 and trying to enable Recent Posts v1.0.0 to display on my Grav powered site. I'm using Quark 2.0.4 theme.
It seems to install OK, but I cannot manage to get anything to appear in the sidebar. Regardless of settings, categories, page filters, etc. I've checked the permissions on various directories, no issues. I read and tried all the examples on the GitHub page. Nothing loads into the sidebar.
Check error logs. This plugin is 8 years old. Most likely incompatible with latest versions of Grav. You could try asking dev on Github to update the plugin, but I doubt it would be updated
cheers Karmalakas, I've already had a look, the errors I am getting are fairly standard. Grav has never run completely error free for me on my platform. i'm going to upgrade my server from the OS up. do a reinstall of Grav.
I agree. however I have a great deal of errors indicating I could have an issue with a dependent package and I want to get that sorted. Grav is the only manually installed package on my system. I run FreeBSD and use it's packages system.
Hi, apologies, i have posted about this previously but I am still stuck.
Has anyone manged to get the 'recent posts' plugin working, or a work around? I am after a list in my sidebar of the last 6 pages published, that all. The plugin is not working for me and the github project is archived.
Note the config.plugins['recent-posts'].enabled. Twig will treat the dash (-) in config.plugins.recent-posts.enabled as a minus and will fail silently.
Hi, i did try this with no outcome. note: I am not using blog posts, just normal pages. i'm using the 'item' template for those in the following arrangement:
Grav is recognizing the plugin is enabled. it'll display test comments in the both the twig templates. i've double checked the file permissions etc.
I am not using blog posts, just normal pages. i’m using the ‘item’ template for those in the following arrangement:
Unfortunately, above statement is quite confusing... You're not using "blog posts" (item.md), just "normal pages" (what is normal? default.md?) and you are using "item template" (item.md)
Anyway, RecentPosts does not care about the template being used... except that the Twig snippet must be in the right template for the page in which you would like to display the recent posts.
The plugin is working as expected using a fresh Grav installation using the following two setups: