NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: MikeR on April 09, 2017, 05:09:14 AM

Title: netwebform no header no footer no menu - how easy to accomplish ?
Post by: MikeR on April 09, 2017, 05:09:14 AM
can i get a netwebform to display in the browser without headers, footers and menu buttons ?
without an if check on each button entry ?
Title: Re: netwebform no header no footer no menu - how easy to accomplish ?
Post by: osquiabro on April 09, 2017, 07:20:49 AM
in procedure setup:

p_web.site.PageHeaderTag=''
p_web.site.PageFooterTag = ''
Title: Re: netwebform no header no footer no menu - how easy to accomplish ?
Post by: Bruce on April 09, 2017, 11:26:28 PM
even better is to use the template settings on the Advanced tab to do the same thing.
Set both to
''


cheers
Bruce
Title: Re: netwebform no header no footer no menu - how easy to accomplish ?
Post by: MikeR on April 10, 2017, 01:49:49 AM
Thanks that work with the header and footer.
How do I stop the menu from being displayed ?
Title: Re: netwebform no header no footer no menu - how easy to accomplish ?
Post by: osquiabro on April 10, 2017, 03:22:30 AM
even better is to use the template settings on the Advanced tab to do the same thing.
Set both to


not work for me, only via code work, NT 8.71
Title: Re: netwebform no header no footer no menu - how easy to accomplish ?
Post by: Bruce on April 10, 2017, 10:23:05 PM
Hi Osa,

>> not work for me, only via code work, NT 8.71

If you can post an example that would be great, thanks.
But as far as I am aware the template option works fine.

update: - you could try setting it to something specific, not blank. for example;
'!'
Support for the legacy template may exclude the ability to just leave it blank.
Obviously if what you select does not exist (as a procedure) then it will be the same as blank.

Mike;

>> How do I stop the menu from being displayed ?

The menu is part of the header. so suppressing the header should suppress the menu.
If you are struggling please post an example...

cheers
Bruce