the URL is constructed from the types label

I have used the type beforeSave() to construct a unique label
based on title and date

but maybe you can use location
eg label = "#title#-#city#-#state#"

or maybe jobID??
 label = "#jobID#-#title#"


2010/1/14 West <[email protected]>

> Hi,
>
> It seems that is very possible to end up with duplicate friendly URLs
> due to the way they are constructed.
>
> For example, if I have a list of jobs and two jobs have the same
> title, but are in different cities/states. The url looks like this
> when you hover over it:
>
> http://www.abc.com/jobs/jquery-developer  (Location - Colorado)
> http://www.abc.com/jobs/jquery-developer (Location - New York)
>
> In my HTML I have this:
>
> <tr>
> <td><a href="<skin:buildlink objectid="#qJobs.objectid#"
> urlOnly="True" />">#qJobs.job_title#</a></td>
> </tr>
>
> If I was to send someone a link to the job which job would appear?
>
> Any thoughts on this definitely appreciated.
>
> --
> You received this message cos you are subscribed to "farcry-dev" Google
> group.
> To post, email: [email protected]
> To unsubscribe, email: 
> [email protected]<farcry-dev%[email protected]>
> For more options: http://groups.google.com/group/farcry-dev
> --------------------------------
> Follow us on Twitter: http://twitter.com/farcry
>



-- 
AJ Mercer
http://webonix.net
http://twitter.com/webonix
-- 
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: [email protected]
To unsubscribe, email: [email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry

Reply via email to