Atozed Forums
IWBS4LayoutMgr and HTMLHeaders - Printable Version

+- Atozed Forums (https://www.atozed.com/forums)
+-- Forum: Atozed Software Products (https://www.atozed.com/forums/forum-1.html)
+--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html)
+---- Forum: English (https://www.atozed.com/forums/forum-16.html)
+----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html)
+----- Thread: IWBS4LayoutMgr and HTMLHeaders (/thread-1991.html)



IWBS4LayoutMgr and HTMLHeaders - r.lanzhammer@web.de - 09-22-2020

I would like to set HTMLHeaders in a Bottstrap4 application to create a WebApp.
Unfortunately the values are not adopted as soon as I set the layout manager to IWBS4LayoutMgr. What can I do?



RE: IWBS4LayoutMgr and HTMLHeaders - Alexandre Machado - 09-22-2020

How are you adding headers to it? What exactly are you trying to include in the page?


RE: IWBS4LayoutMgr and HTMLHeaders - r.lanzhammer@web.de - 09-22-2020

I try HTMLHeaders.Add () in IWServerControllerBaseConfig and extraHeader.Add () in the page.

HTMLHeaders.Add () does nothing, extraHeader.Add () add a line in <body> tag bu i need lines in <head> tag although i use iwbs4layoutmgr.


the head should be extended by the following lines:
<link rel="manifest" href="manifest.json">

<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="application-name" content="ng mobile">
<meta name="apple-mobile-web-app-title" content="ng mobile">
<meta name="theme-color" content="#b9abf9">
<meta name="msapplication-navbutton-color" content="#b9abf9">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="msapplication-starturl" content="/">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

<link rel="icon" href="ng_Auge-192.png">
<link rel="apple-touch-icon" href="ng_Auge-192.png">


RE: IWBS4LayoutMgr and HTMLHeaders - r.lanzhammer@web.de - 09-24-2020

I found the following cause:
In the source file of intraweb in the function TIWBS4LayoutMgr.ProcessForm there is the line ABuffer.WriteLine (PreHeadContent);
commented out why is that and how can I change it?