Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Adding a codeAdding a code
Previous
 
Next
New Post
3/12/2009 10:57 AM
 

I have to do this->

.....

<SCRIPT language="javascript">var m_oSPJSDOM_dnn_dnnSOLPARTMENU_ctldnnSOLPARTMENU=new SPJSXMLNode('root', '', null, '', '', '', '', '', '', 'false', '', '', '', '', '');var m_oSPNode=new Array(); m_oSPNode['-1']=m_oSPJSDOM_dnn_dnnSOLPARTMENU_ctldnnSOLPARTMENU;
m_oSPNode['127'] =new SPJSXMLNode('menuitem', '127', m_oSPNode['-1'], 'Home', '/Home/tabid/127/Default.aspx', '', '', '</span>', '<span>', '', '', '', '', 'rootmenuitem rootmenuitembreadcrumb rootmenuitembreadcrumb', 'rootmenuitemselected');m_oSPNode['1974'] =new SPJSXMLNode('menuitem', '1974', m_oSPNode['-1'], 'Photo Gallery', '/PhotoGallery/tabid/1974/Default.aspx', '', '', '</span>', '<span>', '', '', '', '', 'rootmenuitem', 'rootmenuitemselected');m_oSPNode['130'] =new SPJSXMLNode('menuitem', '130', m_oSPNode['-1'], 'Virtual Gallery', '/VirtualGallery/tabid/130/Default.aspx', '', '', '</span>', '<span>', '', '', '', '', 'rootmenuitem', 'rootmenuitemselected');m_oSPNode['129'] =new SPJSXMLNode('menuitem', '129', m_oSPNode['-1'], 'Location', '/Location/tabid/129/Default.aspx', '', '', '</span>', '<span>', '', '', '', '', 'rootmenuitem', 'rootmenuitemselected');m_oSPNode['1985'] =new SPJSXMLNode('menuitem', '1985', m_oSPNode['-1'], 'Property Specs', '/PropertySpecs/tabid/1985/Default.aspx', '', '', '</span>', '<span>', '', '', '', '', 'rootmenuitem', 'rootmenuitemselected');m_oSPNode['128'] =new SPJSXMLNode('menuitem', '128', m_oSPNode['-1'], 'Floor Plan', '/FloorPlan/tabid/128/Default.aspx', '', '', '</span>', '<span>', '', '', '', '', 'rootmenuitem', 'rootmenuitemselected');m_oSPNode['2006'] =new SPJSXMLNode('menuitem', '2006', m_oSPNode['-1'], 'Featured Properties', 'http://www.provisions.ws/Properties/tabid/73/Default.aspx', '', '', '</span>', '<span>', '', '', '', '', 'rootmenuitem', 'rootmenuitemselected');m_oSPNode['131'] =new SPJSXMLNode('menuitem', '131', m_oSPNode['-1'], 'Resources', '/Resources/tabid/131/Default.aspx', '', '', '</span>', '<span>', '', '', '', '', 'rootmenuitem', 'rootmenuitemselected');m_oSPNode['132'] =new SPJSXMLNode('menuitem', '132', m_oSPNode['-1'], 'News', '/News/tabid/132/Default.aspx', '', '', '</span>', '<span>', '', '', '', '', 'rootmenuitem', 'rootmenuitemselected');m_oSPNode['133'] =new SPJSXMLNode('menuitem', '133', m_oSPNode['-1'], 'Contact', '/Contact/tabid/133/Default.aspx', '', '', '</span>', '<span>', '', '', '', '', 'rootmenuitem', 'rootmenuitemselected');spm_initMyMenu(m_oSPJSDOM_dnn_dnnSOLPARTMENU_ctldnnSOLPARTMENU, spm_getById('dnn_dnnSOLPARTMENU_ctldnnSOLPARTMENU'));delete m_oSPNode;</SCRIPT>
<script type="text/javascript">
//<![CDATA[
Sys.Application.initialize();
//]]>
</script>
</form>
NEED to add code....<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-7545812-1");
pageTracker._trackPageview();
} catch(err) {}</script>
</body>
</html>

Where do I need to go to get to this code? Any ideas?
Thank you
 
New Post
3/12/2009 6:08 PM
 

seems like someone hacked your default.aspx... very bad.


Erik van Ballegoij, Former DNN Corp. Employee and DNN Expert

DNN Blog | Twitter: @erikvb | LinkedIn: Erik van Ballegoij on LinkedIn

 
New Post
3/13/2009 4:36 AM
 

You need to add this code to the default.aspx or the ascx file of your Skin. Please create a backup first and don't modify source files w/o basic knowledge of HTML and JavaScript. 

PS: Erik, please read questions more carefully. 


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Adding a codeAdding a code


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out