SyntaxHighlighter: issue with themes

Topics: ASP.NET 2.0, Themes
Dec 10, 2012 at 2:11 PM

Hello colleagues!

I have two issues with syntax highlighter:

1. Since I switched to 'DbBlogProvider' in web.config some of the themes for SyntaxHighlighter are disappeared (the values in xml file and database are different), can somebody suggest how I can update database values to make it work (or there is more easiest way)?

2. By some reason SyntaxHighlighter page (in settings) looks different on the web than on my local IIS; i.e. locally I see 'Options -> Brushes -> Themes', but in the web they change the order, ie: ' Brushes -> Themes->Options'. The CSS stylesheets are the same. Any suggestions?

Dec 11, 2012 at 8:38 AM

Ок. I have fixed both issues at once. Here is my worlaround:

1. First of all I have noticed that field 'Settings' in table 'DataStoreSettings' has different datatype (text instead of nvarchar(max)). Don't know why - probably update issue. So, I have dropped this table and create it again. After reloading data to this table (I've switched blogProvider in the web.config to xml and after page reload back to db provider). The table has been filled out by xml data.

2. Data reload has also fixed the issue with page view.