Pagination on Catalog Reference
Hi
i have create a catalog and catalog reference
In the catalog reference is not possible the pagination the list...
i have edit the tl_module and add the perPage parameter, but in the ModuleCatalogReference file i have a problem to add the pagination
I had add the Split pages code, but i have problem with the query
thanks
Re: Pagination on Catalog Reference
Re: Pagination on Catalog Reference
Its NOT possible to have multiple paginations on 1 page, as they interfere with one another. Leo still has to come up with a solution for this.
Re: Pagination on Catalog Reference
Quote:
Originally Posted by thyon
Its NOT possible to have multiple paginations on 1 page
Thanks for the reply Thyon
I had seen this problem with the page parameter, but this is not in this case.
On this page have just one module catalog reference.
I have add the Split pages code on the ModuleCatalogReference but are not able to create the query for the total of the item
Code:
$objTotalStmt = $this->Database->prepare("SELECT id AS count FROM ".$this->strTable." WHERE pid=?".$strWhere);
Re: Pagination on Catalog Reference
Catalog Reference and Catalog Related cannot be used on their own, they MUST be used on a page together with a Catalog Reader. The 2 modules both use the DATA from the single reader item to map these values into queries.
Re: Pagination on Catalog Reference
Quote:
Originally Posted by thyon
Catalog Reference and Catalog Related cannot be used on their own, they MUST be used on a page together with a Catalog Reader.
:) thanks Thyon, but it works...
When i put on line the site I'll show you the site
have a nice day
Re: Pagination on Catalog Reference
Catalog Reference uses a shared-linked item between the Catalog Reader and the Catalog Reference, e.g. product (in reader) = id (in reference). Without this link the module will return nothing. The ID for the Reader is retrieved by the /items/aliasorid.html, so without that there won't be any item, so no link and then an empty result. The same is for the Catalog Related.
Catalog Related => expands a matching value into more items of the SAME catalog that share a similar value, e.g. "Listing of More Action DVDs".
Catalog Reference => expands a matching value into the fields of ANOTHER catalog used as reference, e.g. "Show the details of the Property Salesman (e.g. Name, Phone, e-mail) instead of his linked id".
Only the Catalog List and Featured Modules can be used on their own.