field_region is just a text field. It has a fixed number of possible values (input as a drop-down box).
You mention that taxonomy might have a better solution for this problem, I am not really that familiar with taxonomy so is there any chance you could describe the "simpler solution" you mentioned.
Thank you. - A
On 01/04/2011 04:54 PM, Carl Wiedemann wrote:
What type of field is field_region? You may have better luck if field_region is a nodereference field, where the regions are nodes and the product nodes refer to the region nodes. Views attach http://drupal.org/project/views_attach may be of use to show products for a given region or vice versa.
A simpler solution could be to use taxonomy instead.
On Tue, Jan 4, 2011 at 10:44 AM, Andrew Manson <andrewm@graticule.com mailto:andrewm@graticule.com> wrote:
Hi all, I have already asked this "quick" question in the IRC but even while I was typing it I felt it was more mailing list material... Right here goes: I have some path aliases set up using PathAuto where the url will be of the form: data_products/[field_region-raw]/[title-raw] . This comes out in the format data_products/namerica/product1 when viewing the node. The data_products/ url is actually a view and the [field_region-raw] acts as a view argument so going to data_products/namerica would so all products in north america. What I would to have is a Menu Item "North America" that will be highlighted when you go to the url data_products/namerica/ and the url data_products/namerica/product1 . I have been looking around Google quite a bit but I can't find anything that meets my needs but I think that I just have a lack of understanding and don't really know what I should be looking for. Can anyone point me in the right direction? Regards, - Andrew -- [ Drupal support list | http://lists.drupal.org/ ]