Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IWBS4LayoutMgr and HTMLHeaders
#1
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?
Reply
#2
How are you adding headers to it? What exactly are you trying to include in the page?
Reply
#3
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">
Reply
#4
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?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)