By stevemagruder on
Like on a /category/blogs/blog-name page, how is the title and listing of nodes generated? I'm fairly new to Drupal, and I'm having trouble following how the code is put together (and I'm a programmer!).
Thanks,
Steve
Comments
First, there is Drupal's
First, there is Drupal's blog module which creates a blog for each user's posts of type "blog entry". But apparently you don't want user blogs.
If you have defined categories and you tag some posts with them, then you have a category blog in: taxonomy/term/nnn (where nnn the id of a category). The title is the name of the category.
To make the URL look better, you can enable the path module (a core module) and create an URL alias for taxonomy/term/nnn, for example category/blogs/blog-name. You can automate this part somehow by using the pathauto module.
Another approach is to use categories only for tagging but to do the listing with the views module, which has more options.
I meant where is the code generated for the page I described
What files do I look at and what functions? That's all I meant. Thanks!
Steve Magruder - http://www.webcommons.biz
Doh!
Doh!
I can't help much there but until someone who can comes up, check the http://api.drupal.org/api/5 page and try some substrings searches in the autocomplete box. I often locate useful stuff this way (where a function is, who calls it etc). For example the substrings
titleandtaxonomy(in case of taxonomy listings) should come up with something useful.And of course the phptemplate variables where the results are loaded.