NetTalk Central

Author Topic: netwebform no header no footer no menu - how easy to accomplish ?  (Read 4574 times)

MikeR

  • Sr. Member
  • ****
  • Posts: 265
    • View Profile
    • Email
can i get a netwebform to display in the browser without headers, footers and menu buttons ?
without an if check on each button entry ?

osquiabro

  • Hero Member
  • *****
  • Posts: 687
    • View Profile
    • Email
Re: netwebform no header no footer no menu - how easy to accomplish ?
« Reply #1 on: April 09, 2017, 07:20:49 AM »
in procedure setup:

p_web.site.PageHeaderTag=''
p_web.site.PageFooterTag = ''

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: netwebform no header no footer no menu - how easy to accomplish ?
« Reply #2 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

MikeR

  • Sr. Member
  • ****
  • Posts: 265
    • View Profile
    • Email
Re: netwebform no header no footer no menu - how easy to accomplish ?
« Reply #3 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 ?

osquiabro

  • Hero Member
  • *****
  • Posts: 687
    • View Profile
    • Email
Re: netwebform no header no footer no menu - how easy to accomplish ?
« Reply #4 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

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: netwebform no header no footer no menu - how easy to accomplish ?
« Reply #5 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
« Last Edit: April 10, 2017, 10:26:30 PM by Bruce »