Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Custom js and/or css for replacement pages?
Is there any way I can update custom js and/or css files to the Fortigate to be referenced in the customized Replacement pages?
Rich Mayer
LGS Innovations
Rich Mayer LGS Innovations
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Check under ' System > Config > Replacement Messages' . I loaded mine on a public web server, and link to them from the FGT.
Bob - self proclaimed posting junkie!
See my Fortigate related scripts at: http://fortigate.camerabob.com
Bob - self proclaimed posting junkie!See my Fortigate related scripts
at: http://fortigate.camerabob.com
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your input Bob,
I can see how to update the page html in the replacment message part of the gui. The problem is that if included inline, the css and js would cause the page to exceed the size limit of 8k. So what I really want to do is add something like the following to the page html in the replacement message section:
<script type=" text/javascript" href=" myjavascript.js" ></script>
<link rel=" stylesheet" type=" text/css" href=" mystylesheet.css" >
and then upload myjavascript.js and mystylesheet.css to the apprporiate location on the fortigate.
Is that possible?
Rich Mayer
LGS Innovations
Rich Mayer LGS Innovations
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I haven' t tried to upload the CSS/Java to the FGT file system. I imagine when you upgrade, you will have to re-add all that stuff back to the FGT again. This is why I chucked my code on a remote server.
<script src=" xxx.xxx.xxx.xxx/script_name.js" type=" text/javascript" ></script>
Bob - self proclaimed posting junkie!
See my Fortigate related scripts at: http://fortigate.camerabob.com
Bob - self proclaimed posting junkie!See my Fortigate related scripts
at: http://fortigate.camerabob.com
