mbennie
|
| Posted: 04/23/2002, 11:07 PM |
|
Is anyone aware of a way to generate html titles dynamically based upon url parameters?
Using asp/templates
MB
|
|
|
 |
Nicole
|
| Posted: 04/24/2002, 2:25 AM |
|
Hello,
it's pretty easy to do. Define form title as template variable, e.g. {Title}, then in form Open event catch passed parameter and depending on its value give real value to template var using code:
SetVar "Title", "Any custom Title"
You can find more about CC Templates in GotoCode article: http://www.gotocode.com/art.asp?art_id=91&
|
|
|
 |
mbennie
|
| Posted: 04/24/2002, 3:18 AM |
|
I'm sorry, I wasn't clear. I want to generate the HTML Page title meta tag dynamically. Any help?
|
|
|
 |
Nicole
|
| Posted: 04/24/2002, 4:06 AM |
|
In this case just define page title as template var and then assign it a value in open event of one of the page forms.
|
|
|
 |
mbennie
|
| Posted: 04/24/2002, 4:37 AM |
|
Nicole - You're awesome. I figured it would be much more complicated.
|
|
|
 |
|