Forums

[Plugin: Now Reading Reloaded] Books disappeared (10 posts)

  1. jackie
    Member
    Posted 2 years ago #

    I don't know what to do. Everything was displaying fine. Then suddenly all that is appearing in the sidebar is the title from the widget. I can add books. The library displays ok. It's just that there is nothing appearing in the sidebar (even though ther two currently reading and several finished). Ideas?

    http://wordpress.org/extend/plugins/now-reading-reloaded/

  2. bgunnink
    Member
    Posted 2 years ago #

    Did you change anything? Themes? Change widget settings? Upgrade?

    What's your website?

  3. Peter Thornton
    Member
    Posted 2 years ago #

    Hi,

    I have a question conceirning the showing of images.

    When I used th eold plugin, images of the books I was reading/had read/planned to read, were shown in my sidebar, instead of text-titles.
    Since I installed the reloaded plugin, all i see is text-titles.

    Does anyone know how I can fix it?

    Kindest greetings,

    Peter

  4. bgunnink
    Member
    Posted 2 years ago #

    Did you have customized template files? Or did you use the stock template files that come with the plugin?

  5. Peter Thornton
    Member
    Posted 2 years ago #

    i think, way back i might have customized my templates, a long time ago. To be honest I don't remember correctly. I do remember that when i first installed the original now reading plugin it showed tekst only. I then changed some things to make it show the images of my book overs.

    Enig idee? Ben niet zo'n programmeur :-)

    Pete

  6. Peter Thornton
    Member
    Posted 2 years ago #

    OK, I made some progress. First off, it turned out I was editting the wrong version of sidebar.php. I was making changes to the one in my theme folder when I should've been making changes to teh one that's in the plugin's folder.

    I got so far as making the plugin show images now. However, it shows only 1 image per category (Planned books/Reading Now/Finished books)

    I used to be able to change the amount of books that was shown per category.

    And, the image size is off. It shows the real image size, when it used to automatically show them all at 1 and the same size.

    any tips?

  7. bgunnink
    Member
    Posted 2 years ago #

    The plugin will give preference to the template files located within a now-reading or now-reading-reloaded folder in your current active theme directory. Or at least it does in every other case. That way, you can store custom templates that don't get overwritten via the plugin update feature.

  8. Peter Thornton
    Member
    Posted 2 years ago #

    I understand.

    But, can anyone help me with the image sizing and amount problem?

    I now changed the php code so it shows the image of a book cover. But I want it to show multiple books (bookcovers) and I want to set a maximum size for the image so it doesn't mess up my design.

    any idea?

    Petey

  9. bgunnink
    Member
    Posted 2 years ago #

    Making images the same size can be done either by manually introduced a width and height attribute to the image element:

    <img src="cover.jpg" width="100" />

    Or via CSS:

    #now-reading-widget img {
    width: 100px;
    }

    As to why it's only showing one image per category, I don't have any answer for you without seeing what you've done to the template code.

  10. Peter Thornton
    Member
    Posted 2 years ago #

    i remember there was some code somewhere where you could set some attribute to 1 or 2 or 3 or whatever, and that would make 1, 2 or 3 images show up. I just don't seem to remember in what file this code was.

Topic Closed

This topic has been closed to new replies.

About this Topic