sns 연동시 로그인 후 처리

sns 연동시 로그인 후 처리

QA

sns 연동시 로그인 후 처리

답변 3

본문

iframe 을 사용해서 본문내용이 있습니다.

sns(카톡,페북) 연동해서 로그인은 되는데.. 

결과가..  iframe안에서.. 페이지 이동을 하는데 _top이나 전체페이지를 특정 페이지로 이동 하고 싶은데..

어디를 봐야 할까요~?

이 질문에 댓글 쓰기 :

답변 3

plugin\social\popup.php 파일을 수정해보세요.

window.opener.top.location.href = login_url+"&provider=<?php echo $provider_name; ?>";

스크립트에서..

window.top.location.href = "이동경로"; 

/board/plugin/social/includes/loading.php

 

if( window.opener )
{
 window.opener.name = "social_login";
 document.loginform.target = window.opener.name;
document.loginform.submit();
window.close();

//부모창 index로 이동 - 190925
//window.opener.parent.location.href = "../../index.htm";
window.opener.parent.location.href = "https://www.thelandkorea.com";
window.close();

}
else
{
document.loginform.submit();
}

답변을 작성하시기 전에 로그인 해주세요.
QA 내용 검색
질문등록
filter #php ×
전체 15,048
© SIRSOFT
현재 페이지 제일 처음으로