Tricked Out News

Welcome to TON. This site is dedicated to development of addons for the RavenNuke™ CMS
Follow Us:
Tricked Out Mods: Forums

 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

javascript not working with my site
 
 
Post new topic   Reply to topic   print    Tricked Out News Forum Index -> NukeC
View previous topic :: View next topic  
Author Message
RickLeigh
Regular
Regular


Joined: Oct 18, 2009
Posts: 11

Reputation: 1

PostPosted: Sun Oct 18, 2009 2:58 pm 
Post subject: javascript not working with my site
Reply with quote

I installed this module and everything seems to be working fine accept when I install the javascript.

Included script with install notes:

When I install this my site only loads the background image and nothing else. I am using the new 2.4 RN. Any ideas?
  
Back to top
View user's profile Send private message
bobby
Site Admin
Site Admin


Joined: Jan 20, 2009
Posts: 600
Location: North Carolina
Reputation: 543Reputation: 543Reputation: 543
votes: 4

PostPosted: Sun Oct 18, 2009 3:08 pm 
Post subject:
Reply with quote

Let me install it real quick and see what is going on.
_________________
Tricked Out News
  
Back to top
View user's profile Send private message
bobby
Site Admin
Site Admin


Joined: Jan 20, 2009
Posts: 600
Location: North Carolina
Reputation: 543Reputation: 543Reputation: 543
votes: 4

PostPosted: Sun Oct 18, 2009 3:24 pm 
Post subject:
Reply with quote

Just before the closing ?> tag in includes/javascript.php you added this:


The closing ?> didn't get deleted did it?
_________________
Tricked Out News
  

Last edited by bobby on Sun Oct 18, 2009 3:38 pm; edited 1 time in total
Back to top
View user's profile Send private message
RickLeigh
Regular
Regular


Joined: Oct 18, 2009
Posts: 11

Reputation: 1

PostPosted: Sun Oct 18, 2009 3:30 pm 
Post subject:
Reply with quote

Yep the ?> is still there. I added it as you stated in the last post and still get a blank page with only my background image.
_________________
Thanks,
Rick
  
Back to top
View user's profile Send private message
RickLeigh
Regular
Regular


Joined: Oct 18, 2009
Posts: 11

Reputation: 1

PostPosted: Sun Oct 18, 2009 3:31 pm 
Post subject:
Reply with quote

Not sure if it matters or not but I am using a autotheme on my site.
_________________
Thanks,
Rick
  
Back to top
View user's profile Send private message
bobby
Site Admin
Site Admin


Joined: Jan 20, 2009
Posts: 600
Location: North Carolina
Reputation: 543Reputation: 543Reputation: 543
votes: 4

PostPosted: Sun Oct 18, 2009 3:37 pm 
Post subject:
Reply with quote

Something must be in conflict with the JS.
I will figure an alternate way of getting the js to load and we can see if that helps. I won't be able to post the possible fix until tomorrow.
One way or another, we will get to the bottom of it. I can not reproduce the problem so I will try a few shots in the dark and hope to find a simple work around for it.
_________________
Tricked Out News
  

Last edited by bobby on Tue Oct 27, 2009 4:06 pm; edited 1 time in total
Back to top
View user's profile Send private message
RickLeigh
Regular
Regular


Joined: Oct 18, 2009
Posts: 11

Reputation: 1

PostPosted: Sun Oct 18, 2009 4:00 pm 
Post subject:
Reply with quote

Ok, Standing By Wink
_________________
Thanks,
Rick
  
Back to top
View user's profile Send private message
bobby
Site Admin
Site Admin


Joined: Jan 20, 2009
Posts: 600
Location: North Carolina
Reputation: 543Reputation: 543Reputation: 543
votes: 4

PostPosted: Sun Oct 18, 2009 4:03 pm 
Post subject:
Reply with quote

Try this. Download and unzip this file. Upload head-NukeC.php to the includes/addons directory. Let me know if the site will load.

http://trickedoutnews.com/head-NukeC.zip
_________________
Tricked Out News
  
Back to top
View user's profile Send private message
RickLeigh
Regular
Regular


Joined: Oct 18, 2009
Posts: 11

Reputation: 1

PostPosted: Sun Oct 18, 2009 4:15 pm 
Post subject:
Reply with quote

Yes, The site loaded fine like that. What does this Javascript do so I can see if its actions are working as well.

Thanks
_________________
Thanks,
Rick
  
Back to top
View user's profile Send private message
bobby
Site Admin
Site Admin


Joined: Jan 20, 2009
Posts: 600
Location: North Carolina
Reputation: 543Reputation: 543Reputation: 543
votes: 4

PostPosted: Sun Oct 18, 2009 4:18 pm 
Post subject:
Reply with quote

It loads images for the blocks and I think for the NukeC module. I know the blocks for sure. If you can see images in the ads, it is working.
_________________
Tricked Out News
  
Back to top
View user's profile Send private message
RickLeigh
Regular
Regular


Joined: Oct 18, 2009
Posts: 11

Reputation: 1

PostPosted: Sun Oct 18, 2009 4:22 pm 
Post subject:
Reply with quote

Ok, I will try and load a test ad and see what we get.
_________________
Thanks,
Rick
  
Back to top
View user's profile Send private message
RickLeigh
Regular
Regular


Joined: Oct 18, 2009
Posts: 11

Reputation: 1

PostPosted: Sun Oct 18, 2009 4:30 pm 
Post subject:
Reply with quote

Post an ad with image and so far so good. Thanks for helping so fast Wink

I will keep you posted if I run into anything else.
_________________
Thanks,
Rick
  
Back to top
View user's profile Send private message
bobby
Site Admin
Site Admin


Joined: Jan 20, 2009
Posts: 600
Location: North Carolina
Reputation: 543Reputation: 543Reputation: 543
votes: 4

PostPosted: Sun Oct 18, 2009 4:33 pm 
Post subject:
Reply with quote

I have modified the download for the change. Instructions now have it noted that the javascript is not needed for 2.40 and I added the head-NukeC.php included in the download.
_________________
Tricked Out News
  
Back to top
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic   print    Tricked Out News Forum Index -> NukeC All times are GMT - 5 Hours
 
 Page 1 of 1

 

Jump to:   
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001-2008 phpBB Group
Forums ©