[Zope] extract page title
phil at xfr.co.uk
Tue Apr 24 11:05:12 EDT 2007
Dean Hale wrote:
> I'm trying to implement some web tracking code within a page template,
> however a little stuck.
> In the code below i'd like to append the page template - page title
> between the <title> tags dynamically rather than having to manually add
> to each page
> <img src="http://domain/xxx/xxx/s?websitename.PAGETITLE"
> width="1" height="1" alt="">
> do you have any advise please on how this could be done?
I've re-read this thread about four times now, and am having a lightbulb
Do you mean that you wish to dynamically form the tag: -
...such that "PAGETITLE" is the title of the current page?
If so, you need to bone up on "tal:attributes", because you need to do
something like: -
(Untested - but you get the idea)
More information about the Zope