Skip Menu |

This queue is for tickets about the Template-TT2Site CPAN distribution.

Report information
The Basics
Id: 11206
Status: resolved
Priority: 0/
Queue: Template-TT2Site

Owner: Nobody in particular
Requestors: william [...]

Bug Information
Severity: Wishlist
Broken in: 0.94
Fixed in: (no value)

Subject: Overriding global settings in local file
Download (untitled) / with headers
text/plain 978b
Hi Johan, I'm starting to grok how the module works. Although it's sliced and diced a bit too finely for my needs (which made understanding how it works a bit more challenging than I think necessary), I like what I'm seeing. I have a question about overriding global settings in the content files. For instance, I have many pages which use custom style tags. I can place a style tag directly into the content and, although this is not legal, most browsers seem to be able to handle it. My goal is to be able to say in a page (e.g., about.html), I want to insert these lines into the header. Is there a way to accomplish this? It would facilitate customizing keywords and other such meta tags on a page-by-page basis. Without this ability, I'm afraid that I won't be able to use this module despite all the other niceties I'm found. Thanks, William PS - You have a typo on the Contact page for TT2Site's website. I suspect that you meant 'wisdom' when you wrote 'wishdom'.
From: william [...]
Download (untitled) / with headers
text/plain 245b
OK, I figured out how to do this by reading the TemplateToolkit docs[1]. Basically, I can set any variable at the beginning of the file which appears to override the global settings from elsewhere. William [1]

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to