Referencing an external CSS
Posted: Fri Dec 28, 2018 3:50 am
Referencing an external CSS
I am using Oxygen 20.0, Webhelp Classic.
Imagine this scenario:
Our company makes a product and provides an online manual. The product is then sold by 3 separate companies, who want a "customized" version of the manual with their own branding.
To handle this, I set up a server with 3 different directories. Each directory represents a different company. Each directory contains 3 files: CompanyLogo.png, CompanyCSS.css, and CompanyFavicon.png. So here is the structure of the server:
/
-->Company1
---->CompanyLogo.png
---->CompanyCSS.css
---->CompanyFavicon.png
-->Company2
---->CompanyLogo.png
---->CompanyCSS.css
---->CompanyFavicon.png
-->Company3
---->CompanyLogo.png
---->CompanyCSS.css
---->CompanyFavicon.png
I want to generate the manual ONCE, then upload the output files to each directory and have the logo, css, and favicon take effect.
==Logo==
I can set the webhelp.logo.image parameter to "CompanyLogo.png"; I have tested and verified this works.
==CSS==
What transformation parameter should I use to specify the relative path to the CSS on the server? Because each CompanyCSS.css file is different, I do not want to associate a particular CSS to my transformation scenario; I only want to point to where it will be. I tried both args.css and args.csspath, but neither worked.
==Favicon==
Similar to the CSS above, I do not want to associate a favicon with a transformation scenario, I only want to reference where it will be.
Thanks.
I am using Oxygen 20.0, Webhelp Classic.
Imagine this scenario:
Our company makes a product and provides an online manual. The product is then sold by 3 separate companies, who want a "customized" version of the manual with their own branding.
To handle this, I set up a server with 3 different directories. Each directory represents a different company. Each directory contains 3 files: CompanyLogo.png, CompanyCSS.css, and CompanyFavicon.png. So here is the structure of the server:
/
-->Company1
---->CompanyLogo.png
---->CompanyCSS.css
---->CompanyFavicon.png
-->Company2
---->CompanyLogo.png
---->CompanyCSS.css
---->CompanyFavicon.png
-->Company3
---->CompanyLogo.png
---->CompanyCSS.css
---->CompanyFavicon.png
I want to generate the manual ONCE, then upload the output files to each directory and have the logo, css, and favicon take effect.
==Logo==
I can set the webhelp.logo.image parameter to "CompanyLogo.png"; I have tested and verified this works.
==CSS==
What transformation parameter should I use to specify the relative path to the CSS on the server? Because each CompanyCSS.css file is different, I do not want to associate a particular CSS to my transformation scenario; I only want to point to where it will be. I tried both args.css and args.csspath, but neither worked.
==Favicon==
Similar to the CSS above, I do not want to associate a favicon with a transformation scenario, I only want to reference where it will be.
Thanks.