Hey, thanks for the plugin!
Unfortunately I couldn't make it work yet, but I am also pretty new to Processwire at all, so this may be a problem on my end as well.
First issue I have is, that I am using processwire not in document root on the page, but in some subdirectory called processwire.
It seems the css path is wrong as it does seem to miss the subdirectory processwire:
<link rel="stylesheet" type="text/css" href="/processwire/site/templates/styles/main.css" />
<link rel="stylesheet" type="text/css" href="/site/modules/MarkupProcesswirePhotoswipe/photoswipe/photoswipe.css">
<link rel="stylesheet" type="text/css" href="/site/modules/MarkupProcesswirePhotoswipe/photoswipe/default-skin/default-skin.css">
<link rel="stylesheet" type="text/css" href="/site/modules/MarkupProcesswirePhotoswipe/MarkupPwpswpGalleryHorizontalScroller.css">
Edited: The path to $scriptUrl seems to miss the subdirectory too.
second problem I have is that I always get
Notice: Undefined index: alt in /opt/users/www/html/processwire/site/modules/MarkupProcesswirePhotoswipe/MarkupPwpswpGallery.module on line 168
No matter what I try.
Editing line 168 to
$imageData['alt'] = $image->alt ?: $imageData['description'];
silences this warning, but I am not really sure if this would be correct approach.
Using PHP7.0.21 right now and processwire 3.0.98 if this is of any importance
Hey, thanks for the plugin!
Unfortunately I couldn't make it work yet, but I am also pretty new to Processwire at all, so this may be a problem on my end as well.
First issue I have is, that I am using processwire not in document root on the page, but in some subdirectory called processwire.
It seems the css path is wrong as it does seem to miss the subdirectory processwire:
Edited: The path to $scriptUrl seems to miss the subdirectory too.
second problem I have is that I always get
Notice: Undefined index: alt in /opt/users/www/html/processwire/site/modules/MarkupProcesswirePhotoswipe/MarkupPwpswpGallery.module on line 168
No matter what I try.
Editing line 168 to
$imageData['alt'] = $image->alt ?: $imageData['description'];silences this warning, but I am not really sure if this would be correct approach.
Using PHP7.0.21 right now and processwire 3.0.98 if this is of any importance