Keyword

Menu Items type K2 Category

More
7 years 11 months ago #162218 by Chris
Menu Items type K2 Category was created by Chris
Hi, Recently I updated a site from Joomla 3.6.5 to 3.7.2 that uses K2 2.6.6
The problem that I have to solve is that in new or existing Menu items that the type is a K2 Category I cannot delete the selected category. And when I try to create a new one as I notice it doesn't create a working link.
It creates a link like this: index.php?option=com_k2&view=itemlist&layout=category
instead of this: index.php?option=com_k2&view=itemlist&layout=category&task=category&id=29
Could anyone please help me solve this ?

Thank you

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 11 months ago #162219 by Krikor Boghossian
Replied by Krikor Boghossian on topic Menu Items type K2 Category
Hello 2.6.6 is outdated, can you backup and install K2's latest version?

Please Log in or Create an account to join the conversation.

More
7 years 11 months ago #162224 by Chris
Replied by Chris on topic Menu Items type K2 Category
Hi Krikor and thanks for your reply.
I tried once to upgrade K2 but all pagination became a mess and I left it as it was.
The site has many customised files and I think this was the problem.
But with joomla 3.6.5 my client said taht K2 was working fine. Do you believe k2 2.6.6 could work with J.3.6.5 without problems.
At this moment I restore my backup of J3.6.5 to check if K2 was really working at this point. I know for sure that he had no problems adding items and new categories. But now it was the first time in the last year that he needed to create a new menu item and the problem occurs.
I will inform you later today.
Thanks.

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 11 months ago #162225 by Krikor Boghossian
Replied by Krikor Boghossian on topic Menu Items type K2 Category

Do you believe k2 2.6.6 could work with J.3.6.5 without problems.


That's so nice to hear :)

Let me know on your findings.

Please Log in or Create an account to join the conversation.

More
7 years 11 months ago #162231 by Chris
Replied by Chris on topic Menu Items type K2 Category
Hi again.
I completed the restoration.
Yes it works. I can create a new menu item typ with k2 category.
I can delete the category and change it an most important after saving the link is working fine.It is like this
" index.php?option=com_k2&view=itemlist&layout=category&task=category&id=29 "
In J.3.7.0 it doesn't get the id number of the category.
!!!

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 11 months ago #162259 by Krikor Boghossian
Replied by Krikor Boghossian on topic Menu Items type K2 Category
Have you altered any core files of K2 or only its templates?

Please Log in or Create an account to join the conversation.

More
7 years 11 months ago #162267 by Chris
Replied by Chris on topic Menu Items type K2 Category
I didn't build it from the start.
I support it 3 years so I don't know exactly all the changes. But I think that it is possible .
My client wanted many position changes.
See If you could check anything here is the webpage.
greekseashells.com
Try to click on these 2 links
greekseashells.com/index.php/gastropoda.html (category view)
greekseashells.com/index.php/gastropoda/patellogastropoda/patellidae/item/24-012-01-patella-caerulea-linnaeus-1758.html (item view)

Thanks

Please Log in or Create an account to join the conversation.

More
7 years 11 months ago #162278 by Chris
Replied by Chris on topic Menu Items type K2 Category
Could I try to update only some ccore files to see what will happen ?

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 11 months ago #162282 by Krikor Boghossian
Replied by Krikor Boghossian on topic Menu Items type K2 Category
Backup, backup and backup :)
You can update and reinstating the /templates folder (from your backup) and everything with frontend CSS/ JS

Please Log in or Create an account to join the conversation.

More
7 years 11 months ago #162288 by Chris
Replied by Chris on topic Menu Items type K2 Category
Hi Krikor.
I always have 2-3 backups. Ths is not a problem.
I try to find a solution, so this website be updated.
So, now I have J.3.7.2 with K2 2.6.6. You say that I should update k2 to the last version and then replace the /templates folder and all the css / js files that may have changed. Not only the css / js files that affect K2.

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 11 months ago #162305 by Krikor Boghossian
Replied by Krikor Boghossian on topic Menu Items type K2 Category
Actually let's take the long process

a) Read this getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates

b) If you are using overrides chances are that all the edits will be kept once you update. If not override the template files you have edited.

c) Do the same for the modules.

Then you can update and see if the update was smooth.

Please Log in or Create an account to join the conversation.

More
7 years 11 months ago #162320 by Chris
Replied by Chris on topic Menu Items type K2 Category
Thanks Krikor.
I restore the site to J3.6.5 and my client will do some changes akd addings and when he will finish the job I will try to updated as you wrote.
I will post again when I will have some news.
By the way another client with J3.6.5 and K2 2.6.9 has exactly tha same problem but this website has no customisations. So I will try to update K2 there firstly.

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 11 months ago #162352 by Krikor Boghossian
Replied by Krikor Boghossian on topic Menu Items type K2 Category
Let me know if you are still having issues.

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum