NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: John Fligg on December 11, 2011, 01:04:30 AM

Title: Dynamically change the header
Post by: John Fligg on December 11, 2011, 01:04:30 AM
I need to change the text in my page header at Login depending on a login ID. Where would I do that and how? I have the text but that is enclosed in <h1> tags so I am assuming I cannot use a variable here.

John
Title: Re: Dynamically change the header
Post by: Stu on December 11, 2011, 06:49:35 PM
John,

You can absolutely change the header to whatever html code you want.

Just do it in embed code rather than the routine.

That is, put some code in "Processed Code" embed like:

packet = clip(packet)&|
   'header code you've stolen from finding in right-click source'

Then remove the routine out of the template.
Title: Re: Dynamically change the header
Post by: Bruce on December 11, 2011, 10:26:07 PM
you can add multiple items to the xHtml tab - each with conditions.
You'll see the wizarded header already has 3. Feel free to add more.

cheers
Bruce