Hi,

Is there someway of using different url(s) for the amazon_store. For eg: currently the url's are like this:

/amazon_store/item/asin

Can I make it something like /buy/item/asin or just /item-asin for example? Is it something that requires a feature in the module or can I use something existing to do this..

Comments

rfay’s picture

Status: Active » Fixed

I don't know of a way to do that.

You could probably use URL aliases (the path module) to provide *aliases* to some things, but I don't think they'd get properly updated. So you could definitely create aliases to /amazon_store and /amazon_store/item, but I don't know how you'd create a proper alias to /amazon_store/item/%asin.

If you think of a way, or have a feature request around this, please let me know.

-Randy

cursor’s picture

I would definitely like this as a feature, they will good for SEO as well, if you can perhaps even do descriptive urls.

Maybe there is a module, which could perhaps help. I am searching :)

rfay’s picture

Sorry, I had a complete brain cramp. I was thinking you were talking about the main amazon_store page.

You can use the included panel and change it to do anything you want with the item display page (normally amazon_store/item/%asin)

1. Change the path in it to /someurl/%asin
2. Associate %asin with the Amazon ASIN
3. Add panes to your panel to do whatever you want.

Take a look at the docs page at http://drupal.org/node/494402 for more on panels.

cursor’s picture

Cool, that does work but there is still a small problem. The pages from amazon_store are still linked to amazon_store/item/asin and not the over-ridden panel pages :(

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.