1
Smartkuttan
JavaScript Not Working in XOOPS !!!!!!!! Strange Problem

Hello All their
I am Having a Strange Problem with My XOOPS Site :http://celebrantsindia.netfirms.com/
..., I mnay instances of the site their is this Javascript code and other


javascript:openWithSelfMain('http://celebrantsindia.netfirms.com/misc.php?action=showpopups&type=online','Online',420,350);

But this is not working i tried in firefox,Mozilla, internet explorer it showing error in page as i must use this in the debaser module to play the music also........,

Also tell me what i should do to the news and articles content visible to the users in the frontpage of the site even for guest users also currentley it is working only for registerd users of the site...........,

expecting yours Answers

Thanking You !!!!!!!

2
frankblack
Re: JavaScript Not Working in XOOPS !!!!!!!! Strange Problem
  • 2006/7/19 8:55

  • frankblack

  • Just can't stay away

  • Posts: 830

  • Since: 2005/6/13


How do you know that debaser is to blame? Try to deactivate debaser and check if your javascript-problems still exists.

If the problem vanishes then debaser IS to blame, but you can simply avoid this. Search the whole debaser-scripts for openWithSelfMain and replace it with other javascript-code which will open a window.

HTH

3
Smartkuttan
Re: JavaScript Not Working in XOOPS !!!!!!!! Strange Problem

i am not blaming anything just some one examine the html layout from html source and tell me what the problem is

Thanks

4
frankblack
Re: JavaScript Not Working in XOOPS !!!!!!!! Strange Problem
  • 2006/7/19 9:22

  • frankblack

  • Just can't stay away

  • Posts: 830

  • Since: 2005/6/13


Who said that I take this personally?

I think I found the problem. There is something missing in your theme.html. Insert this and you are done:

<script type="text/javascript" src="http://celebrantsindia.netfirms.com/include/xoops.js"></script>

5
Daigoro
Re: JavaScript Not Working in XOOPS !!!!!!!! Strange Problem
  • 2006/7/19 15:13

  • Daigoro

  • Quite a regular

  • Posts: 223

  • Since: 2003/7/3 2


For some reason XOOPS 2.0.14 does no longer fill in the javascript variable used in pre 2.0.14 themes.

I actually thought it was me who had made an error when i designed my own theme (way back). So I just fixed it in my own theme.
However, today I've heard two complaints about this from other people.
When I get home - late tonight - I'll find the changes I did to the the theme and post it here. (Unless somebody beats me to it!)

Until then, I'm sure frankblacks fix will help you out.
Best regards,
Daigoro

6
davidl2
Re: JavaScript Not Working in XOOPS !!!!!!!! Strange Problem
  • 2006/7/19 15:20

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


I believe the way that javascript attatches to themes has been changed in 2.0.14

7
msdana
Re: JavaScript Not Working in XOOPS !!!!!!!! Strange Problem
  • 2006/7/19 15:23

  • msdana

  • Just can't stay away

  • Posts: 817

  • Since: 2005/12/11


davidl2,

Is there any place that documents theme changes for 2.0.14? It would be nice for theme designers to know what has changed, so we can easily update older themes without having to re-code the entire theme.

Thanks!
[size=x-small]If God is watching us, the least we can do is be entertaining.[/size]
Graphic Worx : Xoops Themes

8
davidl2
Re: JavaScript Not Working in XOOPS !!!!!!!! Strange Problem
  • 2006/7/19 15:29

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


you've got pm

9
Daigoro
Re: JavaScript Not Working in XOOPS !!!!!!!! Strange Problem
  • 2006/7/19 15:30

  • Daigoro

  • Quite a regular

  • Posts: 223

  • Since: 2003/7/3 2


I haven't seen the change documented.
But I'll give an example once I'm back in the lair.
Best regards,
Daigoro

10
msdana
Re: JavaScript Not Working in XOOPS !!!!!!!! Strange Problem
  • 2006/7/19 15:33

  • msdana

  • Just can't stay away

  • Posts: 817

  • Since: 2005/12/11


Thanks guys

I guess I can just do a comparison of the 2.0.13 default theme to the 2.0.14 default theme...duh
[size=x-small]If God is watching us, the least we can do is be entertaining.[/size]
Graphic Worx : Xoops Themes

Login

Who's Online

146 user(s) are online (83 user(s) are browsing Support Forums)


Members: 0


Guests: 146


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits