from-version-1.4.txt 1.3 KB

123456789101112131415161718192021222324
  1. # Copy the following directories and files to your installation folder matching the correct path.
  2. ```
  3. webclient/view/default/tool/tool-googlebooks.html
  4. webclient/view/default/tool/tool-googlebooks.php
  5. webclient/lib/googlebookparser.class.php
  6. webclient/config/config-googlebooks.php.default -> also copy and rename to config-googlebooks.php
  7. ```
  8. # DB changes. Run each line against your bibliotheca DB.
  9. Replace #REPLACEME# with your table prefix. Default is bib
  10. ```
  11. INSERT INTO `#REPLACEME#_tool` (`id`, `name`, `description`, `action`, `target`, `owner`, `group`, `rights`) VALUES (NULL, 'Google Books', 'Book infos from Google', 'googlebooks', '_self', '1', '1', 'rw-r--r--');
  12. UPDATE `#REPLACEME#_sys_fields` SET `createstring` = '`isbn` varchar(32) NULL, ADD INDEX (`isbn`)', `apiinfo` = 'varchar 32' WHERE `#REPLACEME#_sys_fields`.`identifier` = 'isbn';
  13. UPDATE `#REPLACEME#_sys_fields` SET `type` = 'text', `searchtype` = 'entrySingleText' WHERE `#REPLACEME#_sys_fields`.`identifier` = 'isbn';
  14. ```
  15. # if you use the field ISBN already run this and change the collection id
  16. ```
  17. ALTER TABLE `#REPLACEME#_collection_entry_#CHANGE_ID#` CHANGE `isbn` `isbn` VARCHAR(32) NULL DEFAULT NULL;
  18. ```
  19. # New Theme: 98.
  20. Theme based on https://jdan.github.io/98.css/
  21. To use it, change UI_THEME in config.php to 98