웹마스터 팁
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
제목 | 글쓴이 | 날짜 |
---|---|---|
최신이미지 추출시 사진 아래 내용들 중간 정돈 방법 [4] | 팔공산 | 2007.08.23 |
상단메뉴 개수를 지정한 만큼만 보여주고자 할 경우 [9] | 똑디 | 2007.08.23 |
여러 개의 메뉴를 달아보자! [5] | 고라리 | 2007.08.23 |
제로보드 관리자 레벨이 관리자 레벨로 안나올때 [5] | 나무넷 | 2007.08.23 |
위지웍에디터가 갑자기 작동을 안할때 | 팔공산 | 2007.08.23 |
w3c.org의 웹페이지 유효성 검사기 | 바람처럼831 | 2007.08.24 |
(달력/Archive 문제해결법) 날짜로 검색하는 것이 제대로 안될때 [8] | 베니 | 2007.08.25 |
확장변수 [2] | 다케루 | 2007.08.25 |
0.1.1 패치하시면 가입시 기본 회원 그룹 선택해야해요. [2] | 다케루 | 2007.08.26 |
로그인 불가 - APM 관리자일 때 (일반적인 경우 아님) [3] | Sx3 | 2007.08.26 |
플래쉬 화일을 헤더와 푸터에 넣어보기 [11] | choi2007 | 2007.08.27 |
분류(카테고리) 색상 지정하기. [12] | 송암 | 2007.08.27 |
올블로그에서 제로보드가 깨질때.. [1] | 스컬리지금어디야 | 2007.08.27 |
홈페이지에 게시판을 iframe, include로 이용하시는분들 | 느까끼 | 2007.08.27 |
썸네일 크기 줄이는 법 [6] | 느까끼 | 2007.08.27 |
템플릿 컴파일 파일 지우기 귀찮을때 [1] | 젬스송 | 2007.08.28 |
최신댓글에 닉네임 출력하기... [5] | 똑디 | 2007.08.28 |
템플릿 파일에서 일반 PHP 코드 사용 [3] | 화니군 | 2007.08.28 |
게시판 분류(카테고리)를 텍스트&이미지로 나열 하기 [11] | Simulz | 2007.08.29 |
xe_layout 을 자신의 웹 첫화면과 연결 [2] | justrue | 2007.08.29 |
허영호 치과 좌우측 스코롤 레이어가 잘려서나와요.