
할인상품출력 아래로 몇개를 더 늘리고 싶은데요.
이 설정화면은 어느파일을 수정해야 하나요?
itemform.php 추가
Copy
<input type="checkbox" name="it_type6" value="1" <?php echo ($it['it_type6'] ? "checked" : ""); ?> id="it_type6"> <label for="it_type6">메인1 <img src="<?php echo G5_SHOP_URL; ?>/img/icon_discount.gif" alt=""></label>
configform.php 추가
Copy
<tr> <th scope="row">메인테스트상품출력</th> <td> <label for="de_type6_list_use">출력</label> <input type="checkbox" name="de_type6_list_use" value="1" id="de_type6_list_use" <?php echo $default['de_type6_list_use']?"checked":""; ?>> <label for="de_type6_list_skin">스킨</label> <select name="de_type6_list_skin" id="de_type6_list_skin"> <?php echo get_list_skin_options("^main.[0-9]+\.skin\.php", G5_SHOP_SKIN_PATH, $default['de_type6_list_skin']); ?> </select> <label for="de_type6_list_mod">1줄당 이미지 수</label> <input type="text" name="de_type6_list_mod" value="<?php echo $default['de_type6_list_mod']; ?>" id="de_type6_list_mod" class="frm_input" size="3"> <label for="de_type6_list_row">출력할 줄 수</label> <input type="text" name="de_type6_list_row" value="<?php echo $default['de_type6_list_row']; ?>" id="de_type6_list_row" class="frm_input" size="3"> <label for="de_type6_img_width">이미지 폭</label> <input type="text" name="de_type6_img_width" value="<?php echo $default['de_type6_img_width']; ?>" id="de_type6_img_width" class="frm_input" size="3"> <label for="de_type6_img_height">이미지 높이</label> <input type="text" name="de_type6_img_height" value="<?php echo $default['de_type6_img_height']; ?>" id="de_type6_img_height" class="frm_input" size="3"> </td> </tr>
이렇게 2군데 타입을 추가했습니다.
그런데 적용이 안되네요.
체크하고 저장하면 체크가 풀리고 입력한 사이즈등이 빈칸이 됩니다.
|
답변 2개 / 댓글 2개
채택된 답변
+20 포인트
11년 전
db도 늘리셔야되고
update.php 관련해서도 수정해야합니다.
답변에 대한 댓글 1개
블랙앤화이트
11년 전
11년 전
네 위에 다른 상품출력과 같은 형태로 db를 생성하시면 될거같습니다.
답변에 대한 댓글 1개
답변을 작성하려면 로그인이 필요합니다.
db를 늘리는게 phpmyadmin에 들어가서 늘리는건가요?