object(HotopayModel)#817 (23) {
["error"]=>
int(0)
["message"]=>
string(7) "success"
["variables"]=>
array(0) {
}
["httpStatusCode"]=>
int(200)
["module"]=>
string(7) "hotopay"
["module_info"]=>
NULL
["origin_module_info"]=>
NULL
["module_config"]=>
NULL
["module_path"]=>
string(52) "/home/eond/web/eond.com/public_html/modules/hotopay/"
["xml_info"]=>
NULL
["module_srl"]=>
NULL
["mid"]=>
NULL
["act"]=>
NULL
["template_path"]=>
NULL
["template_file"]=>
NULL
["layout_path"]=>
NULL
["layout_file"]=>
NULL
["edited_layout_file"]=>
NULL
["stop_proc"]=>
bool(false)
["user"]=>
object(Rhymix\Framework\Helpers\SessionHelper)#816 (20) {
["member_srl"]=>
int(0)
["user_id"]=>
NULL
["user_name"]=>
NULL
["nick_name"]=>
NULL
["email_address"]=>
NULL
["phone_number"]=>
NULL
["homepage"]=>
NULL
["blog"]=>
NULL
["birthday"]=>
NULL
["denied"]=>
NULL
["status"]=>
NULL
["is_admin"]=>
string(1) "N"
["is_site_admin"]=>
NULL
["profile_image"]=>
NULL
["image_name"]=>
NULL
["image_mark"]=>
NULL
["signature"]=>
NULL
["description"]=>
NULL
["group_list"]=>
array(0) {
}
["menu_list"]=>
array(0) {
}
}
["request"]=>
object(Rhymix\Framework\Request)#10 (13) {
["method"]=>
string(3) "GET"
["compat_method"]=>
string(3) "GET"
["url"]=>
string(21) "xe/326100/page/465436"
["hostname"]=>
string(8) "eond.com"
["domain"]=>
NULL
["protocol"]=>
string(5) "https"
["callback_function"]=>
string(0) ""
["_route_status":protected]=>
int(200)
["_route_options":protected]=>
object(stdClass)#11 (5) {
["cache_control"]=>
bool(true)
["check_csrf"]=>
bool(true)
["is_forwarded"]=>
bool(false)
["is_indexable"]=>
bool(true)
["enable_session"]=>
bool(true)
}
["module"]=>
string(5) "board"
["mid"]=>
string(2) "xe"
["act"]=>
string(16) "dispBoardContent"
["args"]=>
array(4) {
["document_srl"]=>
string(6) "326100"
["page"]=>
int(1)
["mid"]=>
string(2) "xe"
["act"]=>
string(16) "dispBoardContent"
}
}
["ajaxRequestMethod"]=>
array(2) {
[0]=>
string(6) "XMLRPC"
[1]=>
string(4) "JSON"
}
["gzhandler_enable"]=>
bool(true)
}
엄마네과일가게 홈페이지를 들어갔다가 평소 보던 XE의 404 에러 페이지와는 달라 포스팅합니다.
이런 모듈 스킨이 있는 것인지 찾아봤는데 아마도 운영자분이 직접 수정한 듯 합니다.
해당 변경 방법은 xeuser.org 사이트에도 올라와 있어 해당 본문을 스크랩하였습니다.
사이트 내에서 모듈이름을 변경하거나 삭제했을 때 변경, 삭제 이전에 검색엔진에 수집된 링크를 통해 사용자가 접근할 때 출력되는 404에러 페이지의 메시지 수정 및 홈으로 이동할 수 있는 링크를 추가해서 좀더 친절한 XE씨로 만들어 줍니다.
404에러 페이지에 출력되는 메시지의 Text는 /common/lang/lang.xml에 위치하며 item name 은 "msg_module_is_not_exists" 입니다.
lang.xml 의 Text를 직접 변경해서 사용해도 되지만 업그레이드시 매번 수정해야 하는 불편함이 따르니.. 스킨을 변경하는 방법으로 작업합니다.
수정할 파일
/modules/message/skins/default/http_status_code.html
간단하게 뒤로가기 버튼과 홈페이지 링크를 추가해 보겠습니다.
<script type="text/javascript">
function goback() {
history.go(-1);
}
</script>
<p><a href="javascript:goback();" class="e_btn"><span>뒤로가기</span></a> <a href="http://eond.com/" class="e_btn"><span>홈페이지</span></a></p>
이런 식으로 추가 작성해놓으면 404 페이지에서 뒤로가기와 홈페이지 링크가 삽입됩니다.
댓글 0
댓글작성칸으로