changing the title
changing the title
I'm working on a module and using moduleinterface.php, and it's pulling a template from the page that it comes from I guess, but I have a problem because the template that I use uses {title}, which is great on my normal pages, but on this page it's no good, and just gives me nothing. Is it possible for me to change the value of {title}?
Re: changing the title
Unfortunately, it really can't be done. The problem is that {title} is not actually handled by smarty, it's parsed before hand. I need to change how that works, now that I understand smarty a little more.
Trying to think of a quick workaround, and am turning up blank. Lemme think about it.
Trying to think of a quick workaround, and am turning up blank. Lemme think about it.
Re: changing the title
Well, I could probaby make my own temporary workaround, just use a regexp on the output buffer, but it wouldn't be the *right* way to do it, and it wouldn't be portable or anything. I'll probably wait till you implement it properly.