Best way to start a new skin

A place for discussion about skinning and design. Before posting questions here you should review the documentation about creating skins.

This thread is closed to new posts. You must sign in to post in the forums.
1/23/2012 6:49:38 AM
Gravatar
Total Posts 18439

Re: Best way to start a new skin

Hi Vipul,

It is possible to use up to 5 content panels and you can position the extra 2 anywhere you want in layout.master. But that won't really give a rows and columns kind of layout. For that I recommend to just use one content instance in the center panel and then do layout inside that content using content templates. Keep in mind that each content instance you add to a page is requiring additional hits to the database to get the page content so it isn't really optimal to put lots of instances on a page, it can be more efficiaent to use a single content instance and do layout inside that instance.

You can find some non-Artisteer skins in the extra-skins.zip download on our codeplex download page.

Hope that helps,

Joe

1/23/2012 7:17:06 AM
Gravatar
Total Posts 16

Re: Best way to start a new skin

Thanks for prompt reply as u always do...

i understood your answer and will see content templates.....

but right now i stuck in another situation.

i want to change menuclass in MenuAdapterSuperfish class in jquery-ui theme. so i want to create new menuadapter instead of touching existing.

i searched but can't find how to create menuadpaters for custom markups, can u please point to some documentation on it..........

Thanks again....

vipul patel

1/23/2012 7:34:47 AM
Gravatar
Total Posts 18439

Re: Best way to start a new skin

Hi,

If you are using the latest version of mojoPortal, then MenuAdapterSuperfish is deprecated and no longer used. If you look at the latest version of jQueryUI skin which uses superfish you will see the menu is configured like this in layout.master:

<portal:SiteMenu id="SiteMenu1" runat="server"
MenuSkinID="Superfish"
UseTreeView="true"
TreeViewShowExpandCollapse="false"
TreeViewExpandDepth="-1"
HideMenuOnSiteMap="false" ></portal:SiteMenu>

and the menu classes are controlled in theme.skin like this:

<portal:mojoTreeView runat="server" SkinID="Superfish"
ContainerCssClass="AspNet-Menu-Horizontal"
RootUlCssClass="sf-menu sf-navbar"
RenderLiCssClasses="true"
RenderAnchorCss="true"
LiCssClass=""
LiRootExpandableCssClass="sf-with-ul"
LiRootNonExpandableCssClass=""
LiNonRootExpnadableCssClass=""
LiSelectedCssClass="current"
LiChildSelectedCssClass="current"
LiParentSelectedCssClass=""
AnchorCssClass="inactive"
AnchorSelectedCssClass="current"

/>

This configuration is using mojoTreeView.cs and TreeViewAdapter.cs

So it is possible to control css classes easily from theme.skin

Hope that helps,

Joe

 

9/4/2012 10:48:59 AM
Gravatar
Total Posts 1

Re: Best way to start a new skin

Hi vipul,

I checked the two projects you developed using mojoportal, (http://www.trimax.in & http://www.rsrtc.rajasthan.gov.in), they are looking good.

I also started with artisteer-30verticalmenu2 theme but I want to include dropdown menu on my project and I have not been able to do that till now.

Please, how can I add dropdown menu to my sites in such a way that if an administrator add new child page to the project, its link will also be shown on dropdown menu.

I will really appreciate your response or anybody that could help as soon as possible.

Thanks in advance.

phemmy

You must sign in to post in the forums. This thread is closed to new posts.