Quick Nav:  Online Store   |   Login | Register

First Steps and Changing the housemenu for the snapsis menu!

Rate this topic:

Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
AuthorMessages
jvcarvalho
<50 Posts
Posts:23


01/21/2008 9:41 AM  

Hello..

I'm new in dotnetnuke and I already bouth the snapsis menu, and added to my moduals, but i'm a little confuse how to use.. I saw that i need add two lines of code to my html, but well.. my website is using the housemenu, and i want change for the snapsis menu.. i'm really confuse.. someone can give me a help? And explain what i need change, what is the steps, to i put the snapsis menu in my website? I'm also confuse about the token in the html file and the configurations for the xml file..

The url for my website is this here.

In the website, i want keep the same idea of the tabs for the mainmenu and submenu horizontal, and keep also the vertical menu that wil conserve with the same style. What i want to do, is change the style of the mainmenu and submenu, because you can see that the mainmenu show a bottom-border in the internet explorer, that i would like to remove, and also i want give a better aspect to the main menu and submenu with some gradient.

And more one thing, because i'm using the housemenu, i losted the solpartmenu actions for the admin section, and would like to change this for a dropdown menu like the solpart one. In the dnn creative i asked about this, and leeskykes told me that the snapsis package come with a special dropdown list menu just for the admin and host menus which I can place in my skin as a token, i would like to know how do that.

Best Regards,

Jorge

 

 

John Mitchell
Posts:3238


01/21/2008 9:48 AM  

Hi Jorge,

There are several sample skins in the package that have the code you need to use.

Look in the sample skins for those two lines you mentioned from the documentation to see how they configure the menu with the different properties. 

The Admin/Host menu is a special Type called "SelectList".

I don't know enough about the housemenu to tell you the exact steps, but you should find that the CSS used to do the styles is very simular.

 

jvcarvalho
<50 Posts
Posts:23


01/21/2008 10:19 AM  

Thanks John,

I will have a look in the files in the skins that comes with the snapsis.. but how i use the "SelectList" in my containers?

Thanks again,

Jorge

John Mitchell
Posts:3238


01/21/2008 10:44 AM  

Oh, the Snapsis menu does not replace the solpart action menu in containers.

You should still be able to use either a dropdown actions token or the default solpart actions in your containers.

 

jvcarvalho
<50 Posts
Posts:23


01/22/2008 9:39 AM  

Hello again.

I had a look in some of the examples that comes with the sinapsis.. and the one that i want integrate in my website is this one here. So, i try put the code of this navigation in my code, but the website return a error, so i tryed install the skin package directly to my website and again returns this error: "A critical error has occurred. Object reference not set to an instance of an object." Can you give me a help? And please tell me how can i put this in my code.. if i need change something.. well, i really dont know..

Thanks

Jorge

jvcarvalho
<50 Posts
Posts:23


01/22/2008 9:41 AM  
I need make some change in the xml file!?
John Mitchell
Posts:3238


01/22/2008 10:26 PM  

Hi Jorge,

It's easiest to just work directly with the .ascx skin and not use the html or xml files.

You can put the required settings directly in either one though, you don't need to change the skin.xml file.

If you want, you can attach your skin here, or reply to this notification directly with your skin as an attachment and I'll put the code in the skin for you.

jvcarvalho
<50 Posts
Posts:23


01/23/2008 4:15 AM  

Ok, i attached my skin..

And now i undestand that i dont need of the xml file.. but anyway after you posted i tryed put that code in the html and also i tryed with the ascx file.. but without results..

What i want to do, is created a menu with tabs.. using that system of the sliding doors.. so, if you can have a look in my skin, and also tell me what i need to create the code for the tabs.. i will stay very gratefull..

Thanks a lot..

Jorge


Attachment: 1123154335971.zip

jvcarvalho
<50 Posts
Posts:23


01/23/2008 4:50 AM  
I also tryed install the skin that comes with the snapsis package and also ocurred the same error:
"Object Reference not set to an instance of an object" . So, i dont think so, that will be a problem with the code but other some thing.. that i really dont know.. will let me crazy!..
Thanks
John Mitchell
Posts:3238


01/23/2008 3:22 PM  

Ok, I have added the snapsis menu to the Home.htm and Home.ascx (which is the home.htm after the skin is parsed).

As you can see by looking in the files, instead of using the tokens, I just put the control code in there directly.

I also changed the skin.css file to reflect the new names "ParentTabs" and "ChildTabs".

You may need to play with the CSS a little, but it is working.

If you still get the object reference error then you need to make sure that you have the Snapsis.DNN.NavMenu.dll file in your /bin folder.


Attachment: 1123224763271.zip

jvcarvalho
<50 Posts
Posts:23


01/24/2008 3:04 AM  
Hello.. i tryed with the file that you changed and show me the same error. And i have a look in the bin folder and the file is there. So, i dont know what to do, can you give a help? what more can be the problem!?

Thanks

Jorge
John Mitchell
Posts:3238


01/24/2008 9:23 AM  
Did you get the error on the "Home" skin? I didn't change the others, so they still use the HouseMenu and you may not have the HouseMenu installed anymore.
jvcarvalho
<50 Posts
Posts:23


01/25/2008 5:18 AM  
Yes.. in the home skin. And how i tryed before uinstall the HouseMenu and i saw that the error keep showing, i re-install the HouseMenu.. so, i dont think so that is some problem with the HouseMenu.. what i was looking, is that the snapsis doesnt come with an ascx file, isnt? So when i go in the module definitions, and in the skin objects.. in the Control Snapsis-NavMenu, and i click to edit the module control, in the source how the snapsis dont come with a ascx file, the source put the first source that the list apresents.. that is an announcements module.. and i cant find the snapsis in this list, because the snapsis doesnt come with a ascx file.. (and i think that doesnt come because the snapsis doesnt need of the xml file, so i think that it doesnt need the ascx file, am i right?) What i think is that the problem is not in the code of the pages, but in some incompatibility..
Well, i'm really confuse, i tryed a lot of differents ways, but still showing this error.. do you have more some ideas of what is happening, and how can i fix this!?

Thanks a lot.

Jorge Carvalho
John Mitchell
Posts:3238


01/25/2008 5:27 AM  
That is correct. The Snapsis NavMenu does not have a .ascx control.
If you have changed the Module Definition while you were on looking at it in the Skin Objects then that may be your problem.

You might want to try un-installing the Snapsis NavMenu and then re-installing.

If you want, you can give me access to our site and I can set it up for you.
Reply to the notification from this post to contact me directly.
jvcarvalho
<50 Posts
Posts:23


01/25/2008 9:34 AM  
Hello.. Today i discover the problem..
Its because i'm using the Business Edge version 1. And the person that help me to find out the problem tell me that the version 2 was having some problems with the snapsis.. So, well, version 1.. i will upgrade to the version 3, and see what happens, but problably will work fine.. anyway after the upgrade i post here something..

But, really thank you very much..

Jorge

John Mitchell
Posts:3238


01/25/2008 10:25 AM  
Thanks for letting me know Jorge. That's not something I would have expected.
Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
Forums >Snapsis Product Support >CSS NavMenu > First Steps and Changing the housemenu for the snapsis menu!



ActiveForums 3.7
Powered by: Snapsis Software