hey

can someone help me here

http://playstationteam.com/previews

that page works fine, but on the category link it is always adding _0

its soo annoying

Comments

venkat-rk’s picture

This happens when you have duplicate aliases. Check your list of aliases and remove the extra one.

Did you use the bulk update option in pathauto? If so, check the option NOT to generate a new alias in addition to the exisiting one.

philipk’s picture

hey, thanks for the reply, i will try this later

philipk’s picture

i created a 'trailer' term in a vocab... and added a page called 'another trailer

http://playstationteam.com/trailers/another_trailer

that works fine...

but:

http://playstationteam.com/trailers/

doesnt list it? just shows a 404 ?????

this is driving me insane

venkat-rk’s picture

Is 'another trailer' a page or a post?

philipk’s picture

its a page..

venkat-rk’s picture

Are you sure you want to use page? That is generally used for static stuff, not dynamic postings, although you can tag postings on pages with taxonomy terms.

Instead, if you use the story node type for your postings, this would be the solution:

1.) Create a vocab called Trailers with a term (category) called trailers
2.) In the 'Category path' settings of pathauto, put [cat] in the setting
3.) If you use the story module to post trailers to this category (trailers), in the 'Node path' settings of pathauto, put [cat]/[title] in the setting field for story module
4.) Save the pathauto configuration
5.) Post a trailer, choosing the 'Trailer' term
6.) You will now see this post on www.playstationteam.com/trailer/post_title. This is the node view

If you go up a level to www.playstationteam.com/trailer, you will see a teaser (or the full post depending on your settings and the post length) of the post you just made.

I suspect you put [vocab] in the 'Category path' settings. Currently, Drupal doesn't give you a listing page when a vocab name is aliased. There is a solution for that, but this may suit you better.

Hope this helps. If you still want to use 'page' instead of the story module for posting, let me know and I will try to figure it out for you.

philipk’s picture

Ramdak, I will have a go at this later tonight. Thanks so much.

philipk’s picture

that doesnt work, it creates the trailer here:
http://playstationteam.com/trailers/trailers

and because it is a 'story' it uses my news story pathauto path (which is set up perfectly for news stories):
http://playstationteam.com/trailers/trailers/2006/05/05/sadasd

whats annoying is that i set this up on a newer version of drupal about a month ago:
http://crimelounge.com/profiles.htm

and it works fine.. no problems at all... am going to go back to experimenting for the next hour

philipk’s picture

ive deleted those examples now

still havent got it working, its driving me insane.. been trying trying to do this for the last 2 days... it only took me a day to get the site where it is at the moment.

venkat-rk’s picture

Okay, this is how you do it. Your alias of profiles.htm for the profiles category on crimelounge.com confused me.

1.) Create a taxonomy term called 'trailer' in a vocabulary
2.) Put [cat] in the Category path settings of the vocab to which this term belongs
3.) Put [cat]/[title] in the page field of pathauto's Node path settings
4.) Create a page called 'Another Trailer', tagging it with the taxonomy term 'trailer'

You will now have a page called www.playstationteam.com/trailer/another_trailer and on www.playstationteam.com/trailer, you will find teasers of all the trailer pages (another_trailer, another_trailer2, another_trailer3, another_trailer4) you create and tag with the 'trailer' term.

The difference between the playstationteam and the crimelounge.com implementation is that the taxonomy term is NOT aliased to end in .htm. If you notice carefully on that site, your taxonomy term page is aliased to profiles.htm, but if you click through to the full pages of the profiles, the path is www.crimelounge.com/profiles/henry_hill.htm. If you go up a level from there, you get the proper taxonomy term page for profiles at www.crimelounge.com/profiles. I would suggest against aliasing terms to end in .htm if you are using them to represent a hierarchy of some kind- even a simple one like this.

Hope this finally helps.

philipk’s picture

gee!

looks like it works!

http://playstationteam.com/test

merci!