Catalog view shows only first register
- Sole
- Topic Author
- Offline
- Posts: 16
- Thank you received: 0
PHP 5.6.24
5.5.47-MariaDB
JooDataBase 3.0.4
Although there are more registers in DB, jooDataBase shows only the first. That happened after a site upgrade.
Any clues to solve it?
Thanks in advance
Josep
Please Log in to join the conversation.
- Dirk
-
- Offline
- Posts: 1222
- Thank you received: 226
Sole wrote: Although there are more registers in DB, jooDataBase shows only the first.
What do you mean with Registers?
I guess you mean database-rows/entries?
Can you please check your menu settings for the catalog view?
Do you see a pagination?
Please Log in to join the conversation.
- Sole
- Topic Author
- Offline
- Posts: 16
- Thank you received: 0
The following is the piece of code for pagination:
<!-- LOOP Pagination -->
<p>{joodb pagecount}</p>
<div class="pagination">{joodb pagenav}</div>
<p><span style="border-radius: 2px; text-indent: 20px; width: auto; padding: 0px 4px 0px 0px; text-align: center; font: bold 11px/20px 'Helvetica Neue',Helvetica,sans-serif; color: #ffffff; background: #bd081c no-repeat scroll 3px 50% / 14px 14px; position: absolute; opacity: 1; z-index: 8675309; display: none; cursor: pointer;">Save</span></p>
Please Log in to join the conversation.
- Dirk
-
- Offline
- Posts: 1222
- Thank you received: 226
Sole wrote: Yes I meant entries.
The following is the piece of code for pagination:
<p><span style="border-radius: 2px; text-indent: 20px; width: auto; padding: 0px 4px 0px 0px; text-align: center; font: bold 11px/20px 'Helvetica Neue',Helvetica,sans-serif; color: #ffffff; background: #bd081c no-repeat scroll 3px 50% / 14px 14px; position: absolute; opacity: 1; z-index: 8675309; display: none; cursor: pointer;">Save</span>
According to this sensless style orgy for the span i guess you have messed up the template. Maybe you forgot to close a tag.
Remember: you must have 2 {joodb loop} commands in the catalog template.
Between these commands the entries are displayed.
Anyway:
Do you see the pagination? (YES OR NO)
Please Log in to join the conversation.
- Sole
- Topic Author
- Offline
- Posts: 16
- Thank you received: 0
I can't see the pagination. It just says: 1 Result.
I have notice this span style which I have previously deleted but once and another appears again.
Josep
Please Log in to join the conversation.
- Sole
- Topic Author
- Offline
- Posts: 16
- Thank you received: 0
I've been searching the code for forgotten tags without success. Here it comes in case you want to have a look. The span part at the end has been deleted several times and after saving once and again appears.
Thanks in advance
Josep
My Catalog template:
<!-- see comomponents/com_joodb/assets/joodb.css for style definitions -->
<p> </p>
<!-- Search box -->
<p>{joodb searchbox|title,value,category}</p>
<p>{joodb alphabox}</p>
<div style="float: right;">{joodb limitbox}</div>
<p>{joodb pagecount}</p>
<!-- Title with Sortlinks -->
<table style="width: 100%; height: 27px;">
<thead>
<tr>
<th>Nom <span style="float: right;">Ordenat per: {joodb orderlink|familia|Família} {joodb orderlink|especie|Espècie} {joodb orderlink|varietat|Varietat}</span></th>
</tr>
</thead>
</table>
<!-- LOOP Start -->
<p>{joodb loop}</p>
<div style="width: 25%; float: left;" align="center">
<h4>{joodb field|especie} <br /> {joodb field|varietat}</h4>
<p>Família: <strong>{joodb field|familia}</strong> <br /> Codi d'identificació: <strong>{joodb field|codi}</strong></p>
</div>
<div style="width: 15%; float: left;" align="center">
<p><img src="/images/joodb/entrallavors/{joodb field|imatge}" alt="*" class="database-thumb" style="width: 80px; margin: 0 10px 10px 0;" /></p>
</div>
<div style="padding-top: 10px; padding-left: 15px;">Origen: <strong>{joodb field|origen}</strong> <br /><span class="small">Data d'entrada: {joodb field|created}</span>
<p>Informació rellevant: {joodb field|info|120}</p>
<div class="readon">{joodb readon}</div>
</div>
<p>{joodb loop}</p>
<!-- LOOP End -->
<h3>{joodb nodata}</h3>
<!-- LOOP Pagination -->
<p>{joodb pagecount}</p>
<div class="pagination">{joodb pagenav}</div>
<p><span style="border-radius: 2px; text-indent: 20px; width: auto; padding: 0px 4px 0px 0px; text-align: center; font: bold 11px/20px 'Helvetica Neue',Helvetica,sans-serif; color: #ffffff; background: #bd081c no-repeat scroll 3px 50% / 14px 14px; position: absolute; opacity: 1; z-index: 8675309; display: none; cursor: pointer;">Save</span></p>
Please Log in to join the conversation.