Joomla中添加新字段 自定义字段 Add New Fields
2008-09-09 11:02
453 查看
C:"Apache2.2"htdocs"joomla"administrator"components"com_content"admin.content.html.php <input class=”inputbox” type=”text” name=”title” id=”title” size=”40″ maxlength=”255″ value=”<?php echo $row->title; ?>” /> <input class=”inputbox” type=”text” name=”ceapet” id=”ceapet” size=”40″ maxlength=”255″ value=”<?php echo $row->ceapet; ?>” /> C:"Apache2.2"htdocs"joomla"administrator"components"com_content"controller.php 在$row->metadesc = $item->metadesc; 之后增加 $row->daiqianji = $item->ceapet; C:"Apache2.2"htdocs"joomla"components"com_content"models"section.php C:"Apache2.2"htdocs"joomla"components"com_content"models"category.php C:"Apache2.2"htdocs"joomla"components"com_content"models"archive.php C:"Apache2.2"htdocs"joomla"components"com_content"models"frontpage.php 在a.metadesc之后,添加字段a.ceapet C:"Apache2.2"htdocs"joomla"libraries"joomla"database"table"content.php 在var $hits = null;之后,定义变量 var $ceapet = null; C:"Apache2.2"htdocs"joomla"components"com_content"views"article"tmpl"default.php 在<?php echo $this->escape($this->article->title); ?> 附近增加<br />ceapet:<?php echo $this->escape($this->article->ceapet); ?> C:"Apache2.2"htdocs"joomla"components"com_content"views"category"tmpl"default_items.php 在<?php if ($this->params->get(’show_title’)) : ?> 附近增加 <td class=”sectiontableheader” width=”45%”> ceapet </td> <td> <?php echo $item->ceapet; ?> </td> 源:http://ceapet.com/blog/?p=338 |
相关文章推荐
- 【自定义Joomla样式】Joomla2.5 为article添加一个cssflag字段控制页面展示时引用不同的自定义css
- DedeCMS addfields 首页调用自定义字段标签代码
- dede文章addfields自定义提交表单 以及 arclist调用附加字段addfields的使用
- DedeCMS addfields 首页调用自定义字段标签代码
- 使用Fields.CreateNewField方法向SharePoint列表添加字段
- dedecms自定义字段的添加和调用方法 图文教程
- [5月28日的脚本] 在SharePoint 2010列表或者文档库中添加自定义字段
- 在Grid中,添加自定义的字段,并动态填充字段值
- dedecms栏目添加字段--栏目自定义字段
- Yii: 返回数据表中指定字段以及添加自定义字段值
- MySQL中给自定义的字段查询结果添加排名的方法
- 关于DEDECMS自定义模型当中添加自定义字段后在后台添加内容后不显示解决方案
- 自定义动态添加字段内容的库类
- dede自定义添加字段的调用
- reSIProcate添加对自定义头字段的支持
- 织梦后台添加自定义字段样式修改
- Ecshop二次开发:给商品添加自定义字段(三)
- 织梦dedecms栏目添加自定义字段
- 关于boostrapValidator动态添加字段(addField)验证的bug
- WordPress中给文章添加自定义字段及后台编辑功能区域