seb-vial / grav-plugin-about-me

Simple plugin to show some information about yourself, with a nice picture, your name, your title/job and a description
MIT License
9 stars 7 forks source link

No content displayed #9

Closed vincowl closed 6 years ago

vincowl commented 6 years ago

While having installed about-me in grav 1.3.6, having activated it and inserted the {% include 'partials/aboutme.html.twig' %} line in a brand new page where twig processing is activated, no content is displayed. I only have a shadowed box with absolutely no content. I tried to modify the aboutme.html.twig to display {{ about_name }}, it seems that this variable is empty, while it had content correctly set in aboutme.php. Any idea ??

seb-vial commented 6 years ago

I haven't updated the plugin for a while now, I'll have to check if something changed in Grav which would explain this behavior.

vincowl commented 6 years ago

Thanks a lot ! Hope this won't imply too much work

seb-vial commented 6 years ago

It works fine on my side with a fresh install, here is what I did:

image

Do you use the admin plugin or do you install and configure everything from the CLI ? Do you have a aboutme.yaml file in your user/config/plugins folder that overrides the default configuration for the plugin ? If that's the case, make sure there is no formatting error in this file.

vincowl commented 6 years ago

I followed your steps on a brand new full installation from the CLI and it works perfectly (Apache2 / php7.0, grav 1.3.6 without admin plugin).

I still have the problem on my previous installation. It is based on ahumaro/grav-php-nginx docker image (using nginx and php7.0). I made the whole installation / page creation using the admin plugin.

vincowl commented 6 years ago

I found what caused the problem : there must be a conflict with ShortCodes Core plugin. While deactivating it, AboutMe worked perfectly. I opened a new issue #10 to trace this since it is a new issue. This one may be closed.

seb-vial commented 6 years ago

Fixed in #10