Menu Buttons just showing as text

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
10/30/2012 2:59:23 PM
Gravatar
Total Posts 6

Menu Buttons just showing as text

I am having a little problem with my development installation of Mojoportal.

When I run this on my development machine (Win 7/64bit) on either the integrated IIS server with Visual Studio 2010 or IIS7.5.

I get this weird issue where the Menu bar buttons only show up as text vertically.

This happens on all skins that get selected, the base ones and any new ones that I have created.

Here is a link so a screenshot of what exactly is happening http://postimage.org/image/pdjb2s1yd/

Has anyone seen this before? or have any suggestions on how to fix this?

 

(FYI, i have rebuilt the development computer and database installation a couple of times without any luck)

Thanks

Brian

10/31/2012 8:33:03 AM
Gravatar
Total Posts 6

Re: Menu Buttons just showing as text

I have figured this out. Here is an extended explanation just in case someone else comes across this issue.

Within the wwwroot folder there is a .NET folder called "App_Themes", then within that folder there are normally 2 additional folders "default" and/or "pageskin". In each of those folders is a file called "theme.skin", This file is not updating properly from your skin.

At this point you will want to navigate to the your skin's folder which is normally located in the "wwwroot/data/skin/<skin folder>" or "wwwroot/data/sites/<site number>/skin/<skin folder>". Within the skin's folder should be a theme.skin file. We need to overwrite the "theme.skin" file in the "default" and/or "pageskin" folders with the one within the skin's folder.

After overwriting the theme.skin file, the theme should be showing properly, if it is still not, then there are additional issues that could be with the style sheet/location of the picture files/etc.

 

If there are any additional tips anyone has for this, go ahead and add an additional post here.

 

10/31/2012 8:41:21 AM
Gravatar
Total Posts 18439

Re: Menu Buttons just showing as text

Hi,

Please see the notes at the bottom of the article Understanding the theme.skin file. The only time the theme.skin files from the /App_Themes folder are used is when running under .NET 3.5 medium trust hosting, under .NET 4 or .NET 3.5 Full Trust the theme.skin file is loaded from the skin folder located at /Data/Sites/[SiteID]/skins/[skinname]

/Data/skins is just the catalog of skins, it is not used by any sites but when a new site is created the skins from there are copied to the site specific skin folder.

Hope that helps,

Joe

10/31/2012 8:54:25 AM
Gravatar
Total Posts 6

Re: Menu Buttons just showing as text

Hi Joe,

I'm running my development machine under .net 4 and I still needed to refresh the "App_Theme/default" in order for the problem to go away. I think that it doesn't always load from "/Data/Sites/[SiteID]/skins/[skinname]/".

Thanks for the points

Brian

10/31/2012 9:32:56 AM
Gravatar
Total Posts 18439

Re: Menu Buttons just showing as text

My guess is that you are using the pre-compiled deployment files instead of the source code, then when you compile it again in VS it treats it as a web site project instead of a web app project and Virtual Path Providers don't work in Web Site Project so it fails to load the theme.skin from the skin folder.

See Understanding the Difference Between Deployment files and Source Code

Hope that helps,

Joe

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