Keyword

[SOLVED] Re: K2 front-end save and close

More
11 years 10 months ago #66518 by pixelmechnina
Replied by pixelmechnina on topic Re: K2 front-end save and close
Hi,

I'm having the same problem and can't find a solution.

Was anyone able to fix that with k2 2.6.1. and Joomla 2.5.7?

Thanks in advance

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

More
11 years 9 months ago - 11 years 9 months ago #66519 by Jay Reeves
Replied by Jay Reeves on topic Re: K2 front-end save and close
I am having that problem as well and have racked my brains out trying to find what it is that is conflicting with it.

I did verify that Jquery is loading before k2.js per one of the previous fixes. Not using whatever GCal is.

The first thing it loads is mootools-core.js, then Jquery, then K2.

The Front End editing does work, although it is very frustrating for me as I have to tell the customer that the window doesn't close automatically and they have to click close after saving. I get funny looks when I tell them that, and then they ask if I can't make it close on save. Everyone of my customers so far.

It sure seems that the K2 developers would be all over this trying to fix it, but I see no life there, but I guess I shouldn't expect t much for free.

Too bad because I am about ready to stop using K2 and uninstall it because of this.

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

More
11 years 9 months ago #66520 by Berko Franck
Replied by Berko Franck on topic Re: K2 front-end save and close
Hum.. Allo ?

Same problem here

Firebug :


ReferenceError: $K2 is not defined
$K2(document).ready(function() {
k2.js?v=2.5.7 (ligne 11)

TypeError: placeholder.setStyle is not a function
placeholder.setStyle('background', 'none');

ReferenceError: $K2 is not defined
if ($K2.trim($K2('#title').val()) == '') {

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

More
11 years 8 months ago #66521 by frankgem
Replied by frankgem on topic Re: K2 front-end save and close
I'm having the same problem. Seems its a common issue.

K2 cannt save from frontend
I'm using Zootheme ZTNews4 templates

Was anyone able to fix that with k2 2.6.1. and Joomla 2.5.8?

Thanks a lot

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

More
11 years 8 months ago #66522 by sasa varmuza
Replied by sasa varmuza on topic Re: K2 front-end save and close
Hello,
i solved it this way...

In my case problem was when i updated joomla 1.5 to newest version...
-i had .htaccess in root folder, and when i updated joomla, old .htaccess file stayed (from old joomla version
...i forgot to erase it and rename new htaccess.txt to .htaccess

and i just couldn't save/create any k2 items in frontend

...maybe this helps someone

Tnx.
Sasa

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

More
11 years 8 months ago - 11 years 8 months ago #66523 by kunle
Replied by kunle on topic Re: K2 front-end save and close
K2 v2.6.2
Php 5.3.10
MySQL 5.5.20
Joomla 2.5.8

I'm currently building a site offline using wampserver so after installing K2 I noticed neither 'Save & Close' nor 'Save & New' buttons worked in back-end.

Then in the JS error console (using firefox browser) I noticed these errors:

Get ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js

X ReferenceError: jQuery is not defined

Get ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js

X TypeError: $K2 is not a function

Since the system is not connected to internet I guessed the 'http' header for 'googleapis' might be the cause so here's what I did that fixed it:

Navagated to K2 Parameter i.e.
Parameters > Layouts & Views > CSS & JavaScript Settings > Backend jQuery & jQuery UI handling

By default it was set to 'Load a remote copy of jQuery & UI' so I switched this to 'Load a local copy of jQuery & UI' then saved the settings. Now the 'Save & Close' and 'Save & New' buttons works fine.

Went back to JS error console (using firefox browser) refreshed the screen and
'X ReferenceError: jQuery is not defined' and
'X TypeError: $K2 is not a function' errors are not shown anymore.

As soon as my site is developed & put on a hosting server I shall switch back to 'Load a remoted copy of jQuery UI to see If the error will return.

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

More
11 years 8 months ago #66524 by Crystal
Replied by Crystal on topic Re: K2 front-end save and close
Thank you. My issue was also this.......i forgot to erase it and rename new htaccess.txt to .htaccess

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

More
11 years 8 months ago #66525 by Crystal
Replied by Crystal on topic Re: K2 front-end save and close
Does anyone know how what coding to add to close the input box when hitting the save button? Seems silly that you have to hit Save, then the Close box.

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

  • Franz Wohlkönig
  • Franz Wohlkönig's Avatar
  • Offline
  • Platinum Member
More
11 years 7 months ago #66526 by Franz Wohlkönig
Replied by Franz Wohlkönig on topic Re: K2 front-end save and close
Thank you for your discussion. It helped me by the same problem (no reaction in the lightbox in frontend while trying to save an article). also a problem was, the download-tab dont allowed to append an document.

solution: change vom remote to local copy of backend-jQuery and (for the download-issue) use version 1.8.2 (local).

have a nice day

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

More
11 years 5 months ago #66527 by Neil Johnson
Replied by Neil Johnson on topic Re: K2 front-end save and close
Still unable to find a solution to the Save but not Closing issue. Can a K2 dev / team member possibly comment?

Some sort of publicised walk-through troubleshooting / fix document would make a whole load of people happy.

Any chance of setting up a poll of some sort to try and establish how many people are coming up against this specific issue?

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


Powered by Kunena Forum