goods.php
/* 创建 html editor */
create_html_editor('goods_desc', $goods['goods_desc'])
创建编辑器的, 具体方法在 admin/includes/lib_main.php
/*** 生成编辑器
* @param string input_name 输入框名称
* @param string input_value 输入框值
*/
function create_html_editor($input_name, $input_value = '')
{
global $smarty
$editor = new FCKeditor($input_name)
$editor->BasePath = '../includes/fckeditor/'
$editor->ToolbarSet = 'Normal'
$editor->Width = '100%'
$editor->Height = '320'
$editor->Value = $input_value
$FCKeditor = $editor->CreateHtml()
$smarty->assign('FCKeditor', $FCKeditor)
}
goods_indo.dwt 输出编辑器的
<!-- 详细描述 --><table width="90%" id="detail-table" style="display:none">
<tr>
<td>{$FCKeditor}</td>
</tr>
</table>
你看看具体哪里出问题!
在收银系统的使用过程中第一步应该就是要维护自己店铺的商品信息,具体如何 *** 作,或者有没有更加快捷的方式来维护,今天以术智收银系统软件为例(各个收银软件功能上异曲同工)做个介绍。
新增商品档案:进入收银系统管家后台,点击【商品】→【商品管理】,点击"新增商品"进入商品信息维护界面。
2.点击“新增商品”按钮后,就进入商品信息维护界面,按照提示填写商品信息;第一次维护就填写带星号必选项就行,填写太多容易视觉疲劳。记得上传好商品图片,有利于区分。
3.最后点击“保存”,就完成建档了。还有一种更快捷的方法就是点击“新增商品”按钮旁边的“导入商品”按钮,下载下商品模板,填写好之后直接点击上传,就能批量维护了,更快速。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)