× If you expect answers you should describe your problem and give as much information's as possible. (SQL-Structure, Template Code, Joomla Version ...) Please read this before posting: joodb.feenders.de/support.html

Catalog view shows only first register

More
7 years 8 months ago #3988 by Sole
Joomla! 3.6.2 Stable
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.

More
7 years 8 months ago #3990 by Dirk
Replied by Dirk on topic Catalog view shows only first register

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.

More
7 years 8 months ago #3992 by Sole
Replied by Sole on topic Catalog view shows only first register
Yes I meant entries.

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.

More
7 years 8 months ago #3993 by Dirk
Replied by Dirk on topic Catalog view shows only first register

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.

More
7 years 8 months ago #3996 by Sole
Replied by Sole on topic Catalog view shows only first register
Hello Dirk,

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.

More
7 years 8 months ago #3997 by Sole
Replied by Sole on topic Catalog view shows only first register
Hello Dirk,

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>&nbsp;</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&iacute;lia} {joodb orderlink|especie|Esp&egrave;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&iacute;lia: <strong>{joodb field|familia}</strong> <br /> Codi d'identificaci&oacute;: <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&oacute; 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.

Moderators: Dirkjoest