Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Plugins

Plugin "directorylisting" doesnt show Mediafiles using Scholar Theme

Started by Hans Breitenfellner 8 months ago · 5 replies · 79 views
8 months ago

If i use the scholar theme from “skeleton_scholar_admin” and i install the directorylisting plugin, the only output is the “*.md” file. All mediafiles are omitted.

Any ideas whats going wrong ?

image|297x240

8 months ago

@habreli, I cannot reproduce the issue on a fresh install of the scholar-skeleton, scholar theme and directorylisting. Media files are shown as expected.

Also installing sole directorylisting in a fresh Grav install using Quark works as expected.

8 months ago

I did the same.

Took a skeleton_Scholar installation without any updates und installed the directiorylisting pluging.

Then i modified this page “\htdocs\gravskeleton\user\pages\02.docs\03.configuration\02.advanced\article.md”

I added:

process:
markdown: true
twig: true

And copied
{{ directorylisting|raw }}
to the end of the page.

And finally i added some mediafiles.

But nothing happens..
If i add eg. the “Learn2” theme and activate it, everything will be rendered correctly.

FYI: It´s a local installation with xampp and Win10.

8 months ago

@habreli, I can reproduce the behaviour when adding images to the folder using Windows Explorer, or VScode.

In my case $ bin/grav cache solves the issue.

Grav is not aware that the images have been added to the folder and will serve a cached version of the page.

8 months ago

@pamtbaau
Already cleared the cache before via the admin paneel.

Now i tried it from the CLI → same result.

FYI - i added the mediafiles via drag&drop inside the integrated editor (admin paneel).

8 months ago

@habreli, I'm sorry to say that I don't have much more to add...

👍 1

Suggested topics

Topic Participants Replies Views Activity
Plugins · by Rene, 1 week ago
2 43 1 week ago
Plugins · by Xavier, 4 weeks ago
2 53 4 weeks ago
Plugins · by Luka Prinčič, 7 years ago
3 1179 1 month ago
Plugins · by Sebastian van de Meer, 1 month ago
1 47 1 month ago
Plugins · by PIERROT Alain, 2 months ago
3 72 2 months ago