Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Themes
Author Message
tauhid
Hangin' Around


Joined: Apr 11, 2009
Posts: 48

PostPosted: Tue Dec 08, 2009 4:41 am Reply with quote

Hello,
how do I add the NavMenu in to the AutoTheme?

Sincerely
 
View user's profile Send private message
nuken
RavenNuke(tm) Development Team


Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina

PostPosted: Tue Dec 08, 2009 6:18 am Reply with quote

AutoThemes does not load the javascript needed for nukeNAV or any other javascript driven parts of RavenNuke(tm) by default. Unless you are skilled at AutoThemes, I would suggest not using it. If you do want to use it, you would need to load the needed javascript and css in the head of the pages.

_________________
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Send e-mail Visit poster's website
tauhid
PostPosted: Tue Dec 08, 2009 6:46 am Reply with quote

but you can load the javascript file on this :modules/AutoTheme/templates/php-nuke/HTML401_Transitional.html
 
nuken
PostPosted: Tue Dec 08, 2009 7:09 am Reply with quote

These are the files loaded in RavenNuke 2.40

themes/ravennuke.css
includes/jquery/css/colorbox.css
includes/nukeSEO/nukePIE.css
includes/jquery/css/nukeNAV.css

includes/rn.js
includes/jquery/jquery.js
includes/jquery/jquery.colorbox-min.js
includes/boxover/boxover.js
includes/jquery/jquery.hoverIntent.minified.js
includes/jquery/superfish.js
includes/jquery/supersubs.js
includes/jquery/nukeNAV.js

along with this
Code:
<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>


You can see what is loading with autothemes and what is not by view source in your browser. You should be able to add what is needed and it may work fine. The includes/jquery/css/nukeNAV.css will control the look of the nukeNAV menu. You may need to adjust the colors to match your theme.
 
tauhid
PostPosted: Tue Dec 08, 2009 11:57 am Reply with quote

I introduced the files look like this:

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 

<html lang="">
<head>
<title>Amchum.de </title>
 
<meta http-equiv="Content-Type" content="text/html; charset={LANG_CHARSET}">
<meta http-equiv="expires" content="0">
<meta name="author" content="Amchum.de">
<meta name="copyright" content="Copyright (c) 2005 by Amchum.de">
<meta name="description" content="">
<meta name="distribution" content="Global">
<meta name="generator" content="AutoTheme - http://spidean.mckenzies.net / PHP-Nuke - http://phpnuke.org">
<meta name="keywords" content="PHP-Nuke, AutoTheme">
<meta name="rating" content="General">
<meta name="resource-type" content="document">
<meta name="revisit-after" content="1 days">
<meta name="robots" content="index,follow">
<script type="text/javascript" src="modules/Video/mod/swfobject.js"></script>
<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>
<link rel="alternate" href="backend.php" type="application/rss+xml" title="Amchum.de">
<link rel="stylesheet" href="modules/AutoTheme/style/style.css" type="text/css">
<link rel="stylesheet" href="themes/amchum2009/style/styleNN.css" type="text/css">
<style type="text/css">@import url("themes/amchum2009/style/style.css");</style>
 
<!--
************************ AutoTheme 0.87 *************************
-->
 
<!--
*****************************************************************
Theme Name:  AutoTheme
Version:     1.7
 
Description: Ugly default AutoTheme.
 
Author:      Shawn McKenzie
Contact:     http://spidean.mckenzies.net
*****************************************************************
-->
</head>
 
<body>
<!--top start -->
<div id="topmain">
<div id="top" style="width: 659px; height: 118px">
  <a href="index.php">
   <img src="themes/amchum2009/images/logo.png" alt="ecode" width="200" height="51" border="0" class="logo" title="ecode" /></a>
<p class="topTxt"><span class="yellow">Zitats:</span> Das Weinen ist dem Menschen angeboren, aber das Lachen will gelernt sein.&nbsp;<font color="#F3FC02"><b>Welcome tauhid</b></font></p>
<ul class="nav">
<li><a href="index.php" class="hover">Home</a></li>
<li><a href="modules.php?name=Forums">Foren</a></li>
<li><a href="modules.php?name=Video_Stream">Video Gallery</a></li>
<li><a href="modules.php?name=4nAlbum">Fotoalben</a></li>
<li><a href="modules.php?name=Feedback">Feedback</a></li>
</ul>
<ul class="sub">
<li><a href="#"><script type="text/javascript">
var monthNames = new Array( "Januar","Februar","Maerz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember");
var now = new Date();
thisYear = now.getYear();
if(thisYear < 1900) {thisYear += 1900};
document.write(monthNames[now.getMonth()] + " " + now.getDate() + ", " + thisYear);
</script></a></li>
<li><a href="#"><script type="text/javascript">
var now = new Date();
var hours = now.getHours();
var minutes = now.getMinutes();
document.write(hours + ":" + minutes);
</script></a></li>
<li><a target="_blank" href="http://11209.webtest.goneo.de/chat/flashchat.php">Text Chat&nbsp;&nbsp;&nbsp;</a></li>
<li><a target="_blank" href="http://webrif.com">Voice Chat</a></li>
<li><a><a href="modules.php?name=Your_Account">My Account</a> | <a href="modules.php?name=Your_Account&amp;op=logout">Abmelden</a></a></li>
 
<li class="noImg">
<p align="left"></li>
</ul>
</div>
</div>
<!--top end -->
<!--bodyMain start -->
<div id="bodyMain">
<div align="center">
<table cellSpacing="0" border="0" bgcolor="#FFFFFF" cellpadding="0" height="0">
  <tr>
    <td valign="top" bgcolor="#E8E8D0">
    </head>
 
 
<table border="0" cellpadding="4" cellspacing="0" width="150">
  <tr>
    <td bgcolor="#BDDA65" background="left_head_1px.gif" height="26">
   <img border="0" src="images/arrow.gif" width="10" height="9"><b><font color="#FFFFFF">&nbsp; Modules</font></b></td>
  </tr>
  <tr>
    <td bgcolor="#D3D2B4">
    <strong><big>&middot;</big></strong>&nbsp;<a href="index.php">Home</a><br /><strong><big>&middot;</big></strong>&nbsp;<a href="modules.php?name=NukeBlog">Blog</a><br /><strong><big>&middot;</big></strong>&nbsp;<a href="modules.php?name=Recommend_Us">Empfehlen Sie uns</a><br /><strong><big>&middot;</big></strong>&nbsp;<a href="modules.php?name=Feedback">Feedback</a><br /><strong><big>&middot;</big></strong>&nbsp;<a href="modules.php?name=Forums">Foren</a><br /><strong><big>&middot;</big></strong>&nbsp;<a href="modules.php?name=Video_Stream">Video Gallery</a><br /><strong><big>&middot;</big></strong>&nbsp;<a href="modules.php?name=Your_Account">Your Account</a><br /></td>
  </tr>
</table>
<br /></head>
 
 
<table border="0" cellpadding="4" cellspacing="0" width="150">
  <tr>
    <td bgcolor="#BDDA65" background="left_head_1px.gif" height="26">
   <img border="0" src="images/arrow.gif" width="10" height="9"><b><font color="#FFFFFF">&nbsp; Who's Online</font></b></td>
  </tr>
  <tr>
    <td bgcolor="#D3D2B4">
    <div align="center"><span class="content">Zur Zeit sind 11 G&auml;ste und 2 Mitglied(er) online.<br /><br />Sie sind angemeldet als <b>tauhid</b>.<br />Sie haben <a href="modules.php?name=Private_Messages"><b>58</b></a> pers&ouml;nliche Nachricht(en).</span></div></td>
  </tr>
</table>
<br /></head>
 
 
<table border="0" cellpadding="4" cellspacing="0" width="150">
  <tr>
    <td bgcolor="#BDDA65" background="left_head_1px.gif" height="26">
   <img border="0" src="images/arrow.gif" width="10" height="9"><b><font color="#FFFFFF">&nbsp; WoIs</font></b></td>
  </tr>
  <tr>
    <td bgcolor="#D3D2B4">
    <script type="text/javascript">
function ajax_update() {
   $("#RWSWhoIsWhere").load("includes/RWS_WhoIsWhere/wiw.php", {"language": "german", "refreshRate": "60000"});
   setTimeout("ajax_update()", 60000);
}
$(document).ready(function(){
   ajax_update();
});
</script>
<div id="RWSWhoIsWhere" style="overflow:auto;width:100"></div></td>
  </tr>
</table>
<br /></head>
 
 
<table border="0" cellpadding="4" cellspacing="0" width="150">
  <tr>
    <td bgcolor="#BDDA65" background="left_head_1px.gif" height="26">
   <img border="0" src="images/arrow.gif" width="10" height="9"><b><font color="#FFFFFF">&nbsp; G. Werbung</font></b></td>
  </tr>
  <tr>
    <td bgcolor="#D3D2B4">
    <center><script type="text/javascript"><!--
google_ad_client = "pub-3146245855944567";
/* 120x240, Erstellt 09.04.09 */
google_ad_slot = "3970616363";
google_ad_width = 120;
google_ad_height = 240;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></center></td>
  </tr>
</table>
<br /></td>
    <td bgColor="#E8E8D0" width="30">&nbsp;</td>
    <td bgColor="#E8E8D0" valign="top" align="center" width="100%">
    <div align="center">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr align="center">        <td bgcolor="#E8E8D0" valign="top">
                               
        </td>
        <td bgcolor="#E8E8D0" valign="top">
       </td>
      </tr>
      <tr>
        <td bgcolor="#E8E8D0" colspan="2"></td>
      </tr>
    </table>
    </div>
   
<!-- Open Module Styles -->
<div id="News" class="module">
 
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="left"><tr><td valign="top" width="100%"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(80, 80, 80); font-family: Tahoma; font-size: 11px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 15px; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
   <tr>
      <td height="10" style="font-style: normal; font-variant: normal; font-weight: normal; line-height: 15px; font-size: 11px; font-family: Tahoma, Verdana, Arial, Helvetica; color: rgb(80, 80, 80)" bgcolor="#D3D2B4">
      <img src="themes/amchum2009/images/espai.gif" width="15" height="10" alt="." border="0"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(80, 80, 80); font-family: Tahoma; font-size: 11px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 15px; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0"></span></td>
   </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
   <tr>
      <td width="15" height="10" style="font-style: normal; font-variant: normal; font-weight: normal; line-height: 15px; font-size: 11px; font-family: Tahoma, Verdana, Arial, Helvetica; color: rgb(80, 80, 80)" bgcolor="#D3D2B4">
      <img src="themes/amchum2009/images/espai.gif" width="15" height="10" alt="." border="0"></td>
      <td width="100%" bgcolor="#D3D2B4">
      <img src="themes/amchum2009/images/espai.gif" width="10" height="10" alt="." border="0"></td>
      <td width="15" height="10" style="font-style: normal; font-variant: normal; font-weight: normal; line-height: 15px; font-size: 11px; font-family: Tahoma, Verdana, Arial, Helvetica; color: rgb(80, 80, 80)" bgcolor="#D3D2B4">
      <img src="themes/amchum2009/images/espai.gif" width="15" height="10" alt="." border="0"></td>
   </tr>
</table>
<table cellpadding="0" cellspacing="0" border="0" width="100%">
   <tr>
      <td width="15" valign="bottom" style="font-style: normal; font-variant: normal; font-weight: normal; line-height: 15px; font-size: 11px; font-family: Tahoma, Verdana, Arial, Helvetica; color: rgb(80, 80, 80)">
      <img src="themes/amchum2009/images/1-1.gif" width="15" height="24" alt=""></td>
      <td style="font-style: normal; font-variant: normal; font-weight: normal; line-height: 15px; font-size: 11px; font-family: Tahoma, Verdana, Arial, Helvetica; color: rgb(80, 80, 80)">
      <table cellpadding="0" cellspacing="0" border="0" width="100%">
         <tr>
            <td class="NavTitol" width="2%" style="font-style: normal; font-variant: normal; font-weight: normal; line-height: 15px; font-size: 11px; font-family: Tahoma, Verdana, Arial, Helvetica; color: rgb(80, 80, 80)" bgcolor="#FFFFFF">
            <img src="themes/amchum2009/images/espai.gif" width="10" height="10" alt="." border="0"></td>
            <td bgcolor="#FFFFFF" width="96%" height="20" style="font-style: normal; font-variant: normal; font-weight: normal; line-height: 15px; font-size: 11px; font-family: Tahoma, Verdana, Arial, Helvetica; color: rgb(80, 80, 80)">
             Wir sind im Wartung</td>
            <td  bgcolor="#FFFFFF" align="right" nowrap="nowrap" width="2%" style="font-style: normal; font-variant: normal; font-weight: normal; line-height: 15px; font-size: 11px; font-family: Tahoma, Verdana, Arial, Helvetica; color: rgb(80, 80, 80)">
            <span bgcolor="#FFFFFF" class="tiny" >
            0 mal gelesen</span><span class="Apple-converted-space">&nbsp;</span>&nbsp;</td>
         </tr>
         <tr>
            <td colspan="3" bgcolor="#FFFFFF" style="font-style: normal; font-variant: normal; font-weight: normal; line-height: 15px; font-size: 11px; font-family: Tahoma, Verdana, Arial, Helvetica; color: rgb(80, 80, 80)">
            <img src="themes/amchum2009/images/espai.gif" width="1" height="1" alt="." border="0"></td>
         </tr>
      </table>
      </td>
      <td width="15" valign="bottom" style="font-style: normal; font-variant: normal; font-weight: normal; line-height: 15px; font-size: 11px; font-family: Tahoma, Verdana, Arial, Helvetica; color: rgb(80, 80, 80)">
      <img src="themes/amchum2009/images/1-3.gif" width="15" height="24" alt=""></td>
   </tr>
   <tr>
      <td width="15" background="themes/amchum2009/images/2-1.gif">
      <img src="themes/amchum2009/images/espai.gif" width="2" height="8" alt="." border="0"></td>
      <td valign="top">
      <table cellspacing="0" cellpadding="3" width="100%" border="0">
         <tr>
            <td valign="top" width="100%" bgcolor="#FFFFFF" height="100%">
             Geschrieben von tauhid      <p>
            <p>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta content="Word.Document" name="ProgId" />
<meta content="Microsoft Word 12" name="Generator" />
<meta content="Microsoft Word 12" name="Originator" />
<link href="file:///C:DOKUME~1MusLOKALE~1Tempmsohtmlclip1



but I do not know how to go Confused
 
nuken
PostPosted: Tue Dec 08, 2009 12:41 pm Reply with quote

Are you wanting the nukeNAV block or the top nav? The block should just need to be activated in your blocks admin.
 
tauhid
PostPosted: Tue Dec 08, 2009 1:43 pm Reply with quote

Unfortunately, it did not work
 
nuken
PostPosted: Tue Dec 08, 2009 3:37 pm Reply with quote

Sorry, That is all I can think of as to what would be causing it not to work with AutoThemes.
 
tauhid
PostPosted: Tue Dec 08, 2009 3:52 pm Reply with quote

I've done it. I have the method that you said made.
Only registered users can see links on this board! Get registered or login!

unten habe ich gesetzt, mit den namen Nukenav, But I do not see the link seo
 
tauhid
PostPosted: Tue Dec 08, 2009 4:32 pm Reply with quote

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>
 
nuken
PostPosted: Tue Dec 08, 2009 4:55 pm Reply with quote

awesome.
 
tauhid
PostPosted: Tue Dec 08, 2009 5:04 pm Reply with quote

what do you think?! that is dangerous for my Homepage??
 
nuken
PostPosted: Tue Dec 08, 2009 5:47 pm Reply with quote

No, I was just saying it's great that you got it to work.
 
tauhid
PostPosted: Tue Dec 08, 2009 6:45 pm Reply with quote

Thank God, thank you, I remain forever grateful that you are my teachers
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Themes

View next topic
View previous topic
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 can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©