Hi everyone, I think I have a rather straightforward requirement that I have not been able to find a satisfying solution for in Drupal or other modules.
That said, Quicktabs comes very close and I have seen requests here to take it into the ideal (from my POV) direction.
Here's what I want to achieve (I give a concrete example to make the SEO aspect simpler to follow):
say my site is about cars. Say I have node types car, body, engine, performance. Car is the "parent" node type, the others are children. There are perhaps 1000 instances of the parent node "car", with children nodes attached to each. I'm using module node hierarchy to have the children nodes attach to their respective parents.
Now I want to...
1. display a parent node (car), with a tab automatically created for each child (body, engine, performance), with the first tab being opened, the other ones should only load when clicked (I want to show Google adsense on each tab, with the add being customised to that individual tab)
2. URL for the parent would be {site}/cars/{carname}, with a page title of {carname}
3. for the sake of SEO (important to me!), the URL for the parent page with an individual children tab displayed should be {site}/cars/{carname}/{childcontenttype}, yielding e.g. {site}/cars/{carname}/engine
4. the title of such a page should be something like {carname} - {childcontenttype}
5. the actual URL of individual child pages (never displayed alone) could be defined entirely differently and hidden from search engines. I might as well hide the URL that displays the parent with the first tab open {site}/cars/{carname}/body from search engines since the content will be the same as the default URL of the parent {site}/cars/{carname}.
The closest approach seems to be this cookbook http://drupal.org/node/134320 which unfortunately was written for Drupal 5 and given my PHP (non)skills is a non-starter.
I may be mistaken but I think Quicktabs is not too far from this 'dream state', if a few of the ideas above could be adopted. Work would include:
1. to avoid having to hard-code node ids in the setup, add a tick box that says "display all child nodes as individual tabs", and have quick tabs get referencing nodes by looking at the database. Tab titles could be the children node types.
2. URL handling would have to be expanded to avoid SEO-unfriendly {site}/cars?quicktabs_x=y#quicktabs-z URLs and interpret {site}/cars/engine type URLs (it's possible according to the article linked above)
3. page title adjustment to avoid Google-duplicate page title issue as discussed elsewhere in this issue log
Anyone else interested in such an enhancement?
.
Comments
Comment #1
djschoone commentedsubscribing
Comment #2
netw3rker commented