[drupal-devel] Before I patch: is there an existing /[cat]/[user] solution?
Hello, I am trying to auth-generate URL alias paths in the form of /blogname/category or /category/blogname (or in pathauto speak: /[user]/[cat] or /[cat]/[user]). I have posted numerous questions about this in several places. Jeremy of GreenAsh recommended I try using taxonomy_browser in combo with pathauto for this (see http://drupal.org/node/21320#comment-36674 ), but I as of yet have really no clue as to how to use taxonomy_browser to do anything...and have yet to find what I found to be a useful taxonomy_browser doc reference. Before I try my own patch for this, I ask: can anyone think of way I can get things to work with existing 4.6.0 tools/resources so that I don't have to go code something myself? I am willing to pay $30 US dollars via paypal.com (or some other convenience mechanism) to anyone who can help me accomplish this task. More details can be found here:
http://drupal.org/node/21832 http://drupal.org/node/21320 http://drupal.org/node/21320#comment-37449
As well as in the included email found below. I have already created one patch ( http://drupal.org/node/21885 ) for another problem ( http://drupal.org/node/21712 ), and I'm hoping I can do something similar for this problem (described in more detail below). Thanks very very much in advance for any help, -Matt Chicago, IL USA mobile: 312-543-9916
Date: Wed, 04 May 2005 19:36:46 -0500 To: drupal-support@drupal.org From: Matt England <mengland@mengland.net> Cc: mengland@mengland.net Subject: [drupal-support] URL alias: howto get /[cat]/[user] display? pathauto/taxonomy_browser?
I am trying to auth-generate URL alias paths in the form of /blogname/category or /category/blogname (or in pathauto speak: /[user]/[cat] or /[cat]/[user]).
Can anyone offer suggestions? I'm been checking this out for a while and am getting concerned that I'm not going to find a solution.
These forum discussions provide more detail:
http://drupal.org/node/21832 http://drupal.org/node/21320 http://drupal.org/node/21320#comment-37449
The file references in the immediately-previous reference are supposed to be available via briefcase.yahoo.com, and the links are broken, so I include the files as attachments to this email.
Thanks for any help, -Matt
-- [ Drupal support list | http://lists.drupal.org/
More details can be found here:
http://drupal.org/node/21832 http://drupal.org/node/21320 http://drupal.org/node/21320#comment-37449
And what about http://drupal.org/node/22183 ? I'd be happy to implement this and I was never against some money for my work. Now... where is that editor window... NK
I'd be happy to implement this and I was never against some money for my work.
Excellent. I would be happy to pay the $30 US. I can also pay less then that (say $15) for a "partial" solution. The only thing "partial" that could be acceptable right now I can think of is if the solution were not automated (ie, if I were required to manually create a /category/blogname alias every time a new blog-author or category is created.) I should probably clarify: it needs to meet my specific requirements of /category/blogname (that displays all blog posts from a specific blogname-user-author and also has the state category) as described below; /blogname/category also works. This seems to be different from http://drupal.org/node/22183, but more on that below. I'm also open to any tutorials on taxonomy_browser, for Jeremy at least believes I might be able to leverage it's capabilities; I'm still lost on how to get any benefit out of taxonomy_browser. Anyone is also welcome to call, IM, or email me directly for further discussions and/or clarifications. IM: menglandcleversafe@yahoo.com mobile: +1-312-543-9916 At 5/7/2005 03:19 PM, Karoly Negyesi wrote:
More details can be found here:
http://drupal.org/node/21832 http://drupal.org/node/21320 http://drupal.org/node/21320#comment-37449
And what about
For what it's worth, I'm only using Drupal initially for multi-user blog support (more business purpose here: http://drupal.org/node/21320 ), and http://drupal.org/node/22183 does not appear (at first glance, anyway) to give me anything more then what I can already get with the blog and pathauto modules (I already have /blogs/[user] running quite nicely). My impression is that http://drupal.org/node/22183 provides user-filtering support for ALL kinds of nodes (and not just blogs), and that may or may not be helpful for me in the future if use Drupal for more then blogging. As of right now, I don't seem to need that capability. Maybe I'm misunderstaning the intent of http://drupal.org/node/22183 ? -Matt
Fyi: mikeryan and I have reach an agreement for him to update pathauto to include this capability. -Matt At 5/7/2005 03:32 PM, Matt England wrote:
At 5/7/2005 03:19 PM, Karoly Negyesi wrote:
More details can be found here:
http://drupal.org/node/21832 http://drupal.org/node/21320 http://drupal.org/node/21320#comment-37449
Since recommending taxonomy_browser as a possible solution, I've had a look at this module in greater detail, to see if it really can be leveraged to do what you want. The latest version of taxonomy_browser (4.6 branch - I don't guarantee that earlier versions have any of this functionality) lets you search for nodes that fall in certain categories, and that are of certain types. The results pages have URLs as follows: Say that I searched for all blog posts in category 5, the URL would be: www.mysite.com/taxonomy/term/5?type=blog This functionality is actually provided by node_type_filter.module (http://drupal.org/project/node_type_filter). So the above URL will work only if node_type_filter is installed on your site. In fact, it will work WITHOUT taxonomy_browser, but then you have nothing to generate the URLs for you. I don't know how you would alias such a URL - you can only alias the ?q= part of a path (i.e. /taxonomy/term/5 in the above example), whereas this path has a second part to it (the ?type= part) which can't be aliased. But this at least shows that the filtering you're looking for can be done. Aliasing is the next step after that, I guess. On 5/8/05, Matt England <mengland@mengland.net> wrote:
I'd be happy to implement this and I was never against some money for my work.
Excellent. I would be happy to pay the $30 US. I can also pay less then that (say $15) for a "partial" solution. The only thing "partial" that could be acceptable right now I can think of is if the solution were not automated (ie, if I were required to manually create a /category/blogname alias every time a new blog-author or category is created.)
I should probably clarify: it needs to meet my specific requirements of /category/blogname (that displays all blog posts from a specific blogname-user-author and also has the state category) as described below; /blogname/category also works. This seems to be different from http://drupal.org/node/22183, but more on that below.
I'm also open to any tutorials on taxonomy_browser, for Jeremy at least believes I might be able to leverage it's capabilities; I'm still lost on how to get any benefit out of taxonomy_browser.
Anyone is also welcome to call, IM, or email me directly for further discussions and/or clarifications.
IM: menglandcleversafe@yahoo.com mobile: +1-312-543-9916
At 5/7/2005 03:19 PM, Karoly Negyesi wrote:
More details can be found here:
http://drupal.org/node/21832 http://drupal.org/node/21320 http://drupal.org/node/21320#comment-37449
And what about
For what it's worth, I'm only using Drupal initially for multi-user blog support (more business purpose here: http://drupal.org/node/21320 ), and http://drupal.org/node/22183 does not appear (at first glance, anyway) to give me anything more then what I can already get with the blog and pathauto modules (I already have /blogs/[user] running quite nicely).
My impression is that http://drupal.org/node/22183 provides user-filtering support for ALL kinds of nodes (and not just blogs), and that may or may not be helpful for me in the future if use Drupal for more then blogging. As of right now, I don't seem to need that capability. Maybe I'm misunderstaning the intent of http://drupal.org/node/22183 ?
-Matt
Hi Jeremy, At 5/8/2005 09:59 PM, Jeremy Epstein wrote:
I don't know how you would alias such a URL - you can only alias the ?q= part of a path (i.e. /taxonomy/term/5 in the above example), whereas this path has a second part to it (the ?type= part) which can't be aliased. But this at least shows that the filtering you're looking for can be done. Aliasing is the next step after that, I guess.
Thanks for this analysis. It's good to know how some of these other modules work. As for my requirements: mikeryan is working on an update for pathauto to do this stuff. -Matt
participants (3)
-
Jeremy Epstein -
Karoly Negyesi -
Matt England