Can't save menu item's view in J2.5 with joomfish installed

More
12 years 1 month ago - 10 years 1 month ago #43244 by ggppdk
Hello,

do you have this behavior in other sites or in sites with no other extensions installed

can you relate it to a specific extension, e.g. i have seen this with Joomfish for J2.5


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!
Last edit: 10 years 1 month ago by ggppdk.

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

More
12 years 1 month ago - 10 years 1 month ago #43287 by igcorreia
It happens in all sites because I use joomfish in all of them hahhahaah.

Do you want me to disable joomfish and try?
Last edit: 10 years 1 month ago by ggppdk.

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

More
12 years 1 month ago - 10 years 1 month ago #43295 by ggppdk
Hello

i see,

just i wanted to identify when this is happening

ok, i will try/test your patch/fix

thanks !!


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!
Last edit: 10 years 1 month ago by ggppdk.

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

More
10 years 1 month ago - 10 years 1 month ago #59204 by igcorreia
Once again it happened:
edit: /administrator/components/com_menus/views/item/tmpl/edit.php
change the number to the value that appears in the console.
Code:
<script type="text/javascript"> Joomla.submitbutton = function(task, type) { if(window.location.href.indexOf("com_menus") == 59) { //console.log(window.location.href.indexOf("com_menus")); jQuery('#jfreference_id').removeClass('required').removeAttr('required').removeClass('invalid').removeAttr('aria-required').removeAttr('aria-invalid') } if (task == 'item.setType' || task == 'item.setMenuType') { if(task == 'item.setType') { document.id('item-form').elements['jform[type]'].value = type; document.id('fieldtype').value = 'type'; } else { document.id('item-form').elements['jform[menutype]'].value = type; } Joomla.submitform('item.setType', document.id('item-form')); } else if (task == 'item.cancel' || document.formvalidator.isValid(document.id('item-form'))) { Joomla.submitform(task, document.id('item-form')); } else { // special case for modal popups validation response $$('#item-form .modal-value.invalid').each(function(field){ var idReversed = field.id.split("").reverse().join(""); var separatorLocation = idReversed.indexOf('_'); var name = idReversed.substr(separatorLocation).split("").reverse().join("")+'name'; document.id(name).addClass('invalid'); }); } } </script>
Last edit: 10 years 1 month ago by ggppdk.

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

Moderators: vistamediajoomlacornerggppdk
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save