웹마스터 팁
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
act로 다른 페이지 보여주기
2018.07.25 03:29
샘플 :
https://eond.com/index.php?mid=eond_dentistry
https://eond.com/index.php?mid=eond_dentistry&act=about
https://eond.com/index.php?mid=eond_dentistry&act=s1
https://eond.com/index.php?mid=eond_dentistry&act=s2
하나의 레이아웃에서 act에 따라서 다른 페이지를 보여주는 코드입니다.
<!--@if($mid==='eond_dentistry' && !$act)--> <section class="visual_wrap"> <img src="img/main_vis.png" alt=""> </section> <!--@elseif($act == "about")--> <include target="inc/about.html" /> <!--@elseif($act == "s2")--> <include target="inc/s2.html" /> <!--@elseif($act == "s3")--> <include target="inc/s3.html" /> <!--@elseif($act == "s4")--> <include target="inc/s4.html" /> <!--@elseif($act == "s5")--> <include target="inc/s5.html" /> <!--@elseif($act == "s6")--> <include target="inc/s6.html" /> <!--@elseif($act == "s7")--> <include target="inc/s7.html" /> <!--@elseif($act == "s8")--> <include target="inc/s8.html" /> <!--@elseif($act == "s9")--> <include target="inc/s9.html" /> <!--@else--> {$content} <!--@end-->
출처 : https://eond.com/index.php?mid=xe_forum&page=1&document_srl=400603
댓글 1
제목 | 글쓴이 | 날짜 |
---|---|---|
EXIF 메타정보 필요하신 분 있으시면 | forest535 | 2018.04.09 |
게시판 본문읽기에서 컨텐츠 이미지와 텍스트 분리하여 출력하기 | forest535 | 2018.04.09 |
관리권한 없이도 특정그룹에게 비밀글 열람 및 댓글작성 권한 부여하는 방법 ( 부운영자등을 위해) | sejin7940 | 2018.04.26 |
[PHP] 이름 및 연락처 마스킹 처리 [1] | ppumweb | 2018.05.21 |
단축url API 사용하시는 분들... | 미스터강 | 2018.06.01 |
게시판글 엑셀 파일 보내기 php7용 | 황금날개 | 2018.06.05 |
도메인 변경 또는 설치 폴더 변경시 이미지 주소변경하기 | 해피정닷컴 | 2018.06.08 |
XE용 CKEditor v4.9.2 (다크 스킨 수정) [4] | 큰돌♡ | 2018.07.04 |
DB를 손쉽게 관리 [1] | EISOFT | 2018.07.15 |
Code-Highlighter 3.0.83 가로 스크롤바를 어디론가 보내 버리고 싶으신 분. | 달빛늑대 | 2018.07.16 |
Google 스프레드시트에서 구글 번역으로 XE 다국어 내용 만들기(Lang.xml 용도) | 달빛늑대 | 2018.07.17 |
act로 다른 페이지 보여주기 [1] | 이온디 | 2018.07.25 |
다른 서버 간 서브도메인 쿠키 공유 | 에이트 | 2018.08.04 |
썸네일 방식으로 이미지 원본 주소 가져오기 | 에이트 | 2018.08.22 |
PHP 뮤텍스 락 설치법(memcached 활용) [1] | 에이트 | 2018.09.03 |
PHP 뮤텍스 락 설치법(redis 활용) | 에이트 | 2018.09.11 |
무료 psd, html 탬플릿, 아이콘 사이트공유합니다. | 허허길드짱 | 2018.11.27 |
file 모듈 insertFile() manual_insert 시 디렉토리생성 에러 문제 해결 방법 | onTrust | 2019.01.02 |
트윗버튼, 페어스북 좋아요 버튼, 카카오스토리 좋아요 버튼 태그 | elancer | 2019.03.11 |
무료이미지 다운 받을 수 있는 곳 | elancer | 2019.03.19 |