Q&A

안녕하세요.

스케치북 게시판 추천 비추천 공간에 스크랩 버튼과 친구 등록 버튼을 추가 하려고 합니다.

2015-11-23 17;24;21.PNG

 

 

스크랩 버튼은 아래와 같이 추가 했는데 친구 등록 버튼은 링크를 어떻게 걸어야 할지 찾질 못하겠네요.

혹시 아시느 분 계시면 도움 말씀 좀 부탁드립니다.

 

스크랩 버튼 [ 해결 ]

<a href="#" class="bd_login"  onclick="doCallModuleAction('document','procMemberScrapDocument','{$oDocument->document_srl}')" >
            <b><i class="fa fa-paperclip"></i></b>
            <span>{$lang->cmd_scrap}</span>
            </a>

마트몬 Lv. 8

댓글 4

  • 친구등록 액션의 주소를 보니 dispCommunicationAddFriend
    이런걸 쓰고 있는데요. 혹시 요거로 교체하면 동작하지 않을까요?
  • @웹지기

    답변 감사합니다. 

     

    <a href="#" class="blamed declare bd_login" onclick="doCallModuleAction('document','dispCommunicationAddFriend','{$oDocument->document_srl}')">

    이렇게 수정을 하는게 맞을까요 ? 링크를 걸고 테스트 를 해보면 잘못된 요청이라고 뜹니다 .^^;;

  • dispCommunicationAddFriend 요거일거에요~
  • @skyo

    답변 감사합니다. 

     

    <a href="#" class="blamed declare bd_login" onclick="doCallModuleAction('document','dispCommunicationAddFriend','{$oDocument->document_srl}')">

    이렇게 수정을 하는게 맞을까요 ? 링크를 걸고 테스트 를 해보면 잘못된 요청이라고 뜹니다 .^^;;