Hi Jason
As mentioned before, I have used this method for many years, but have decided on a different course of action going forward.
The public site, will be hybrid and after sign in I will switch to a pure NTWS site.
On the current public site there are quite a few places where I embed NTWS procedures or write source code that outputs HTML that is published, so it works well.
I am just finding that once you get into the real business end of browses and forms, there have been enormous advances in NTWS and by incorporating a 3rd party template and CSS/JS
it could exclude a lot of the newer functions of NTWS.
So advice would be to consider carefully on how to implement.
As it is, I have to replace my current 3rd party template with a newer one, as the updates on the current one dried up about 3 years ago, so jquery is an older version and NTWS is on a newer one.
Also be careful using a template with bootstrap, again many years ago, I had lots of issues, not sure currently
Attached more info on what I've done.
The scripts are not at form level or embed, I add the 3rd party scripts in the webserver.
I create a page header and footer, which is used on every page, static or NT (Yellow section)
I also create a form header and footer (Red section)
The green section is what the NTWS from generates.
These headers and footers are essentially wrappers which makes whatever is inside them play nicely with the page layout of the 3rd party template.
So you have to look at the 3rd party template and identify what html wraps those logical sections, whether it's the page or an element (form or browse section)
Also play around with the settings in the webserver that generates divs and wrappers, I also attach a screenshot of that. (content body div)
Keep changing the settings and look at the html output using the Dev mode in firefox or chrome and you will see what will apply to your template.
Again, things change in NTWS as it gets upgrades and improves on repsonsive optiosn etc, and with every upgrade not sure how it will effect the merging of the 2 frameworks.
NTWS will generate html in a certain way and the 3rd party html is done in a certain, each with it's own corresponding CSS and JS
Hope some of this helps you.
regards
Johan