Theme ChannelPro Error

Apr 18, 2012 at 4:40 AM
Edited Apr 18, 2012 at 4:45 AM

Hi,

I am completely new to BlogEngine. 

I have just downloaded the code today and started playing around with it.
I downloaded the ChannelPro theme and selected it as the blogs theme.  When I go to my home page, I receive a compilation error:

CS0103: The name 'ThemeHelper' does not exist in the current context

I managed to open the theme selector page and change my current theme to a working one.

So how can I fix the error in ChannelPro?

Thanks in advance.

Niall

 

May 13, 2012 at 12:23 PM

Hi Niall,

Not sure if you already managed to solve this - but I found the solution.

The authors code site does appear to be down, but the ThemeHelper.cs file he is using is referenced here - http://blogengine.codeplex.com/SourceControl/network/forks/Bashadev/BlogNetEnhancementAndBugFix/changeset/view/b1581c5f08aa#BlogEngine%2fBlogEngine.NET%2fApp_Data%2fpackages%2fJQ-Mobile.1.2.3%2fcontent%2fApp_Code%2fJQ-Mobile%2fThemeHelper.cs

Just copy the code, create a new item in your App_Code dir called ThemeHelper.cs and copy the code in, should now work fine without having to adjust anything else.

Ping me if you any problems!

Sep 11, 2013 at 9:34 AM
The link is out of date, you can download the JQ-Mobile theme directly.