Enable "page icon function" in the 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/18/2010 3:58:57 PM
Gravatar
Total Posts 251

Re: Enable "page icon function" in the skin?

i do not understand how the cms decides to show the "choose icon" dialog, or to generate the code to embed images (the page icons are nowhere in the code, not just hidden)

1/24/2010 10:23:25 AM
Gravatar
Total Posts 251

Re: Enable "page icon function" in the skin?

ok, i am understanding how the menu and theming works

i enabled the icon selection on mitchinson-earthy, and i saw that icons on a jquery superfish menu are possible

but, if this is set:

<portal:SiteMenu id="SiteMenu1" runat="server"
UseTreeView="false" HideMenuOnSiteMap="false" UseSuperfish="true"
Direction="Horizontal" TopLevelOnly="false"></portal:SiteMenu>

the generated html does not have the img tags, while if i set it to false, it has it

ok, so i watched in the source,

private void RenderMenu()
{
Menu menu;
if (this.useSuperfish)
{
if (this.direction == "Vertical")
{
menu = new mojoMenuSuperfishVertical();
}
else
{
menu = new mojoMenuSuperfish();
}

so i have to look and edit the mojoMenuSuperfish function, right?

It is not an optimal solution to manually edit and recompile the code by myself (expecially because i am a lousy c# coder), there isn't an easier way to do that?

thanks

1/24/2010 1:44:12 PM
Gravatar
Total Posts 18439

Re: Enable "page icon function" in the skin?

I looked into this today and fixed the issue so it can work with superfish, it will be fixed in the next release.

Best,

Joe

1/24/2010 1:59:02 PM
Gravatar
Total Posts 251

Re: Enable "page icon function" in the skin?

awesome!

crying for happiness ;(

1/25/2010 5:31:46 PM
Gravatar
Total Posts 125

Re: Enable "page icon function" in the skin?

Since I updated to this new version, which support the image in superfish menu. My superfish "Home" menu show a home image icon ( src="Data/SiteImages/FeatureIcons/home.gif"). How can i get rid of this icon? It breaks my meun layout.

1/26/2010 2:03:00 AM
Gravatar
Total Posts 251

Re: Enable "page icon function" in the skin?

You use the SVN version? That function is not yet enabled in the release version

By the way, in to the "page settings", under the page URL, there is the icon selection. Choose "no icon" and you are done

(text can change from what i said, as my mojoportal installation is not in english)

1/26/2010 2:15:16 AM
Gravatar
Total Posts 125

Re: Enable "page icon function" in the skin?

I was using the svn version. Unfortunately I cannot find the icon selection in the page setting. I rememered there was a such selection to choose a icon some time ago, but I really cannot find it in this version.

1/26/2010 2:20:04 AM
Gravatar
Total Posts 251

Re: Enable "page icon function" in the skin?

oh, that is because your style.css is set to hide that function

so, i think you have to go in the database, table mp_pages and put blank.gif in the row MenuImage (otherwise you will have a missing image)

1/26/2010 1:55:34 PM
Gravatar
Total Posts 125

Re: Enable "page icon function" in the skin?

Thanks,

I changed home.gif to blank.gif in the table and problem solved.

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