Closed (fixed)
Project:
Reviews
Version:
7.x-1.6
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
30 Oct 2012 at 20:14 UTC
Updated:
16 Nov 2012 at 10:04 UTC
It would be great to use the URL pattern when viewing/adding reviews to the node. For example, if I am on www.example.com/product/taxonomy/title, when you click on the review tabs it will use the node ID, such as www.example.com/node/52/reviews instead of www.example.com/product/taxonomy/title/reviews.
I am using contextual filters based upon the URL structure as well as breadcrumbs which would be nice to maintain these features when looking at reviews. It is also better display for the end-user.
Comments
Comment #1
scot.hubbard commentedVersion 7.x-1.7 has now been released and includes PathAuto integration to address this issue.
Comment #2
BD3 commentedThank you for adding this! However, I cannot seem to get this to work properly. I am using 7.x-1.8 and have adjusted the URL Pattern "Reviews Paths" at admin/config/search/path/patterns. I then Bulk Generated the Aliases to which nothing happened. Still when adding a review, I receive www.example.com/node/52/reviews as the URL structure. Perhaps I am doing something wrong. Any thoughts?
Comment #3
scot.hubbard commented@BD3 - have you set the pattern for the content type that the reviews are enabled for? You must do that first.
Comment #4
BD3 commentedI have, my Content Type Pattern is
products/[node:field-product-category:0]/[node:field-product-category:1]/[node:title]and my Reviews Path is
products/[node:field-product-category:0]/[node:field-product-category:1]/[node:title]/reviewsI tried using other example content for the Reviews Path such as "test/[node:title]" but that didn't seem to work either.
Comment #5
scot.hubbard commentedI found a debug function that I though I had removed in the module. If you don't have the DEVEL module installed and enabled it could have caused an error. Can you try the 7.x-1.9 version please. I have tested it with complex URL patterns and it works OK for me.