How would that sound, to automagically set the page from the node title information? Is it a good idea, easy to do?

Comments

moshe weitzman’s picture

this is a fine idea. i tried to implement it but it required soem changes to the node API. the particular problem is that we output the header before we know the title of the node. not too hard to fix, but not a 10 minute change either.

al’s picture

I've just sent a patch to the mailing list to fix this for anything that is foo.com/node/view/x

cybe@drupal.org’s picture

Another example of how special the Drupal Development community is. Very good indeed.

phpdan’s picture

I've been trying to read the drupal code/documentation to understand how it works. As I would like to be able to gain access to a variable which simply has the title without any extra code (ie. HTML tags).

The reason for this is that for each story I would like to have an image which corresponds with the taxonomy.

I took a look at your posts in the mail list and I do not think I found my answer there. (Perhaps it is there, but I did not understand the code...)

Can someone direct me to where I should start?

moshe weitzman’s picture

polder.theme in the Contrib repository offers images related to taxonomy just like k5 and Slashdot. You can download this theme from the download page.

phpdan’s picture

Thanks very much! Works great!

I love how people have their themes available. I really helps in the development of my site!