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

Blackhole html export

plugins

Started by Robert Vesely 6 years ago · 8 replies · 1023 views
6 years ago

Hello 🙂

I read the instruction for Blackhole plugin but I could not make it work.

This is how I filled form: https://ibb.co/6XFX6Zj

When I clicked generate, it asked me this weird question https://ibb.co/V9X88wR

As you can see, there is no input for " Input URL" as seen in instruction. Can you please help me to find a way to make it work, please?

6 years ago

@Robovision,

When I clicked generate, it asked me this weird question https://ibb.co/V9X88wR

Have you tried to click 'Leave'? And what happened?

As you can see, there is no input for " Input URL " as seen in instruction.

Input URL is only needed when using the CLI because the CLI does not know the URL of the site. In Admin, the Url of the site is known and hence an input field is not required...

6 years ago

When I click on Leave, the page reloads and the only difference is URL with ?blackhole=generate after http://localhost/gravdemo/admin/plugins/blackhole

Like this:
http://localhost/gravdemo/admin/plugins/blackhole?blackhole=generate

I understand there should be folder called "zzz" with html but there is none.

Also, I changed "absolute_urls: false" to "true" in users/config/system.yaml

I tried to change "../zzz" just to "zzz" but the folder can not be found anywhere.

6 years ago

@Robovision, I'm sorry, but I cannot reproduce the issue.

Using a fresh Grav 1.6.26 installation and using your settings, 'Generate' creates a folder 'zzz' in the root of the site, with the following content:

TXT
zzz
├── home
│   └── index.html
├── index.html
└── typography
    └── index.html
6 years ago

@Robovision, Sorry, but you're not doing me a service with this video...

Try the following and see if it works:

  • Create a fresh install of Grav 1.6.26
  • Install Blackhole plugin
  • Enter settings, save and run Generate

It should be working. If not... I cannot be of much more help.

3 years ago

I use Grav v1.7.37.1 and Blackhole v1.1.0 installed.
I have the same difficulties with the generating result. My plugin settings are:

  • Output URL: http://localhost:81
  • Output Path: zzz
  • Routes:
  • Use urls from a sitemap url: No
  • Simultaneous Limit:
  • Assets: Enabled
  • Force: Enabled

The above settings are saved and appear when reopen. The process looks like the following:

  • I open the plugin page - /admin/plugins/blackhole
  • Any attempt to leave it (even without changes) shows the Grav alert "Changes Detected You have unsaved changes. Are you sure you want to leave without saving?". I don't leave the page
  • I click the button "Generate"
  • the browser alert about unsaved changes appears, I click "Close" (an alternative was "Cancel")
  • As a result the window location becames /admin/plugins/blackhole?blackhole=generate , no more changes, no error messages or warnings

The expected folder zzz is not found. Does the plugin work? Thank you in advance.

last edited 12/22/22 by yyer
3 years ago

@Alexander, I don't think many users on the forum will have experience with the Blackhole plugin. You might consider contacting the author directly by creating an issue on the repo of the plugin.

3 years ago

ok, I'll try to do
thanks ✍️

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 48 1 month ago
Plugins · by PIERROT Alain, 2 months ago
3 72 2 months ago