Pretty URLs for product images
Permalink Browser Info Environment
Hi,
doesn't this really great AddOn support pretty URLs?
Cheers
doesn't this really great AddOn support pretty URLs?
Cheers
Type: | Discussion |
---|---|
Status: | New |
yes, exactly.
while the C5 iteself is set to "Pretty URL" your GalleryBox injects always "index.php" into the URLs.
And that isn't always working, for example when adding a comment to an image. then you get sometimes domain.com/subdir/index.php/subdir/index.php/gallerybox/image/15#gbx-user-comments/
and that doesn't work, of course.
while the C5 iteself is set to "Pretty URL" your GalleryBox injects always "index.php" into the URLs.
And that isn't always working, for example when adding a comment to an image. then you get sometimes domain.com/subdir/index.php/subdir/index.php/gallerybox/image/15#gbx-user-comments/
and that doesn't work, of course.
Hi Jeramy,
I replaced most of the "View::url()" with "BASE_URL.DIR_REL." to get the pretty-url thing working.
Do you want to have the modified files?
cheers
I replaced most of the "View::url()" with "BASE_URL.DIR_REL." to get the pretty-url thing working.
Do you want to have the modified files?
cheers
Thanks. I'd prefer to leave it as is for now since this is how concrete5 is supposed to work, I think it is just a bug in the current version.
Something like mysite.com/gallerybox/image/my-image-name?
Not yet, but it is a great suggestion! I will add it to the feature request list.