admin cho mình hỏi khi mình thay style khác thì bị mất khung soạn thảo. nếu style cũ thì không sao. có cách nào khắc phúc không?
khung Post new thread đó bạn, mình tải style ios bên vietxf.com bị lỗi thế. mình vào style vao file theme thread de so sánh với cái mặt định mak không thấy sai chỗ naof^^ chỉ biết làm thế
không thấy nút chọn, Customized Style Components mình vào đây thì mới thấy revert nhung không có thread_creat
Liệu bạn có xoá nó đi ko nhỉ. Nếu ko có thì bạn tạo mới thread_create với nội dung sau: Mã: <xen:title>{xen:phrase create_thread}</xen:title> <xen:if is="{$forum.description} AND @threadListDescriptions"> <xen:description class="baseHtml">{xen:raw $forum.description}</xen:description> </xen:if> <xen:navigation> <xen:breadcrumb source="$nodeBreadCrumbs" /> </xen:navigation> <xen:container var="$head.robots"> <meta name="robots" content="noindex" /></xen:container> <xen:container var="$bodyClasses">{xen:helper nodeClasses, $nodeBreadCrumbs, $forum}</xen:container> <xen:container var="$searchBar.forum"><xen:include template="search_bar_forum_only" /></xen:container> <xen:container var="$head.pollCss"><style>.hasJs .PollNonJsInput { display: none }</style></xen:container> <form action="{xen:link 'forums/add-thread', $forum}" method="post" class="xenForm Preview AutoValidator" data-previewUrl="{xen:link 'forums/create-thread/preview', $forum}" data-redirect="on" > <xen:hook name="thread_create"> <xen:if is="{$visitor.user_id} == 0"> <dl class="ctrlUnit"> <dt><label for="ctrl_guestUsername">{xen:phrase name}:</label></dt> <dd><input type="text" name="_guestUsername" value="{$visitor.username}" class="textCtrl" /></dd> </dl> <!-- slot: after_guest --> </xen:if> <xen:include template="helper_captcha_unit" /> <fieldset> <xen:include template="title_prefix_edit"> <xen:set var="$selectedPrefix">{$thread.prefix_id}</xen:set> <xen:set var="$idSuffix">thread_create</xen:set> </xen:include> <dl class="ctrlUnit fullWidth surplusLabel"> <dt><label for="ctrl_title_thread_create">{xen:phrase title}:</label></dt> <dd><input type="text" name="title" class="textCtrl titleCtrl" id="ctrl_title_thread_create" maxlength="100" autofocus="true" placeholder="{xen:phrase thread_title}..." data-liveTitleTemplate="{xen:phrase create_thread}: <em>%s</em>" /></dd> </dl> <xen:hook name="thread_create_fields_main" params="{xen:array 'forum={$forum}'}" /> <dl class="ctrlUnit fullWidth"> <dt></dt> <dd>{xen:raw $editorTemplate}</dd> </dl> </fieldset> <!-- slot: after_editor --> <dl class="ctrlUnit submitUnit"> <dt></dt> <dd> <input type="submit" value="{xen:phrase create_thread}" accesskey="s" class="button primary" /> <xen:include template="attachment_upload_button" /> <input type="button" value="{xen:phrase post_poll}" class="button DisableOnSubmit JsOnly" id="button_post_poll") /> <input type="button" value="{xen:phrase preview}..." class="button PreviewButton JsOnly" /> </dd> </dl> <xen:if is="{$attachmentParams}"> <dl class="ctrlUnit AttachedFilesUnit"> <dt><label for="ctrl_uploader">{xen:phrase attached_files}:</label></dt> <dd><xen:include template="attachment_editor" /></dd> </dl> <!-- slot: after_attachment --> </xen:if> <xen:if is="{$visitor.user_id}"> <fieldset> <dl class="ctrlUnit"> <dt>{xen:phrase options}:</dt> <dd><ul> <li><xen:include template="helper_thread_watch_input" /></li> </ul></dd> </dl> <xen:include template="thread_fields_status" /> </fieldset> <!-- slot: after_options --> </xen:if> <xen:hook name="thread_create_fields_extra" params="{xen:array 'forum={$forum}'}" /> <div id="post_poll" style="display:none"> <h3 class="textHeading">{xen:phrase post_poll}</h3> <dl class="ctrlUnit"> <dt><label for="ctrl_poll_question">{xen:phrase question}:</label></dt> <dd><input type="text" name="poll[question]" class="textCtrl" id="ctrl_poll_question" maxlength="100" /></dd> </dl> <dl class="ctrlUnit"> <dt>{xen:phrase possible_responses}:</dt> <dd> <ul class="PollResponseContainer"> <xen:foreach loop="$pollExtraArray" value="$null"> <li class="PollNonJsInput"><input type="text" name="poll[responses][]" class="textCtrl" placeholder="{xen:phrase poll_choice}..." maxlength="100" /></li> </xen:foreach> <li><input type="text" name="poll[responses][]" class="textCtrl" placeholder="{xen:phrase poll_choice}..." maxlength="100" /></li> <li><input type="text" name="poll[responses][]" class="textCtrl" placeholder="{xen:phrase poll_choice}..." maxlength="100" /></li> </ul> <input type="button" value="{xen:phrase add_additional_response}" class="button smallButton FieldAdder JsOnly" data-source="ul.PollResponseContainer li" data-maxfields="{$xenOptions.pollMaximumResponses}" /> </dd> </dl> <!-- slot: after_poll_responses --> <dl class="ctrlUnit"> <dt></dt> <dd> <ul> <li><label for="ctrl_poll_multiple"><input type="checkbox" name="poll[multiple]" value="1" id="ctrl_poll_multiple" /> {xen:phrase allow_selection_of_multiple_responses}</label></li> <li><label for="ctrl_poll_public_votes"><input type="checkbox" name="poll[public_votes]" value="1" id="ctrl_poll_public_votes" /> {xen:phrase display_votes_publicly}</label></li> <li><label for="ctrl_poll_close"><input type="checkbox" name="poll[close]" value="1" class="Disabler" id="ctrl_poll_close" /> {xen:phrase close_this_poll_after}:</label> <ul id="ctrl_poll_close_Disabler"> <li> <input type="text" size="5" name="poll[close_length]" value="7" class="textCtrl autoSize" /> <select name="poll[close_units]" class="textCtrl autoSize"> <option value="hours">{xen:phrase hours}</option> <option value="days" selected="selected">{xen:phrase days}</option> <option value="weeks">{xen:phrase weeks}</option> <option value="months">{xen:phrase months}</option> </select> </li> </ul> </li> </ul> </dd> </dl> </xen:hook> <dl class="ctrlUnit submitUnit"> <dt></dt> <dd> <input type="submit" value="{xen:phrase create_thread}" class="button primary" /> <input type="button" value="{xen:phrase preview}..." class="button PreviewButton JsOnly" /> </dd> </dl> </div> <script>$('#button_post_poll').click(function() { $('#post_poll').slideToggle(); });</script> <input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" /> </form> <xen:comment><xen:include template="editor" /></xen:comment> Tạo template thread_create_preview với nội dung sau Mã: <div class="section"> <h3 class="subHeading">{xen:phrase preview}</h3> <div class="messageText primaryContent baseHtml">{xen:raw $messageParsed}</div> </div>
mình vào ACP>>Appearance>>Template >Tìm template thread_create vẫn có file đó nhưng không có nút revert
TMS là gì hả bạn ^^ mình cài một souce mới ròi import style vao mak vẫn bị. Chuyển về style mặc định thì không sao hết
P/S: Nguyên nhân là sử dung IOS Style bị thiếu file engage.itoggle-min.js. ai sử dung skin này thì tìm vào download về nhé