https://calvinsnax.com/notice/38953

우선 본 글에 있는 시아님의 댓글을 참조했음을 알려드립니다.

https://xetown.com/tips/460899

본 게시판 스킨을 기준함을 알려드립니다.

 

https://github.com/bjrambo/xe-sticker

일단 스티커 모듈을 해당 모듈로 교체한후

 

<form method="post" class="x_form-horizontal">


스티커 모듈 /tpl 폴더 안에 config.html 에 있는 form 이부분을

 

<form action="/" method="post" class="x_form-horizontal">

 

이렇게 바꿔주시고요

 

스킨 /js 폴더안에 sticker.js 파일에 

 

for(i in sticker){

html += '<li class="sticker_image">';
html += '<a href="javascript:;" onclick="loadSticker('+sticker[i].sticker_srl+', '+(parent_srl ? parent_srl : 'false') +', '+(comment_srl ? comment_srl : 'false')+');">'
html += '<div title="'+sticker[i].title+'">';
html += '<img src="'+sticker[i].main_image+'" width="30" height="30">';
html += "</div>";
html += '</a>';
html += "</li>";

}

 

위 부분을

 

for(i in sticker){
            if (sticker[i].sticker_srl) {

html += '<li class="sticker_image">';
html += '<a href="javascript:;" onclick="loadSticker('+sticker[i].sticker_srl+', '+(parent_srl ? parent_srl : 'false') +', '+(comment_srl ? comment_srl : 'false')+');">'
html += '<div title="'+sticker[i].title+'">';
html += '<img src="'+sticker[i].main_image+'" width="30" height="30">';
html += "</div>";
html += '</a>';
html += "</li>";

            }
}

 

이렇게 바꿔주시면 작동합니다!

 

다시 한번 https://calvinsnax.com/notice/38953 이 글의 시아님께 감사드립니다.

  • profile
    감사합니다 오픈정신에 맞게 노하우를 공유하는 분들 덕분에 라이믹스가 오늘도 더 발전하는 듯 합니다