Author |
Message |
rickleigh
Worker


Joined: Jan 06, 2009
Posts: 183
|
Posted:
Sat Oct 31, 2009 10:50 pm |
|
I have spent allot of time tweaking a theme I paid for to suite my sites content that is coded around autothemes. I posted on autotheme's forums for help with no reply. So I hope someone can help me here.
It seems that when using autothemes, the scripts in the header.php are not being called. Can someone guide me as to how I can embed this to work? |
_________________ Thanks,
Rick Leigh |
|
|
 |
nuken
RavenNuke(tm) Development Team

Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina
|
Posted:
Sun Nov 01, 2009 8:14 am |
|
Try this Rick...
open modules/AutoTheme/includes/atExtended and find
just above return $head; add:
Code:$head .= "<link rel=\"StyleSheet\" href=\"./themes/ravennuke.css\" type=\"text/css\" />\n";
$head .= "<link rel=\"StyleSheet\" href=\"includes/jquery/css/colorbox.css\" type=\"text/css\" />\n";
$head .= "<link rel=\"StyleSheet\" href=\"includes/nukeSEO/nukePIE.css\" type=\"text/css\" />\n";
$head .= "<link rel=\"StyleSheet\" href=\"includes/jquery/css/nukeNAV.css\" type=\"text/css\" />\n";
$head .= "<script type=\"text/javascript\" language=\"JavaScript\" src=\"includes/rn.js\"></script>\n";
$head .= "<script type=\"text/javascript\" language=\"JavaScript\" src=\"includes/jquery/jquery.js\"></script>\n";
$head .= "<script type=\"text/javascript\" language=\"JavaScript\" src=\"includes/jquery/jquery.colorbox-min.js\"></script>\n";
$head .= "<script type=\"text/javascript\">\n";
$head .= " $(document).ready(function(){\n";
$head .= " $(\".colorbox\").colorbox({opacity:0.65, current:\"{current} of {total}\"});\n";
$head .= " $(\".colorboxSEO\").colorbox({opacity:0.50, width:\"750\", height:\"300\", iframe:true});\n";
$head .= " });\n";
$head .= "</script>\n";
$head .= "<script type=\"text/javascript\" language=\"JavaScript\" src=\"includes/boxover/boxover.js\"></script>\n";
$head .= "<script type=\"text/javascript\" language=\"JavaScript\" src=\"includes/jquery/jquery.hoverIntent.minified.js\"></script>\n";
$head .= "<script type=\"text/javascript\" language=\"JavaScript\" src=\"includes/jquery/superfish.js\"></script>\n";
$head .= "<script type=\"text/javascript\" language=\"JavaScript\" src=\"includes/jquery/supersubs.js\"></script>\n";
$head .= "<script type=\"text/javascript\" language=\"JavaScript\" src=\"includes/jquery/nukeNAV.js\"></script>\n";
$head .= "\n";
|
This is just a temporary fix until something else can be done. If you need extra javascript of css loaded, just add it like above. |
_________________ Only registered users can see links on this board! Get registered or login!
Last edited by nuken on Sun Nov 01, 2009 10:10 am; edited 1 time in total |
|
|
 |
nuken

|
Posted:
Sun Nov 01, 2009 8:19 am |
|
That does not address all the issues with AutoThemes and RavenNuke(tm) 2.40 but it will get the css and js loaded that is needed. |
|
|
|
 |
nuken

|
Posted:
Sun Nov 01, 2009 10:11 am |
|
I had an error in the above code, I have replaced it with the correct code |
|
|
|
 |
rickleigh

|
Posted:
Sun Nov 01, 2009 10:12 am |
|
nuken wrote: | Try this Rick...
open modules/AutoTheme/includes/atExtended and find
just above return $head; add:
Code:$head .= "<link rel=\"StyleSheet\" href=\"./themes/ravennuke.css\" type=\"text/css\" />\n";
$head .= "<link rel=\"StyleSheet\" href=\"includes/jquery/css/colorbox.css\" type=\"text/css\" />\n";
$head .= "<link rel=\"StyleSheet\" href=\"includes/nukeSEO/nukePIE.css\" type=\"text/css\" />\n";
$head .= "<link rel=\"StyleSheet\" href=\"includes/jquery/css/nukeNAV.css\" type=\"text/css\" />\n";
$head .= "<script type=\"text/javascript\" language=\"JavaScript\" src=\"includes/rn.js\"></script>\n";
$head .= "<script type=\"text/javascript\">\n";
$head .= "<script type=\"text/javascript\" language=\"JavaScript\" src=\"includes/jquery/jquery.js\"></script>\n";
$head .= "<script type=\"text/javascript\" language=\"JavaScript\" src=\"includes/jquery/jquery.colorbox-min.js\"></script>\n";
$head .= "<script type=\"text/javascript\">\n";
$head .= " $(document).ready(function(){\n";
$head .= " $(\".colorbox\").colorbox({opacity:0.65, current:\"{current} of {total}\"});\n";
$head .= " $(\".colorboxSEO\").colorbox({opacity:0.50, width:\"750\", height:\"300\", iframe:true});\n";
$head .= " });\n";
$head .= "</script>\n";
$head .= "<script type=\"text/javascript\" language=\"JavaScript\" src=\"includes/boxover/boxover.js\"></script>\n";
$head .= "<script type=\"text/javascript\" language=\"JavaScript\" src=\"includes/jquery/jquery.hoverIntent.minified.js\"></script>\n";
$head .= "<script type=\"text/javascript\" language=\"JavaScript\" src=\"includes/jquery/superfish.js\"></script>\n";
$head .= "<script type=\"text/javascript\" language=\"JavaScript\" src=\"includes/jquery/supersubs.js\"></script>\n";
$head .= "<script type=\"text/javascript\" language=\"JavaScript\" src=\"includes/jquery/nukeNAV.js\"></script>\n";
$head .= "\n";
|
This is just a temporary fix until something else can be done. If you need extra javascript of css loaded, just add it like above. |
Hi Nuken,
I tried the edits you provided and when I have them in, I get these errors from the browser:
As always, Thanks for lending a hand  |
|
|
|
 |
rickleigh

|
Posted:
Sun Nov 01, 2009 10:18 am |
|
nuken wrote: | I had an error in the above code, I have replaced it with the correct code |
LOL, just seen your post and testing now. |
|
|
|
 |
rickleigh

|
Posted:
Sun Nov 01, 2009 10:24 am |
|
Ok, Your correct edit seems to be working but with a conflict and issue with lightbox.
First, something now seems to be over riding my scripted for the slider on my homepage.
Second, The lightbox in the classifieds for images isn't providing a X to close the image out when you click on it. |
Last edited by rickleigh on Sun Nov 01, 2009 10:40 am; edited 1 time in total |
|
|
 |
nuken

|
Posted:
Sun Nov 01, 2009 10:33 am |
|
Hmmm. That does sound like js conflicts. Remove the added code and I will do some fine tuning after football... |
|
|
|
 |
rickleigh

|
Posted:
Tue Nov 10, 2009 4:06 pm |
|
Am I the only one having issues with autotheme not loading all scripts from RN2.4.? I can't seem to get the developer to respond to my issues  |
|
|
|
 |
tauhid
Hangin' Around

Joined: Apr 11, 2009
Posts: 48
|
Posted:
Mon Dec 28, 2009 11:00 am |
|
modules/AutoTheme/templates/php-nuke/HTML401_Transitional.html
only add this Code:
<link rel=\"StyleSheet\" href=\"./themes/ravennuke.css\" type=\"text/css\" />
<link rel=\"StyleSheet\" href=\"includes/jquery/css/colorbox.css\" type=\"text/css\" />
<link rel=\"StyleSheet\" href=\"includes/nukeSEO/nukePIE.css\" type=\"text/css\" />
<link rel=\"StyleSheet\" href=\"includes/jquery/css/nukeNAV.css\" type=\"text/css\" />
<script type="text/javascript" language="JavaScript" src="includes/rn.js"></script>
<script type="text/javascript" language="JavaScript" src="includes/jquery/jquery.js"></script>
<script type="text/javascript" language="JavaScript" src="includes/jquery/jquery.colorbox-min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$(".colorbox").colorbox({opacity:0.65, current:"{current} of {total}"});
$(".colorboxSEO").colorbox({opacity:0.50, width:"750", height:"300", iframe:true});
});
</script>
<script type="text/javascript" language="JavaScript" src="includes/boxover/boxover.js"></script>
<script type="text/javascript" language="JavaScript" src="includes/jquery/jquery.hoverIntent.minified.js"></script>
<script type="text/javascript" language="JavaScript" src="includes/jquery/superfish.js"></script>
<script type="text/javascript" language="JavaScript" src="includes/jquery/supersubs.js"></script>
<script type="text/javascript" language="JavaScript" src="includes/jquery/nukeNAV.js"></script>
|
|
|
|
|
 |
|