라이믹스(XE)의 쪽지보내기 창에 파일첨부를 할 수있는 방법이 없을까요?

 

에디터는 활성화되어 있는데, 파일 첨부 부분이 없네요...

  • ?
    파일 첨부 기능을 활성화시키면 파일 첨부는 가능합니다.
    다만, 에디터 모듈이 Document 모듈에 종속되어 있어서 파일 첨부 기능을 이식시키기 어렵더라고요.
  • ? ?
    이런 부분은 제작 의뢰를 통해서만 해결이 가능한 부분일까요? ㅠㅠ

    다른 CMS들은 기본 지원하는 것 같던데...
  • ? ?

    communication 모듈을 수정하면 파일 첨부 기능을 활성화할 수는 있습니다.

     

    // set a signiture by calling getEditor of the editor module
    $oEditorModel = getModel('editor');
    $option = new stdClass();
    $option->primary_key_name = 'receiver_srl';
    $option->content_key_name = 'content';
    $option->allow_fileupload = FALSE;
    $option->enable_autosave = FALSE;
    $option->enable_default_component = TRUE; // FALSE;
    $option->enable_component = FALSE;
    $option->resizable = FALSE;
    $option->disable_html = TRUE;
    $option->height = 300;
    $option->skin = $this->communication_config->editor_skin;
    $option->colorset = $this->communication_config->editor_colorset;
    $editor = $oEditorModel->getEditor($logged_info->member_srl, $option);
    Context::set('editor', $editor);

     

    $option->allow_fileupload = FALSE; 를

    $option->allow_fileupload = TRUE; 로 바꾸면 됩니다.

     

    단, 쪽지 보내기를 통해 첨부하는 경우 대기 상태로 파일이 업로드 되기 때문에, 쓰레기 파일이 많이 쌓일 가능성이 높습니다.

  • ? ?

    도움 감사드립니다.

    그런데 이상하게 파일첨부를 활성화 시키면 다른 사람에게 보낸 쪽지가 자기 자신에게 와 버리는군요... ㅠ_ㅠ

     

    코어쪽이 업데이트 될 때까지는 그냥 포기하고 있어야 될 것 같습니다 ㅎㅎ