FTP에서 files폴더의 권한을 바꿀 수가 없으면 이렇게 해보세요 --------------------------------------------- <?php @exec('chmod -R '.$type.' ./files'); echo "ok ".$type; ?> -------------------------------...
팁/튜토리얼 팁
시리즈 연재 환영합니다.^^
Slack을 사이트에 붙일 수 있는 위젯입니다. 채팅서버는 Slack서버를 사용하니까 별도로 필요하지않습니다. 현재 XE타운의 채팅위젯으로 사용하고 있습니다. 베타버전입니다. 버그신고는 댓글로 해주세요. 많이 부족...

게시판 리스트(list.html) 하단에 보면 쓰기버튼이 있는데 권한이 없을 시에는 message.html로 넘어가서 '권한이 없습니다' 라는 페이지가 나오는데 이렇게 안내 페이지로 넘어가지 않고 경고창만으로 띄우는 것입니...

정의 위치 ./classes/file/FileHandler.class.php 정의 내용 /** * Returns the content of the file * * @param string $filename Path of target file * @return string The content of the file. If target file d...
정의 위치 ./classes/file/FileHandler.class.php 정의 내용 /** * Changes path of target file, directory into absolute path * * @param string $source path to change into absolute path * @return string Abs...
공개해주신 본문의 애드온을 수정/변형해서 000_000 형태로 닉네임을 치환할 수 있는 애드온으로 만들었습니다. 수정한 애드온은 설치 경로가 ./addons/anonymous_biology/ 입니다. 본문 애드온과 같이 회원제 익명 ...
글쓴이 클릭시 회원정보 등 노출 안하게 하고 싶습니다 그러나 관리자에게는 보이게 하고 싶습니다. ---방법1----------------------------------------------------- xe - modules - member - member.model.php 열고...
설문조사 투표하기 그림2) 이번엔 설문조사 투표하기를 통하여 트리거를 만들어보기로 합니다. 그리고 본 소스는 일반 자바스크립트, Jquery OOP(Object Oriented Programming), JAF(JavaScript Application Framewor...

들어가기전에 이펀 4편은 트리거가 없는 대상도 트리거를 처리할 수 있도록 하는 방법을 소개합니다. 모든 요소의 처리에 이 방법이 다 사용가능한건 아니지만 대체적으로 입력과정에 사용되는 폼 위주의 처리는 이 ...

글 삭제 시 저장한 정보를 삭제하기 function moduleInstall() { $oModuleController = &getController('module'); $oModuleController->insertTrigger('document.deleteDocument', 'triggersample', 'controller', '...
들어가기전에 이번 3편은 예제 위주의 소개가 되기 때문에 특별한 설명보다는 다양한 예제를 중점적으로 소개하겠습니다. 그리고 트리거가 없는 대상의 경우는 조금 부연설명과 함께 소개하도록 하겠습니다. 본 예제...
정의 위치 ./classes/context/Context.class.php 정의 내용 /** * Load language file according to language type * * @param string $path Path of the language file * @return void */ function loadLang($path) ...
정의 위치 ./classes/context/Context.class.php 정의 내용 /** * Add the meta tag * * @param string $name name of meta tag * @param string $content content of meta tag * @param mixed $is_http_equiv value ...
정의 위치 ./classes/context/Context.class.php 정의 내용 /** * Add html code before </head> * * @param string $header add html code before </head>. * @return void */ function addHtmlHeader($header) { is...
해당내용은 "본문에서 작성자 글 모아서 보여주기" 팁과 https://xe1.xpressengine.com/qna/22882505게시물에서 BJ람보님의 팁을 합친 것입니다. [ 수정위치 ] 스케치북5 스킨을 기준으로는 /modules/board/skins/ske...
{@ $args->more_point = 1; $args->document_srl = $document_srl; $output = executeQueryArray('document.getVotedMemberList',$args); } <div cond="$output->data"> <span loop="$output->data=>$key,$val"> {@ $...
/addons/point_level_icon/point_level_icon.lib.php <?php /** * @brief Function to change point icon. **/ function pointLevelIconTrans($matches) { $member_srl = $matches[3]; if($member_srl<1) return $mat...
크롬 개발자모드로 확인해보니 css에서 문제가 있는걸로 확인됩니다. ./modules/editor/styles/default 폴더로 가서 editor.css를 열어줍니다. 앞에서 봤던 코드가 보이죠? 본인의 웹사이트게 맞는 크기의 폰트크기로...
document.item.php // If not exists, file an image file from the content if(!$source_file) { $content = $this->get('content'); $target_src = null; preg_match_all('/<\s*img[^>]*src\s*=\s*["\']?([^"\']*)/...