Oct 1, 2009 at 9:23 PM
Edited Oct 1, 2009 at 9:24 PM
Hi there. Our blogengine.net blog is here:
www.theravive.com/blog and uses SQL.
What I want to do is insert HTML code at the beginning of each displayed blog entry. All I need to do is "grab" the user's email address into a variable, then execute a VB function that I will write. The function will craft the HTML
code. For example, somewhere in one of the blogengine pages I want to call a routine GetCode(UserEmail)
And my routine, written in VB looks like this:
Function GetCode (by val UserEmail as string)
- Dim HTML as string
- <more stuff here>
- Response.Write (HTML)
- Return Nothing
Where can I insert my function call so that the Response.Write occurs as the first HTML in a blog post, and second, how do I "grab" the user's email address to pass to the function?