conjunct
 Posts:19

| | 03/16/2007 8:49 AM |
| Hey I hope you can help me, i'm really stuck at the moment. I'm figuring out the Navmenu at the moment.
I'm trying to use the Navmenu with a certain skin. I'm skinning in HTML and XML instead of ASCX. Since I can't add ASCX tags into my HTML it won't work so I have to add tokens in my XML with certain settings. Skinning in ASCX is not an option since I don't have a Host account.
My question is: What do i add in the HTML code to use the Navmenu and what do I have to add in the XML? And how exactly does this correspond with my CSS, or in other words: which classes or id's do I need?
The Development Guide doesn't refer to HTML and XML so that was of no real help. I hope someone knows how I should do this, since I really need the Navmenu and can't skin in ASCX. Thanx in advance! | | | |
|
|
|
John Mitchell Posts:3478


| | 03/16/2007 10:17 AM |
| You can put the same code in your HTML skins as you would put in the ASCX skin.
The DNN skin parser will transfer those elements over unchanged. | | | |
|
conjunct
 Posts:19

| | 03/16/2007 3:33 PM |
| No I can't, or I'm doing something wrong. You have to configure something in the XML first, or at least something else right?
The first line <%@ Register.. etc. %> will not give me any errors. But when I put the other code in I don't get any errors in the parsing process by the way.
Could you give me an example of a HTML, CSS and XML file where the Navmenu is implemented so I can understand how I should do it?
Thanx!
| | | |
|
John Mitchell Posts:3478


| | 03/16/2007 3:43 PM |
| No, you do not need anything in the XML file that I know of. You should be able to just rename one of the .ascx files from the sample skins and give it an html extension.
I'll work up a complete example and post a link to it as soon as I can. | | | |
|
conjunct
 Posts:19

| | 03/16/2007 3:50 PM |
| Would be great!
* some tekst fell of my last reply: I meant to say i got an error that the snapsis menu id code gave an error in DN that it's not a valid tag. I cant seem to type < snapsis code here in my reply btw..
Hope to hear from you soon, thanx again. | | | |
|
John Mitchell Posts:3478


| | 03/17/2007 10:29 AM |
| Ok, I made an HTML skin with the required entries to allow the Snapsis NavMenu to be used. You can get it here | | | |
|
conjunct
 Posts:19

| | 03/18/2007 3:59 AM |
| I tried it, and it works, of course :) So a big thanx is appropriate here :)
One more question though if you don't mind.
#navHcontainer, is that ID a standard ID of the Navmenu? Because I can't find it in the HTML.
and .tablist. Standard class of DNN? | | | |
|
John Mitchell Posts:3478


| | 03/18/2007 9:29 AM |
| #navHContainer is a DIV that I placed around the Snapsis Menu for absolute positioning.
.TabList is a class that is rendered on all instances of the Snapsis NavMenu. | | | |
|
conjunct
 Posts:19

| | 03/19/2007 2:28 AM |
| Ok your skin worked. But if I copy the code into my own skin it doesn't work and it gives me the same error as before, that < snapsis:... is not a valid tag. Any idea why this happens? And yes, I did copy the CSS as well and registered the Navmenu in the top of my HTML.
I noticed you made everything in tables, which I don't do. I make everything in CSS, and I'm working in DNN 4.4.1. Logically thinking, that shouldn't be a problem actually, as long as the appropriate classes and ID's are used.
Another question. I must say the documentation on the Navmenu is VERY limited. I can't find proper documentation anywhere. The development guide covers some basis things, but all standard classes that apply to the Navmenu aren't mentioned anywhere. I couldn't find it there, or anywhere else on the internet. So if you have any documents on it, it would be very helpful. Not only to me, but to all Navmenu users. At the moment I'm not getting any further with the menu because of the error, and a lack of documentation on the menu.
I hope you can help me with it, since I'm really looking forward to working with the menu. | | | |
|
John Mitchell Posts:3478


| | 03/19/2007 7:09 AM |
| All I did was get a copy of the default DNN-Blue skin and put the Snapsis NavMenu in it. It doesn't matter if you use tables or not.
As for documentation, all the properties of the menu are documented. It produces statndard Unordered List navigation that you can find hundreds of examples for on the internet. I have also included several sample skins, and I am willing to help directly here in the support forum.
If you want to send me the skin you are having trouble with, I can identify the problem and let you know what needs to be corrected.
John | | | |
|
conjunct
 Posts:19

| | 03/19/2007 7:46 AM |
| Hi,
I know of the unordered list style the Navmenu produces. The thing is, I got kinda confused by some ID's/Classes in the skin you posted here. Like .Tablist, didn't have a clue where that one came from. Same thing with #navHContainer, which was nowhere to be found in the HTML so I figured it was a standard ID of DNN or Navmenu. And well, I didn't install the Navmenu myself, someone else at the company did it, so I don't know all the in's and out's of it, yet :) Don't get me wrong, I appreciate it alot that you're helping out here :)
Well, back ontopic. It works in your skin but the only thing that's wrong in mine is the error that DNN says < Snapsis is not a valid tag.
I'll include the skin in a zip. (I renamed it to a .jpg since i couldn't upload a Zip so you have to rename it to .zip) It's currently without the Navmenu. If you can figure out how to include it in the skin you'd be a lifesaver.
Greetings
|

| | |
|
conjunct
 Posts:19

| |
conjunct
 Posts:19

| | 03/23/2007 4:39 AM |
| Hey,
A collegue of mine figured it out. It works :) We both didn't know what the problem was, but the important thing is that it works now.
Thanx for all the help here and keep up the good work! | | | |
|