Hi!

I have a page where the url is created through taxonomy. So for example, the URL is example.com/cars/bmw/leather_sits.
I know that I could this with views magic, but i need it programmaticaly in my tpl.

What I so spectacularly fail to accomplish is to find a way to print the page title in my page.tpl.php, taken from the last argument of the url.

It should be something like:
- get all arguments
- find the last one (should be the id of the taxonomy term?)
- print the term name of this id (as title).

How can I do this? How can i "find the last arg"?

Thanks,
Maria