Keyword

item edit form linked from menu does not work properly after upgrading to 2.9

  • Mark Schultz
  • Mark Schultz's Avatar Topic Author
  • Offline
  • Junior Member
More
6 years 1 month ago #169636 by Mark Schultz
I am running joomla 3.8.13 and k2 2.9

I had created a menu item that links to an item edit form. I created a custom template. It was working fine until I upgraded to 2.9 from 2.8.

Now the custom template is not used, the default template is used no matter what.
Also, the Target Window isn't working, when I set it to Parent, it reverts to New with Navigation on Save.

I've tried creating a new menu item, copying the form template to a new location, nothing changes.

Anybody else seeing this issue or have a thought? thanks.

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

More
6 years 1 month ago #169648 by JoomlaWorks
Where is the itemform.php sub-template file located inside your Joomla template's structure?

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Mark Schultz
  • Mark Schultz's Avatar Topic Author
  • Offline
  • Junior Member
More
6 years 1 month ago #169659 by Mark Schultz
/templates/themename/html/com_k2/templates/templatename/itemform.php

The templatename does appear in the dropdown as a choice but is ignored when displayed.

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

More
6 years 1 month ago #169664 by JoomlaWorks
Move /templates/themename/html/com_k2/templates/templatename/ to /templates/themename/html/com_k2/templatename/. You have a very old templates override structure.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Mark Schultz
  • Mark Schultz's Avatar Topic Author
  • Offline
  • Junior Member
More
6 years 1 month ago #169672 by Mark Schultz
I moved the templates to /templates/themename/html/com_k2/templatename/
still ignores the setting

and the Target Window isn't working, when I set it to Parent, it reverts to New with Navigation on Save.

any other thoughts? thanks.

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

  • Mark Schultz
  • Mark Schultz's Avatar Topic Author
  • Offline
  • Junior Member
More
6 years 1 month ago #169681 by Mark Schultz
Has anyone else seen this issue?

I am running joomla 3.8.13 and k2 2.9. I had created a menu item that links to an item edit form. I created a custom template for the item edit form and it was working fine until I upgraded to 2.9 from 2.8. Has anyone seen this issue on any version of K2?

Now the custom template is not used, the default template is used no matter what.
Also, the Target Window isn't working, when I set it to Parent, it reverts to New with Navigation on Save.

I've tried creating a new menu item, copying the form template to a new location, nothing changes.

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

More
6 years 1 month ago #169688 by JoomlaWorks
The itemform.php has completely changed in recent versions. Please copy the contents of the included file in itemform.php and work on that. First try placing your new itemform.php inside the /html/com_k2/default/ folder to see if everything is OK. Let me know.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Mark Schultz
  • Mark Schultz's Avatar Topic Author
  • Offline
  • Junior Member
More
6 years 1 month ago - 6 years 1 month ago #169691 by Mark Schultz
When I put itemform.php in /html/com_k2/default/ that version is used, and is used no matter what else I do.
I tried putting a v2.9 itemform.php in a new template folder and selecting that, and it still uses the default.
My guess is the issue lies elsewhere because the Target Window dropdown isn't working too, when I set it to Parent, it reverts to New with Navigation on Save every time.

Do you think reinstalling 2.9 might help?
Last edit: 6 years 1 month ago by Mark Schultz.

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

More
6 years 1 month ago #169708 by JoomlaWorks
You can try.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Mark Schultz
  • Mark Schultz's Avatar Topic Author
  • Offline
  • Junior Member
More
6 years 1 month ago #169718 by Mark Schultz
Reinstalling K2 2.9.0 had no effect. Anything else I can try? thanks.

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


Powered by Kunena Forum