Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
By Anonymous (not verified) on
I am currently evaluating the CVS version of Drupal (beacuse it has support for clean URLs). Now, if I have a taxanomy, is there a way to have urls of the form
cat/subcat/subsubcat/filename
where filename will be chosen by the user?
Can I do this using the rewriting rules in .htaccess?
Also (and totally unrelated): How do I modify a theme, so that things like the login button or boxes only appear on the homepage and not on the pages of actual content nodes?
Comments
what filename?
what do you mean by filename. is this a drupal file, or something else? in any case, you cannot use term names in urls today. that would be a reasonable request though.
it seems that your next need would be met by using the Block Path feature on the block admin page. there you can enable/disable blocks depending on a regular expression which is matched against the current url ... if you want 0 boxes on all but the home page, then you do indeed have to edit your theme. search on this site for "home page" and you'll read about how to make it special from all the other pages.
Filename instead of node id
The filename would be something related to the content of the node text. So an author could assign a "document name" when creating a node that would be used as a filename. It is just more user-friendly to have urls that have some meaning down to the lowest level instead of node ids.
Thanks for your help. I will look into the block path feature later.