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

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...DDR Menu ULRazor and DNN 7.3.3DDR Menu ULRazor and DNN 7.3.3
Previous
 
Next
New Post
10/21/2014 10:04 PM
 

I'm having trouble with the ULRazor template.

I downloaded and installed the ULRazor template and specified it in a skin.

1.  First, there was an error due to:  [email protected] which I fixed by changing to li @classString

2.  Now, I am getting this compilation error:

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. 

Compiler Error Message: CS0103: The name 'Model' does not exist in the current context

Source Error:

Line 1:  @using DotNetNuke.Web.DDRMenu;
Line 2:  @{ var root = Model.Source.root; }
Line 3:  
Line 4:  @helper RenderNodes(IList<MenuNode> nodes) {


Source File: c:\inetpub\vhosts\test2.patapscoresearch.com\httpdocs\Portals\_default\Skins\AquaeHSC\menus\ULRazor\ULRazor.cshtml    Line: 2 

 

Can anyone help with this error?

Thanks in advance.




Joe Craig
Patapsco Research Group, Ellicott City, MD
DotNetNuke Development and Services (http://patapscorg.com)
 
New Post
10/21/2014 10:16 PM
 
Ah ... the answer is in the Wiki. The script should start like this:

@using DotNetNuke.Web.DDRMenu;
@using System.Dynamic;
@inherits DotNetNuke.Web.Razor.DotNetNukeWebPage
@{ var root = Model.Source.root; }


SOMEBODY NEEDS TO UPDATE THE TEMPLATES ON CODEPLEX!



Joe Craig
Patapsco Research Group, Ellicott City, MD
DotNetNuke Development and Services (http://patapscorg.com)
 
New Post
10/22/2014 4:09 AM
 
Craig,
please check support.dnnsoftware.com and make sure the issue is logged in order to get fixed.
Thank you!

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
10/22/2014 10:37 AM
 
Joe, that project is not distributed with DNN Platform so we cannot update it - I recommend logged the issue at http://dnnddrmenutemplates.codeplex.c... so the project owner (Mark) is aware of it

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
10/22/2014 11:23 AM
 
Sebastian and Cathal,

Thanks. I've not done both. And, thanks to the Wiki, I was able to diagnose and fix the problem.



Joe Craig
Patapsco Research Group, Ellicott City, MD
DotNetNuke Development and Services (http://patapscorg.com)
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...DDR Menu ULRazor and DNN 7.3.3DDR Menu ULRazor and DNN 7.3.3


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.

Content Layout

Subscribe to DNN Digest

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  


Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out