Visual Basic Code , VB.NET Code, VB Code
  Home   :  Code   :  Forums   :  Submit   :  Mailing List   :  About   :  Contact


Help on displaying element in title tag.


Help on displaying element in title tag.

Author
Message
sallycl
sallycl
Supreme Being
Supreme Being (289 reputation)Supreme Being (289 reputation)Supreme Being (289 reputation)Supreme Being (289 reputation)Supreme Being (289 reputation)Supreme Being (289 reputation)Supreme Being (289 reputation)Supreme Being (289 reputation)Supreme Being (289 reputation)

Group: Forum Members
Posts: 1, Visits: 5
I work on a website that uses a CMS neither of which i set up. example page: http://www.cfp.net/media/release.asp?id=271 

I have data from database that displays in the body using this code:

<%=FormatDateTime(News.ActiveDate,vbShortDate) & " - " & News.Headline%></p>

I want the "news.Headline" to appear in my Title tag. Can you help?

thanks!
Sally

TallOne
TallOne
Forum God
Forum God (24K reputation)Forum God (24K reputation)Forum God (24K reputation)Forum God (24K reputation)Forum God (24K reputation)Forum God (24K reputation)Forum God (24K reputation)Forum God (24K reputation)Forum God (24K reputation)

Group: Forum Members
Posts: 370, Visits: 212
<head>
<title><%=News.Headline%></title>
</head>

TallOne
TallOne
TallOne
Forum God
Forum God (24K reputation)Forum God (24K reputation)Forum God (24K reputation)Forum God (24K reputation)Forum God (24K reputation)Forum God (24K reputation)Forum God (24K reputation)Forum God (24K reputation)Forum God (24K reputation)

Group: Forum Members
Posts: 370, Visits: 212
A bit late I'm sure!

TallOne
brainusa
brainusa
Forum God
Forum God (303 reputation)Forum God (303 reputation)Forum God (303 reputation)Forum God (303 reputation)Forum God (303 reputation)Forum God (303 reputation)Forum God (303 reputation)Forum God (303 reputation)Forum God (303 reputation)

Group: Forum Members
Posts: 1, Visits: 4
well, such dynamic titles are very much important in case of CMS. As search engines seems to be giving increasing importance to all those title tags. I even ask you to include your brand name such as it will appear as <%=News.Headline%> - Brand name will benefit you in terms of branding of your website.


website development company
Edited
5/28/2012 by brainusa
Paul Henry
P
Forum God
Forum God (1.5K reputation)Forum God (1.5K reputation)Forum God (1.5K reputation)Forum God (1.5K reputation)Forum God (1.5K reputation)Forum God (1.5K reputation)Forum God (1.5K reputation)Forum God (1.5K reputation)Forum God (1.5K reputation)

Group: Forum Members
Posts: 5, Visits: 6
Thanks for sharing. I am also finding the solution to this problem.

Web Development Company Los Angeles
GO


Similar Topics


Reading This Topic


Login
Existing Account
Email Address:


Password:


Social Logins

Select a Forum....

















A1VBCode Forums


Search