Closed (fixed)
Project:
Amazon Store
Version:
6.x-2.0-alpha1
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
1 Aug 2009 at 03:59 UTC
Updated:
18 Aug 2009 at 08:20 UTC
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
Comment #1
rfayI 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
Comment #2
cursor commentedI 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 :)
Comment #3
rfaySorry, 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.
Comment #4
cursor commentedCool, 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 :(