control file

control file

Postby Danny » Fri Jul 28, 2017 9:23 am

Hi,

Is to possible to create a new tab ino asp.netmaker -> Server Events -> Global -> All Pages -> like "Control_file" where we can put this code inside.

Now we have manually edit the control.xml everytime you update the templatefile.
Regards,
Danny
 
Posts: 115
Joined: Mon Nov 19, 2012 10:46 pm

Re: controlfile into asp.netmaker

Postby Webmaster » Fri Jul 28, 2017 10:08 am

No, note that server events are for customizing the generated code, not the template itself. What did you add into the control file? What are you try to do?
Webmaster
 
Posts: 10731
Joined: Fri Aug 06, 2004 5:59 pm

Re: control file

Postby Danny » Fri Jul 28, 2017 3:43 pm

Hi,

The code we have manually add into the control.xml:

<!-- images -->
<control type="copy" id="images" ifolder="images" ofolderid="_images" remark="Copy images"/>

<!-- Pnotify check: hxxps://sciactive.github.io/pnotify/ -->
<control ifiles="pnotify/pnotify.custom.min.js" type="copy" id="pnotify.custom.min.js" ofolderid="_js"/>
<control ifiles="pnotify/pnotify.custom.min.css" type="copy" id="pnotify.custom.min.css" ofolderid="_css"/>


Regards,
Danny
 
Posts: 115
Joined: Mon Nov 19, 2012 10:46 pm

Re: control file

Postby Webmaster » Fri Jul 28, 2017 4:33 pm

You just want to copy some files to the project folder. You can create an extension. Each extension has a control file, you can do similar things in extensions. Refer to the ckeditor extension as example.
Webmaster
 
Posts: 10731
Joined: Fri Aug 06, 2004 5:59 pm


Return to Feature Requests (ASP.NET Maker)