Open berensn opened 2 years ago
You can add' author:{author_slug}' in the frontmatter under aura I also edited the twig template, adding ' | raw' to make it output the actual img tag instead of just text
Author list is not populating in the editor. Even if I write author:{author_slug} in the page frontmatter, each time I edit the page it removes the author info. How can we solve the issue?
It looks like there is no support for the plugin anymore. So we're finding our own solutions. :)
I added this line in the function getAuthors in aura-authors.php file and it did the trick.
self::$authors = Grav::instance()['config']->get('plugins.aura-authors.authors');
@bskscmn Where and how did you add this code? I'm either getting an error, or it still doesn't let me choose the author.
It looks like there is no support for the plugin anymore. So we're finding our own solutions. :) I added this line in the function getAuthors in aura-authors.php file and it did the trick.
self::$authors = Grav::instance()['config']->get('plugins.aura-authors.authors');
That line causes my installation of GRAV to crash. My error reads: "0 - Class "Grav\Plugin\Grav" not found" A namespace issue or class inheritance. I am just saying words - I don't know what it means... Anyone else have any ideas?
If you got error "0 - Class "Grav\Plugin\Grav" Import namespace use Grav\Common\Grav;
Thank you!
On Mon, Jun 3, 2024 at 9:28 AM alexukua @.***> wrote:
If you got error "0 - Class "Grav\Plugin\Grav" Import namespace use Grav\Common\Grav;
— Reply to this email directly, view it on GitHub https://github.com/matt-j-m/grav-plugin-aura-authors/issues/7#issuecomment-2144468137, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQSRQ3NTHBTNXBBFQ6SEJCDZFQLIXAVCNFSM5NB3MNE2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMJUGQ2DMOBRGM3Q . You are receiving this because you commented.Message ID: @.***>
-- ------------------------------------------------------------ Maja Miljković @.*** +381 63 7563 980
Pretty much what it says on the tin. I added an author in the plugin but the Aura tab isn't populating with the author name. I logged out, logged back in, cleared cache, and it still isn't populating. I suspect it should be possible to use frontmatter to add in the author but I have no idea what the syntax for that would be