Your browser may have trouble rendering this page. See supported browsers for more information.

This page shows the source for this entry, with WebCore formatting language tags and attributes highlighted.

Title

(6) How to Edit a Book

Description

<n>This article is part (6) of a multi-part <a href="{app}view_article.php?id=1911">Book Library tutorial</a>.</n> <hr> To edit a book, you first have to <a href="{app}view_article.php?id=1907">find the book</a> that you want to edit. Once you've found it, you should be looking at a window full of details for the book, as shown below. <img src="{att_link}edit_books.jpg" href="{att_link}edit_books.jpg" align="center" class="frame" caption="Browse Stephen King Books (click to enlarge)" scale="75%"> In this case, we've selected the book "Black House" from the list on the left and can see all of the details for it on the right side, like the "Title" (1), the "Main Author" and so on. Whereas the title is just text, the author, publisher, section and other values are selected from their respective drop-down lists (2). If you've made changes, the "Save" button (3) will be enabled and you can press it to save your changes. Use the "Revert" button (4) to throw away any changes you've made or the "Delete" button (5) to remove the book from the database. You can learn more about the other buttons in <a href="{app}view_article.php?id=1913">How to browse your books</a>. If there is a button with a little downward-pointing arrow next to an item (e.g. publishers and sections), the available entries are filled in as you type; if there is a button with three small dots next to an item, a search window is shown if there are multiple matches for the typed text. In both cases, if you type an entry that doesn't exist yet, the <i>Book Library</i> offers to create it for you. As an example, let's see what happens when you type a new author name, as shown below: <img src="{att_link}type_author_green.jpg" href="{att_link}type_author_green.jpg" align="center" class="frame" caption="Type Author 'Green' (click to enlarge)" scale="75%"> Here we've typed the author name "Green" instead of "King"; press <kbd>tab</kbd> or <kbd>enter</kbd> to continue and show the window below: <img src="{att_link}search_author_green.jpg" href="{att_link}search_author_green.jpg" align="center" class="frame" caption="Searching for Author 'Green' (click to enlarge)" scale="75%"> Since there are already four authors with the last name "Green" in the database, you are shown a search window and asked to select one of them. The text you typed is shown in the search arguments on the left (1) and the matching authors are shown on the right (2). Choose one and press "Open selected" (3) to continue; the book's author is changed to the one you selected. Unlike authors, lists of available publishers, sections and so on are accessible via a drop-down list, as shown below: <img src="{att_link}edit_book_drop_down_publish.jpg" href="{att_link}edit_book_drop_down_publish.jpg" align="center" class="frame" caption="Change Publisher (click to enlarge)" scale="75%"> In the example above, we've pressed the "drop down" button (1) to show a list of available publishers. The currently selected publisher---"Random House"---is shown and you can select another publisher from the list (2) to choose that one instead. Alternatively, you can just start typing the name of a publisher; as you type, the <i>Book Library</i> will fill in the best match for the letters that you've typed so far, as shown below: <img src="{att_link}type_publisher_gr_only.jpg" href="{att_link}type_publisher_gr_only.jpg" align="center" class="frame" caption="Type 'Gr' for the Publisher (click to enlarge)" scale="75%"> Here, we've typed "Gr" and gotten "Grafton Books" (1) as the best match; if that's the publisher you were looking for, then you can press <kbd>tab</kbd> to accept the suggestion and continue. If it's not, just keep typing the publisher until there are no more matches in the database, as shown below: <img src="{att_link}type_publisher_green.jpg" href="{att_link}type_publisher_green.jpg" align="center" class="frame" caption="Type 'Green' for the Publisher (click to enlarge)" scale="75%"> Now, we've typed "Green" (1) and the <i>Book Library</i> has no suggestions to make; when you press <kbd>tab</kbd>, the <i>Book Library</i> will offer to add the entry you typed as a new publisher, as shown below: <img src="{att_link}add_new_publisher.jpg" href="{att_link}add_new_publisher.jpg" align="center" class="frame" caption="Add new Publisher (click to enlarge)" scale="75%"> The text you typed for the publisher is used as a suggestion, but you can add more text (1), then press "Ok" (2) to add the new publisher and continue. When you're finished with all of your changes, make sure to press "Save" in the toolbar (or type <kbd>Ctrl+S</kbd>) to save your changes.