Pickels,
I just discussed with Jifeng, if you just remove the "c-" on the routers.config and also remove it from the preview URL at "Urls.js", it seems like will work out. The only thing to remember is that in this case, the domain you used to access the CMS and those front sites can NOT be assigned to any application any more.
Also after checking your site, we though we will give some advice on your site.
1. JavaScript files.
I see you use some JavaScript files. In our practice, we recommend to combine and compress JavaScript and CSS files before sending them to client side. For CSS, we use the theme folder. In the "BinaryResource" folder, you should find a folder name "JavaScript" as well, that is the folder we recommend to put your JavaScript files. JavaScripts in this folder will be combined and compressed, then write to client side.
In order to use the combine and compress function, be sure to check the "released version" checkbox on root system setting. Kooboo can be run on debug mode or released mode.
The JavaScript reference to google site is a good practice.
2. Image gallery
I have seen your image gallery now. It use the binary resource which is fine. Binaryresource is just like disk storage. Maybe you need to generate a thumbnail on the fly. Generating a thumbnail is very easy in .NET.
But I would also like to remind you of three other possibilities.
-- file controltype in Text Schema. When defining a schema, you can define a field with the controltype of File, then you can upload and access the fileurl just like a normal text fields. This is the best option when you can have a fixed amount of pre-definded file fields.
-- Binary schema, one text schema can contains one or more binary schema. This is more like creating a relation from text content to binary content. Binary content is linked to Text content but not a subcontent of the text content.
-- File included. When this is checked, one text content will have a upload box to upload unlimited amount of files. This can be used when amount of file attachment is not determine.
In some implementation, I have seen people using two file controltypes, one for thumbnail, one for bigger image. Depends on your situation, you can decide what is the best for you.
Regards,
Vincent
Regards,
Vincent
Kooboo Team