NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Jim A on September 13, 2012, 06:30:38 PM

Title: How to place company name in page heading
Post by: Jim A on September 13, 2012, 06:30:38 PM
Not sure how this should be done.  I want to read the company name upon the webserver firing up and display that in the header.  I've tried a few combinations with no luck.

<div class="nt-left nt-site-header-logo"><img src="images/logo.jpg" /></div><h1>COMPANY NAME HERE</h1>

Thanks.
Title: Re: How to place company name in page heading
Post by: kevin plummer on September 13, 2012, 09:57:54 PM
The Net:s: tag reads a sessionvalue. So in the example below you need to set it first somewhere. Have a look at the docs there are lots of cool tags that can be used in xhtml.

<div class="nt-left nt-site-header-logo"><img src="images/logo.jpg" /></div><h1><!-- Net:s:CoyName --></h1>
Title: Re: How to place company name in page heading
Post by: Jim A on September 14, 2012, 03:43:17 AM
Nice.  Thanks Kevin.