Skip to content
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

Author List Not Populating In Aura Tab #7

Open
berensn opened this issue Jan 28, 2022 · 7 comments
Open

Author List Not Populating In Aura Tab #7

berensn opened this issue Jan 28, 2022 · 7 comments

Comments

@berensn
Copy link

berensn commented Jan 28, 2022

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

@berensn
Copy link
Author

berensn commented Jan 30, 2022

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

@bskscmn
Copy link

bskscmn commented Jun 7, 2022

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?

@bskscmn
Copy link

bskscmn commented Jun 16, 2022

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');

@Marouk80
Copy link

Marouk80 commented Aug 7, 2023

@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.

@bjazmoore
Copy link

bjazmoore commented Sep 16, 2023

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?

@alexukua
Copy link

alexukua commented Jun 3, 2024

If you got error "0 - Class "Grav\Plugin\Grav"
Import namespace
use Grav\Common\Grav;

@Marouk80
Copy link

Marouk80 commented Jun 5, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants