Page 1 of 1

control file

Posted: Fri Jul 28, 2017 9:23 am
by Danny

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,


Re: controlfile into asp.netmaker

Posted: Fri Jul 28, 2017 10:08 am
by Webmaster

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?


Re: control file

Posted: Fri Jul 28, 2017 3:43 pm
by Danny

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,


Re: control file

Posted: Fri Jul 28, 2017 4:33 pm
by Webmaster

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.