<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
field_region is just a text field. It has a fixed number of possible
values (input as a drop-down box). <br>
<br>
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. <br>
<br>
Thank you. <br>
- A <br>
<br>
On 01/04/2011 04:54 PM, Carl Wiedemann wrote:
<blockquote
cite="mid:AANLkTi=2s6DOZ1jHNSiPQTHKCkjXymBKNzPz5b9aTvhY@mail.gmail.com"
type="cite">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 <a moz-do-not-send="true"
href="http://drupal.org/project/views_attach">http://drupal.org/project/views_attach</a>
may be of use to show products for a given region or vice versa.
<div>
<br>
</div>
<div>A simpler solution could be to use taxonomy instead.<br>
<meta charset="utf-8">
<div><br>
<div class="gmail_quote">On Tue, Jan 4, 2011 at 10:44 AM,
Andrew Manson <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:andrewm@graticule.com">andrewm@graticule.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">Hi all,<br>
<br>
I have already asked this "quick" question in the IRC but
even while I<br>
was typing it I felt it was more mailing list material...
Right here goes:<br>
<br>
I have some path aliases set up using PathAuto where the
url will be of<br>
the form: data_products/[field_region-raw]/[title-raw] .
This comes out<br>
in the format data_products/namerica/product1 when viewing
the node. The<br>
data_products/ url is actually a view and the
[field_region-raw] acts as<br>
a view argument so going to data_products/namerica would
so all products<br>
in north america.<br>
<br>
What I would to have is a Menu Item "North America" that
will be<br>
highlighted when you go to the url data_products/namerica/
and the url<br>
data_products/namerica/product1 .<br>
<br>
I have been looking around Google quite a bit but I can't
find anything<br>
that meets my needs but I think that I just have a lack of
understanding<br>
and don't really know what I should be looking for. Can
anyone point me<br>
in the right direction?<br>
<br>
Regards,<br>
- Andrew<br>
<font color="#888888">--<br>
[ Drupal support list | <a moz-do-not-send="true"
href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a>
]<br>
</font></blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</body>
</html>