- Copy the Google Spreadsheet
- Publish it to web.
- Update
EbookAccess.config.request.urlto match the new Spreadsheet (Just change the id of the spreadsheet to the new one) - Change
EbookAccess.config.icon.directoryto match where you will upload the images. - Change
EbookAccess.config.icon.fileTypeto match the desired format of the icons. - Upload
EbookAccess.jsto your preferred server. - Include the script in SFX.
- Run the script using
EbookAccess.initialize(language);where language is the language code (two digit string) you're using in SFX, default available is swedishsvand englishen. This is probably easiest done through the SFX-templates.
For the script to work three files must match:
- The spreadsheet must follow the correct format with correctly named headings for example:
loantime,loantimecommentswedish,loantimecommentenglish. - All the headings should be added to
EbookAccess.config.icons - Add the corresponsing image of the icon to the directory defined in
EbookAccess.config.iconDirectory.
- Google Spreadsheet
- Demo
- Zipped folder with Icons in pixel format
- [Zipped folder with Icons in vector format](//julius.hj.se/cdn/Icons (Vector).zip)
