This topic is locked

Dynamic Meta Tags for SEO

3/16/2010 5:44:33 AM
ASPRunnerPro General questions
J
johnhardy author

I wish to create Title and meta description tags from table fields.
E.G.

I inserted this in the Title tag

<title><%=(Contacts.Fields.Item("FirstName").Value)%></title> as a test.
I thought the FirstName in the list would show but source code shows only

<title><%=(Contacts.Fields.Item("FirstName").Value)%></title>
Is there a way I can show a database field(s) in the Title and Description meta tag fields.
Thank you

John

J
Jane 3/17/2010

John,
here is a sample code:

<title>{$FirstName}</title>


Then you can assign value for the FirstName in the Before display event on the Eventstab. Actual code is dependent on the page where you want to show this value.