04-25-2020, 04:19 AM
Bootstrap3 Demo use CDN...
How to use Delphi 10.3.3+IW15+Bootstrap4 without CDN?
How to use Delphi 10.3.3+IW15+Bootstrap4 without CDN?
How to use IW15+Bootstrap4 without CDN?
|
04-25-2020, 04:19 AM
Bootstrap3 Demo use CDN...
How to use Delphi 10.3.3+IW15+Bootstrap4 without CDN?
I do it like this:
In unit ServerController add uses IWBS4Global, and: Code: procedure TIWServerController.IWServerControllerBaseConfig(Sender: TObject); Copy the files you need from C:\Users\YourUserName\AppData\Roaming\IntraWeb 15\Source\iwbootstrap4\redist\wwwroot to C:\YourAppPath\wwwroot Example: Code: From: You can download a newer version of bootstrap. I use Bootstrap v4.4.1.
04-25-2020, 05:22 PM
Thanks. I have resolved the issue.
ServerController Property > JavaScriptOptions.RenderjQuery = False *** Important *** ServerController Property > SessionOptions.RestartExpiredSession = True *** important *** procedure TIWServerController.IWServerControllerBaseConfig(Sender: TObject); begin JavaScriptOptions.RenderjQuery := False; gIWBS4LibPath:= '/iwbs/'; gIWBS4LibJQueryJs := '/<iwbspath>/jquery.slim.min.js'; gIWBS4LibPopperJs := '/<iwbspath>/popper.min.js'; gIWBS4LibBootstrapCss := '/<iwbspath>/bootstrap-4.4.1/css/bootstrap.min.css'; gIWBS4LibBootstrapJs := '/<iwbspath>/bootstrap-4.4.1/js/bootstrap.min.js'; gIWBS4FontAwesomeCss := '/<iwbspath>/font-awesome/4.7.0/css/font-awesome.min.css'; gIWBS4LibIWBSCss := '/<iwbspath>/iwbs.css'; gIWBS4LibIWBSJs := '/<iwbspath>/iwbs.js'; gIWBS4LibPolyFillerJs := '/<iwbspath>/webshim-1.15.10/js-webshim/minified/polyfiller.js'; gIWBS4LibDynamicTabsCss := '/<iwbspath>/dyntabs/bootstrap-dynamic-tabs.css'; gIWBS4LibDynamicTabsJs := '/<iwbspath>/dyntabs/bootstrap-dynamic-tabs.js'; end; |
« Next Oldest | Next Newest »
|