Keyword

HELP! I Can't use tabs (apart from 'content') in 'add item' view

  • Alistair Kent
  • Alistair Kent's Avatar Topic Author
  • Offline
  • Senior Member
More
15 years 3 months ago #77986 by Alistair Kent
Joomla 1.5.14K2 2.2www.echampions.co.ukI've installed K2 on three sites all using different hosting providers. One of them works okay, but the other two don't.Everything installs okay, but I get a problem when trying to use the tabs in the 'add new item' screen.The 'content' tab works fine, but when I click on the 'image' tab (see attached) and all the other tabs, I just get a white space with no details.The relevant plugins are installed, but I'm sure that's not the problem anyway (because a message would come up saying to install them).I've got no idea why this is happening. Could it be something conflicting with anther extension? The only thing I can think about the two sites that aren't working is that they both use JomSocial. Are ter eany known conflicts with this or any other extension?Any help would be greatly appreciated!
Attachments:

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

More
15 years 3 months ago #77987 by Mark Banks
I'm getting similar problems on a local server installation using WAMP. This has been replicated several times and has something to do with SIG Pro 204 uploading galleries.

See this thread:
community.getk2.org/forum/topics/k22-video-and-attachment

V2.1 and V2 worked flawlessly on same set up.

Anyone else getting similar problems?

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

More
15 years 3 months ago #77988 by Gary A Mort
2.2 uses a newer version of the simpletabs limbrary. If you have a k2 override built for 2,0 or 2.1 it wont work. Spent half a day debugging to find this.

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

  • Alistair Kent
  • Alistair Kent's Avatar Topic Author
  • Offline
  • Senior Member
More
15 years 3 months ago #77989 by Alistair Kent
As far a I know I'm not using any K2 overrides, how can I check/fix this?

Gary A Mort said:2.2 uses a newer version of the simpletabs limbrary. If you have a k2 override built for 2,0 or 2.1 it wont work. Spent half a day debugging to find this.

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

More
15 years 3 months ago #77990 by Gary A Mort
Alistair Kent said:As far a I know I'm not using any K2 overrides, how can I check/fix this?
That was my problem, see the articles on how overrides are done and check to see if you have any enabled:
docs.joomla.org/How_to_override_the_output_from_the_Joomla!_core

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

  • Alistair Kent
  • Alistair Kent's Avatar Topic Author
  • Offline
  • Senior Member
More
15 years 3 months ago #77991 by Alistair Kent
The article you linked to relates to overrides to the 'front end' of Joomla. The problem I am having with is in the Admin Control Panel. How is this related to my front end overrides?

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

More
15 years 3 months ago #77992 by Gary A Mort
Alistair Kent said:The article you linked to relates to overrides to the 'front end' of Joomla. The problem I am having with is in the Admin Control Panel. How is this related to my front end overrides?


Some of the forms are overriden using template overrides, and some use the internal K2 system, and some can use a hybrid of the two.

Basically, it was a royal mess to track down someone else's work and find the problematic issue, so I can't say "look in X file"...it took a lot of searching and checking.

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

  • Alistair Kent
  • Alistair Kent's Avatar Topic Author
  • Offline
  • Senior Member
More
15 years 3 months ago #77993 by Alistair Kent
I have temporarily removed my templates entire html folder and this didn't make any difference. I am using the standard Joomla admin template so I cannot see this being the cause. Any ideas where I can start looking?

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

More
15 years 3 months ago #77994 by Simon Wells
Trying a hard refresh, SHIFT + CTRL + R

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

  • Alistair Kent
  • Alistair Kent's Avatar Topic Author
  • Offline
  • Senior Member
More
15 years 3 months ago #77995 by Alistair Kent
No that doesn't solve it... this is getting really annoying!

K2Joom said:Trying a hard refresh, SHIFT + CTRL + R

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

  • Alistair Kent
  • Alistair Kent's Avatar Topic Author
  • Offline
  • Senior Member
More
15 years 3 months ago #77996 by Alistair Kent
I've just loaded K2 onto 5 different sites, all with same host, all running Joomla 1.5.15. It installs sweetly on all of them, but I get the same problem with the content in the tabs not showing on three of them, and the fourth one works perfectly. This would possibly sound like a template issue (as these are the main variables on all the sites), but I haven't got the foggiest what to do. Plesae can someone put me out of my misery (not literally)!

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

  • Alistair Kent
  • Alistair Kent's Avatar Topic Author
  • Offline
  • Senior Member
More
15 years 3 months ago #77997 by Alistair Kent
When I click any of the tabs other than 'content', with firebug enabled, I get the following error:

document.getElementById(c + ("_div_" + e)) is null

I'v elooked on Google and this seems to be a 'simpletabs' problem.

Any help would be appreciated, as I might have to consider using Yoo themes 'Zoo' component (but it's not as good as K2)!

PS. Screen shot of information page attached.
Attachments:

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

More
15 years 3 months ago #77998 by Gary A Mort
That came from mootools....basically I was using a yoo template and between simpletabs, the latest version of k2 and yootheme, there were 3 different versions of mootools being loaded on different pages.

Drives me batty trying to figure out which one is on which page.

Sorry I can't help, but it was hours of debugging to track down things to get mine working.

Especially as I inherited a bunch of code that leveraged mootools at a specific version.

Alistair Kent said:When I click any of the tabs other than 'content', with firebug enabled, I get the following error:
document.getElementById(c + ("_div_" + e)) is null

I'v elooked on Google and this seems to be a 'simpletabs' problem.

Any help would be appreciated, as I might have to consider using Yoo themes 'Zoo' component (but it's not as good as K2)!

PS. Screen shot of information page attached.

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

More
15 years 3 months ago #77999 by Gary A Mort
Oh, I just remembered, another problem I had was if one of the tabs had a long, complex form in it it would muck up simpletabs.

As a workaround, I moved all those loads to a different set of divs with display:none and added a domready action to to copy their contents to the simpletabs div and wipe them.

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

More
14 years 10 months ago #78000 by tarik916
I had this same issue after upgrading to K2 version 2.3 and figured out that it was a compatibility issue with my version of JCE. After upgrading to the latest version of JCE the tabs worked again.

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


Powered by Kunena Forum