home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
WebService and Mobile Access
Popular Plugins
MPExtended
Better looking WebMP
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Oxan" data-source="post: 938223" data-attributes="member: 97484"><p>Oh, I forgot to tell that creating a skin is a bit more complicated if you also want to change images or the HTML.</p><p></p><p>If you want to change images, you've to put a file named Web.config with the following content in your Content folder:</p><p>[code]<?xml version="1.0"?></p><p><configuration></p><p> <system.web></p><p> <httpHandlers></p><p> <add path="*" verb="*" type="System.Web.StaticFileHandler" /></p><p> </httpHandlers></p><p> </system.web></p><p></p><p> <system.webServer></p><p> <handlers></p><p> <add name="ContentHandler" path="*" verb="*" preCondition="integratedMode" type="System.Web.StaticFileHandler" /></p><p> </handlers></p><p> </system.webServer></p><p></configuration>[/code]</p><p></p><p>If you want to change the HTML (the .cshtml files), you've to put a file named Web.config with the following content in your Skin folder (e.g. Skins/BetterWebMP):</p><p>[code]<?xml version="1.0"?></p><p></p><p><configuration></p><p> <configSections></p><p> <sectionGroup name="system.web.webPages.razor" type="System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup, System.Web.WebPages.Razor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"></p><p> <section name="host" type="System.Web.WebPages.Razor.Configuration.HostSection, System.Web.WebPages.Razor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" /></p><p> <section name="pages" type="System.Web.WebPages.Razor.Configuration.RazorPagesSection, System.Web.WebPages.Razor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" /></p><p> </sectionGroup></p><p> </configSections></p><p></p><p> <system.web.webPages.razor></p><p> <host factoryType="System.Web.Mvc.MvcWebRazorHostFactory, System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /></p><p> <pages pageBaseType="System.Web.Mvc.WebViewPage"></p><p> <namespaces></p><p> <add namespace="System.Web.Mvc" /></p><p> <add namespace="System.Web.Mvc.Ajax" /></p><p> <add namespace="System.Web.Mvc.Html" /></p><p> <add namespace="System.Web.Routing" /></p><p> <add namespace="MPExtended.Applications.WebMediaPortal.Models"/></p><p> <add namespace="MPExtended.Applications.WebMediaPortal.Mvc"/></p><p> <add namespace="MPExtended.Applications.WebMediaPortal.Strings"/></p><p> </namespaces></p><p> </pages></p><p> </system.web.webPages.razor></p><p></p><p> <system.web></p><p> <pages</p><p> validateRequest="false"</p><p> pageParserFilterType="System.Web.Mvc.ViewTypeParserFilter, System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"</p><p> pageBaseType="System.Web.Mvc.ViewPage, System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"</p><p> userControlBaseType="System.Web.Mvc.ViewUserControl, System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"></p><p> <controls></p><p> <add assembly="System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" namespace="System.Web.Mvc" tagPrefix="mvc" /></p><p> </controls></p><p> </pages></p><p> </system.web></p><p></configuration>[/code]</p><p></p><p>Everything will be explained in the skinners guide, but I haven't had time for that yet <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" /></p></blockquote><p></p>
[QUOTE="Oxan, post: 938223, member: 97484"] Oh, I forgot to tell that creating a skin is a bit more complicated if you also want to change images or the HTML. If you want to change images, you've to put a file named Web.config with the following content in your Content folder: [code]<?xml version="1.0"?> <configuration> <system.web> <httpHandlers> <add path="*" verb="*" type="System.Web.StaticFileHandler" /> </httpHandlers> </system.web> <system.webServer> <handlers> <add name="ContentHandler" path="*" verb="*" preCondition="integratedMode" type="System.Web.StaticFileHandler" /> </handlers> </system.webServer> </configuration>[/code] If you want to change the HTML (the .cshtml files), you've to put a file named Web.config with the following content in your Skin folder (e.g. Skins/BetterWebMP): [code]<?xml version="1.0"?> <configuration> <configSections> <sectionGroup name="system.web.webPages.razor" type="System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup, System.Web.WebPages.Razor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"> <section name="host" type="System.Web.WebPages.Razor.Configuration.HostSection, System.Web.WebPages.Razor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" /> <section name="pages" type="System.Web.WebPages.Razor.Configuration.RazorPagesSection, System.Web.WebPages.Razor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" /> </sectionGroup> </configSections> <system.web.webPages.razor> <host factoryType="System.Web.Mvc.MvcWebRazorHostFactory, System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> <pages pageBaseType="System.Web.Mvc.WebViewPage"> <namespaces> <add namespace="System.Web.Mvc" /> <add namespace="System.Web.Mvc.Ajax" /> <add namespace="System.Web.Mvc.Html" /> <add namespace="System.Web.Routing" /> <add namespace="MPExtended.Applications.WebMediaPortal.Models"/> <add namespace="MPExtended.Applications.WebMediaPortal.Mvc"/> <add namespace="MPExtended.Applications.WebMediaPortal.Strings"/> </namespaces> </pages> </system.web.webPages.razor> <system.web> <pages validateRequest="false" pageParserFilterType="System.Web.Mvc.ViewTypeParserFilter, System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" pageBaseType="System.Web.Mvc.ViewPage, System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" userControlBaseType="System.Web.Mvc.ViewUserControl, System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"> <controls> <add assembly="System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" namespace="System.Web.Mvc" tagPrefix="mvc" /> </controls> </pages> </system.web> </configuration>[/code] Everything will be explained in the skinners guide, but I haven't had time for that yet ;) [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
WebService and Mobile Access
Popular Plugins
MPExtended
Better looking WebMP
Contact us
RSS
Top
Bottom