Documentation Results for 'template'
Loading...
Archived Forum Results for 'template'
-
Posted by spookytooth on Saturday, July 14, 2007Yep - you can override our templates: http://subsonicproject.com/view/custom-templates.aspx
-
Posted by datacop on Thursday, December 07, 2006I'd like to see
-
Posted by fevster on Sunday, June 10, 2007Hi, I've been trying for ages to use a custom template for the CS_ODSController template. I've set the template directory up and pointed the provider to it using the te
-
Posted by subdigital on Friday, July 20, 2007I updated to 2.0.3 and tried again with the default templa
-
Posted by datacop on Monday, November 06, 2006In order to use text file templates, you need to strip out all the templates from the resource file. For example, create a folder say "C:\Subsonic\Templates", then open up the resource file and create a blank text file for each resource listed, with the same name as the resource name. For example, the Scaffold resource template fiel would be "Scaffold.txt". Then, you need to open each of the text files and copy and paste that resources template data into the text file, matching resource name with text file name. Finally, in the SubSonicService section of your web.config, set the TemplateDirectory option to the full physical path of the template directiory you created in the first step. -or- You can create a new resource in the resource file named ODSController, and copy the contents of the ODSController file into the new resources data section, compile and run. Scripting the resou
-
Posted by yitzchok on Thursday, July 31, 2008There is not clean way of doing this you can check out how the other templates are generated and then add in your template.
-
Posted by yitzchok on Tuesday, November 04, 2008Maybe checkN:\DATIS\CommonDLLs\Templates for Non Host-specific\ there might be something wrong with the template you have in that folder.
-
Posted by Tirtohadi on Thursday, March 29, 2007It is because the template at the Dev\Code Template folder is not correct. If the templateDirectory is not set, the DLL will use template from Resources.Resx which contain the correct code. Need to wait for the templates to be updated by the team.
-
Posted by cmccarrick on Wednesday, May 02, 2007You should be able to modify the code in the templates directory to change t
-
Posted by canofunk on Thursday, June 14, 2007So the classes generate with your customizations, but the scaffolds do not?The Scaffolds should be subject to the same rules as