dedecms修改后臺編輯器參數(shù)GetEditor的方法,織夢教程
導讀:織夢教程織夢教程dedecms修改后臺編輯器參數(shù)GetEditor dedecms通過include/helpers/util.helper.php function GetE織夢模板織夢網(wǎng)站模板。
dedecms修改后臺編輯器參數(shù)GetEditor
dedecms通過include/helpers/util.helper.php
function GetEditor($fname, $fvalue, $nheight=”350″, $etype=”Badede5.7模板sic”, $gtype=”pri織夢模板nt”, $isfullpage=”FALSE”)
函數(shù)調用文本編輯器,個個參數(shù)可參考該方法的注釋信息,
* 獲取編輯器
*
* @param string $fname 表單名稱
* @param string $fvalue 如果表單中有默認值,則填入默認值
* @param string $nheight 高度
* @param string $etype 編輯器類型
織夢的模板* @param string $gtype 獲取類型
* @param string $isfullpage 是否全屏
* @return string
修改文本編輯器上面工具欄圖標格式信息,可以通過includes/ckeditor/ckeditor.inc.php
圖集編輯器太太簡單,怎么修改成和文檔發(fā)布一樣的編輯器功能,需要在/dede/templets/album_add.htm 中查找
<?php GetEditor("body","",450,"Diy"); ?>
換成:
<?php GetEditor("body",$addRow['body'],450); ?>
就可以顯示分頁符的功能了。
dede/templets/album_edit.htm 也一樣換一下。
相關織夢模板織夢網(wǎng)站模板。
聲明: 本文由我的SEOUC技術文章主頁發(fā)布于:2023-07-17 ,文章dedecms修改后臺編輯器參數(shù)GetEditor的方法,織夢教程主要講述編輯器,后臺,織夢網(wǎng)站建設源碼以及服務器配置搭建相關技術文章。轉載請保留鏈接: http://www.bifwcx.com/article/web_28553.html