Print

Print


Glenn,
Because in your template from chronam you probably have this in search_pages_results.html

                <a href="{{ object.highlight_url }}" class="thumbnail" title="{% with object.issue.title as title %}{{title.display_name}} ({{title.place_of_publication}}), {{object.issue|label}}, {{object|label}}{% endwith %}">
                  <img src="{{ object.thumb_url }}" alt=""
                       class="highlight_words"
                       data-script_name="{{script_name}}"
                       data-id="{{object.url}}"
                       data-words="{{object.words|join:' '}}">
                </a>

I have this:
                    <a href="{{ object.highlight_url }}" class="thumbnail" title="{% with object.issue.title as title %}{{title.display_name}} ({{title.place_of_publication}}), {{object.issue|label}}, {{object|label}}">
                        <img src="{{ object.thumb_url }}" alt=""
                             class="highlight_words"
                             data-script_name="{{script_name}}"
                             data-id="{{object.url}}"
                             data-words="{{object.words|join:' '}}">
                      </a>
                    <br />

                        <a href="{{ object.highlight_url }}">{{title.display_name}} ({{title.place_of_publication}}), {{object.issue|label}}, {{object|label}}</a>


Notice the code below the thumbnail (bolded on mine) where it specifies that I want to include the title information. Add code to the template file that you want filled in there and it should work. Good luck!


Mike Beccaria
Systems Librarian
Director of Information Technology
Paul Smith’s College
7833 New York 30
Paul Smiths, NY 12970
518.327.6376
[log in to unmask]
www.paulsmiths.edu<http://www.paulsmiths.edu>

From: Data, API, website, and code of the Chronicling America website [mailto:[log in to unmask]] On Behalf Of Glenn Bunton
Sent: Tuesday, June 23, 2015 2:46 PM
To: [log in to unmask]
Subject: One problem solved, another one to solve

Thanks to Jessica and Karin at U of Nebraska as well as Mike at Paul Smith we have solved our advanced search problem (it was throwing an error).

Now our next issue.

When we do a search, the results page shows the images but has no text displaying below the images. Here is an example of a search result on our site:

http://sc-newspapers.sc.edu/search/pages/results/?sequence=&language=&dateFilterType=yearRange&date1=01%2F01%2F1908&date2=12%2F31%2F1968&ortext=library&andtext=&phrasetext=&proxtext=&proxdistance=5&rows=20&searchType=advanced


Here is an example search result from Nebraska's site:

http://nebnewspapers.unl.edu/search/pages/results/?city=Alliance&rows=20&searchType=basic&proxtext=library

and Oregon:

http://oregonnews.uoregon.edu/search/pages/results/?proxtext=library&x=16&y=14&dateFilterType=range&rows=20


Note the text underneath the images.

Anyone have any idea why that type of text does not show up on our search results page?

Thanks in advance.