eworkers / K2ForJ4

GNU General Public License v2.0
11 stars 6 forks source link

Pagination Issue #36

Closed derektdg closed 1 year ago

derektdg commented 1 year ago

Everything seems to be working on with it in my upgrade to Joomla 4 but I get an error at the top of the page:

Notice: Undefined variable: pagination in /var/www/vhosts/staging.tdgwebhost.com/httpdocs/deadwoodalive/components/com_k2/views/item/view.html.php on line 760

If I go into that file and this is the code at 760: $this->pagination = $pagination;

If I comment this out the error goes away, but I'm not thinking that is the best way to fix this issue.

Thank you for all the work you are doing on this!

anndmill commented 1 year ago

And I will add the comment above: The breadcrumbs module displays an additional extra menu item before the item that should be displayed.

Here is an example:

There is a basic K2-category "News". Its subcategories are: 1) "Regional News" and 2) "City News".

The corresponding menu items "K2-categories" have been created: "News" and its sub-items - "Regional News" and "City News".

So, when we click on the header link of any of the materials from the sub-item "City News", then in pathway we see this: News / "Regional News" / "City News" / The name of the material. The sub-item "Regional News" should not be displayed, but for some reason it is.

How to solve this problem? I can't do it yet.

eworkers commented 1 year ago

Everything seems to be working on with it in my upgrade to Joomla 4 but I get an error at the top of the page:

Notice: Undefined variable: pagination in /var/www/vhosts/staging.tdgwebhost.com/httpdocs/deadwoodalive/components/com_k2/views/item/view.html.php on line 760

If I go into that file and this is the code at 760: $this->pagination = $pagination;

If I comment this out the error goes away, but I'm not thinking that is the best way to fix this issue.

Thank you for all the work you are doing on this!

Unable to reproduce, can you please specify php and Joomla 4 specific version? Are you using a custom template? plugins?

eworkers commented 1 year ago

And I will add the comment above: The breadcrumbs module displays an additional extra menu item before the item that should be displayed.

Here is an example:

There is a basic K2-category "News". Its subcategories are: 1) "Regional News" and 2) "City News".

The corresponding menu items "K2-categories" have been created: "News" and its sub-items - "Regional News" and "City News".

So, when we click on the header link of any of the materials from the sub-item "City News", then in pathway we see this: News / "Regional News" / "City News" / The name of the material. The sub-item "Regional News" should not be displayed, but for some reason it is.

How to solve this problem? I can't do it yet.

This is irrelevant to the issue above, however can you please try the latest version and check if it fixes the issue

eworkers commented 1 year ago

Closing due to inactivity.