[development] Taxonomy path OG aware

Earl Dunovant prometheus6 at gmail.com
Mon Jun 29 01:36:16 UTC 2009


Sorry, been busy.

I suggest you use a view instead of an alias. Given arguments (nid of
the group, termid of teh term) creating a page display of posts in the
group with that term is pretty straightforward.

On Thu, Jun 25, 2009 at 5:22 PM, Paolo Mainardi<paolomainardi at gmail.com> wrote:
> Someone have other ideas ?
> Thanks :)
>
> On Thu, Jun 25, 2009 at 4:33 PM, Paolo Mainardi <paolomainardi at gmail.com>
> wrote:
>>
>>
>> On Thu, Jun 25, 2009 at 11:55 AM, Earl Dunovant <prometheus6 at gmail.com>
>> wrote:
>>>
>>> Yes you're right. Your question means you want to have a single
>>> taxonomy and share it across groups...you would have to use Views for
>>> that. You would clone the taxonomy_term view that ships with Views and
>>> add an argument that filters nodes by group membership.
>>
>> Yes it was i did and it's ok, but the point it's another, how to create
>> custom path for this taxonomy/term/$og->title with Pathauto ?
>>
>> Where "taxonomy/term" is "category/term-title", i need to create
>> "og-title/taxonomy/term" --> "og-title/category/term-title".
>>
>> It's a little bit more clear ?
>>
>> Thanks :)
>>
>>>
>>> You should install the advanced_help module. That's how you get
>>> detailed help on Views and a lot of other important modules as well.
>>>
>>> On Wed, Jun 24, 2009 at 3:02 PM, Paolo Mainardi<paolomainardi at gmail.com>
>>> wrote:
>>> > But with og_vocab after i need to create new vocabularies for every new
>>> > group created, i'm right ?
>>> >
>>> > On Wed, Jun 24, 2009 at 6:08 PM, Earl Dunovant <prometheus6 at gmail.com>
>>> > wrote:
>>> >>
>>> >> Try the OG Vocabulary module. It lets each group have it's own
>>> >> taxonomy.
>>> >>
>>> >> On Wed, Jun 24, 2009 at 9:14 AM, Paolo
>>> >> Mainardi<paolomainardi at gmail.com>
>>> >> wrote:
>>> >> > Dear All,
>>> >> >
>>> >> > I need your opinion and suggestions on a (for me) complicated task.
>>> >> >
>>> >> > I have OG + Taxonomy (views on taxonomy/term) + Pathauto + Some
>>> >> > content
>>> >> > types
>>> >> >
>>> >> > Now, i need to achieve this task, when you are in a node (og
>>> >> > context)
>>> >> > taxonomy links must be have something relative to og, for example:
>>> >> >
>>> >> > "/taxonomy/term/$tid/$og->nid" (for example passing last argument to
>>> >> > views
>>> >> > for fitering only og nodes with this taxonomy term) (consider that
>>> >> > i'm
>>> >> > using
>>> >> > Pathauto, so taxonomy/term it's aliased for example on
>>> >> > "category/$category_name").
>>> >> >
>>> >> > I tried with custom_url_rewrite but it's not a so simple task and
>>> >> > with
>>> >> > hook_menu trying to create on the fly all this path (but it's a
>>> >> > little
>>> >> > bit
>>> >> > strong in terms of cpu cycles...).
>>> >> >
>>> >> > I'm using D5.
>>> >> >
>>> >> > Please, someone could suggest me the right way  ? :) Thank you very
>>> >> > much!!!
>>> >> > :)
>>> >> >
>>> >> > --
>>> >> > Paolo Mainardi
>>> >> >
>>> >> > CTO Twinbit
>>> >> > Blog: http://www.paolomainardi.com
>>> >> >
>>> >> > -- Please consider the environment before printing this email --
>>> >> >
>>> >
>>> >
>>> >
>>> > --
>>> > Paolo Mainardi
>>> >
>>> > CTO Twinbit
>>> > Blog: http://www.paolomainardi.com
>>> >
>>> > -- Please consider the environment before printing this email --
>>> >
>>
>>
>>
>> --
>> Paolo Mainardi
>>
>> CTO Twinbit
>> Blog: http://www.paolomainardi.com
>>
>> -- Please consider the environment before printing this email --
>
>
>
> --
> Paolo Mainardi
>
> CTO Twinbit
> Blog: http://www.paolomainardi.com
>
> -- Please consider the environment before printing this email --
>


More information about the development mailing list