advanced-cms / advanced-reviews

This is an Open Source add-on that improves the reviewing process and lets external users to view & review content items or whole projects without the need to access the Edit Mode. Created and maintained by Bartosz Sekuła and Grzegorz Wiecheć
Apache License 2.0
17 stars 15 forks source link

Block-Specific Review Links Result in "Resource Not Found" Error #246

Open ShaikhFarhin opened 7 months ago

ShaikhFarhin commented 7 months ago

When utilizing the "Review Link" feature in CMS 11, I've observed that review links are being generated for individual blocks within a page. However, when attempting to open these block-specific review links, a "resource not found" error occurs. Can this review link generation for Blocks be restricted?

barteksekula commented 6 months ago

It is not possible to preview blocks. Only routable content.

ShaikhFarhin commented 6 months ago

I understand that it's only for routable content :), but is there a way to restrict creating links for blocks? Currently, it creates links for blocks as well. From an author's perspective, who may not be well-versed in the technical aspects, if the author has the block opened and clicks the external link, the link is being generated for the block as well. Is there any customization I can do using the classes within the library?

barteksekula commented 3 weeks ago

@ShaikhFarhin of course it makes sense. This could be a feature flag, sometimes only pages are routable but sometimes not.