DNN 모듈을 만들고이 모듈을 기반으로 작동하는 모듈이 http://www.subodh.com/Projects/DNN-Module입니다.DNN 모듈 패키지가 컨트롤을 설치하지 않습니다.
DNN 5.6.2 설치시 설치시 .ascx 파일이 복사되지 않는다는 점을 제외하고는 모든 것이 잘 작동합니다. .ascx 파일을 수동으로 복사하면 모듈이 정상적으로 작동합니다.
내 .dnn 파일은 다음과 같습니다 :
...
<moduleDefinitions>
<moduleDefinition>
<friendlyName>SignUp.Control1</friendlyName>
<defaultCacheTime>0</defaultCacheTime>
<moduleControls>
<moduleControl>
<controlKey />
<controlSrc>Control1.ascx/Control1.ascx</controlSrc>
<supportsPartialRendering>True</supportsPartialRendering>
<controlTitle>Control1</controlTitle>
<controlType>View</controlType>
<iconFile />
<helpUrl />
<viewOrder>0</viewOrder>
</moduleControl>
...
</moduleControls>
</moduleDefinition>
</moduleDefinitions>
...
는 특히, Control1.ascx는 DesktopModules/가입 디렉토리에 복사되지 않습니다.
오류가 발생하지 않습니다. 다음은 모듈을 설치할 때 DNN이 말하는 관련 섹션입니다. 설치시 오류가 없습니다.
...
Info Component installed successfully - Script
Info Starting Installation - Module
Info Module registered successfully - SignUp
Info Component installed successfully - Module
Info Starting Installation - Assembly
...
컨트롤이 적절한 디렉토리로 복사되지 않는 이유는 누구에게 말해 줄 수 있습니까?
감사합니다. 또한
<component type="File">
<files>
<file>
<path>Your Desire Path</path>
<name>Control1.ascx</name>
</file>
</files>
</component>
고마워요! 컨트롤을 등록하고 파일을 이동해야합니다. –