NetTalk Central

Author Topic: Dynamically change the header  (Read 2880 times)

John Fligg

  • Sr. Member
  • ****
  • Posts: 361
    • View Profile
    • Ambrit Software
    • Email
Dynamically change the header
« 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

Stu

  • Hero Member
  • *****
  • Posts: 510
    • View Profile
    • Email
Re: Dynamically change the header
« Reply #1 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.
Cheers,

Stu Andrews

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: Dynamically change the header
« Reply #2 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