XoopsModules25x / publisher

Publishing module for XOOPS for static/HTML content and articles stored and provided in a hierarchical manner
6 stars 25 forks source link

URL rewriting does not work with comments. #172

Open GregMage opened 2 years ago

GregMage commented 2 years ago

When url rewriting is enabled, it is not possible to post a comment.

"comment view options" doesn't work either. It seems that all modal type windows do not work

ihackcode commented 2 years ago

Thanks for reporting this. I'll work on a fix for these two issues.

ihackcode commented 2 years ago

I wonder if anyone would mind if I remove index.php from the path-info setting.

// generate SEO url using path-info
            return PUBLISHER_URL . "/index.php/${op}.${id}/${short_url}";

according to seo.txt it shouldn't have index.php in it.:

If you are using path-info method, SEO-friendly URL (non-working example)
  http://www.xuups.com/modules/publisher/item.62/holiday-time.html