主题 : 在:栏目管理-修改,栏目模板和内容模板为什么只有默认?
级别: 白丁
UID: 83998
积分:208 加为好友
威望: 1 精华: 0
主题:34 回复:110
注册时间:2015-12-23
在线时长:0
1#   发表于:2016-09-08 19:47:27  IP:218.189.*.*
我新建了/jeecms/WebContent/WEB-INF/t/cms/www/default/channel/gzdt_child.html,如下,是不是哪里没有配置?
<!DOCTYPE HTML>
<html>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<head>
<title>${channel.title!channel.name} - ${site.name} - Powered by JEECMS</title>
<meta http-equiv="keywords" content="${channel.keywords!}"/>
<meta http-equiv="description" content="${channel.description!}"/>
<!-- 工作动态 -->
<!--[if lt IE 9]>
<script src="${resSys}/html5.js" type="text/javascript"></script>
<![endif]-->
<link href="/${res}/css/html5_modify.css" rel="stylesheet" type="text/css"/>
<link href="${resSys}/front.css" rel="stylesheet" type="text/css"/>

<link href="${resSys}/front.css" rel="stylesheet" type="text/css"/>
<link href="${resSys}/jqueryUI/jquery.ui.css" rel="stylesheet" type="text/css"/>
<script src="${resSys}/jquery.js" type="text/javascript"></script>
<script src="${resSys}/jqueryUI/jquery-ui.js" type="text/javascript"></script>
<script src="${resSys}/front.js" type="text/javascript"></script>

<script src="/${res}/js/common.js" type="text/javascript"></script>
<script type="text/javascript">
$(function() {
Cms.channelViewCount("${base}","${channel.id}");
Cms.siteFlow("${base}", location.href, document.referrer,"${site.config.flowSwitch?string}");
});
</script>
</head>

<body>
<div class="container">
[#include "../include/header.html"/]
    [#include "../include/search_csi.html"/]
    [#include "../include/navi.html"/]
<!-- 左栏_begin -->
<div class="w670 mt10">
        <div class="website">当前位置:<a href="${base}/">首页</a> > [#list channel.nodeList as n]<a href="${n.url}" target="_blank">${n.name}</a>[#if n_has_next] > [/#if][/#list]</div>
        <div class="clear"></div>
        [@cms_content_page count='10' orderBy='4' channelId='121' channelOption='2' dateFormat='yyyy-MM-dd']
        [#list tag_pagination.list as a]
        <div class="hdNews hasPic">
            
            [#if a.typeImg??]
            <a href="${a.url}" target="_blank" class="pic" style="border:1px solid #ccc;">
            <img src="${a.typeImg!site.typeImg}" />
            </a>
            [/#if]
            <a href="${a.url}" title="${a.title}" target="_blank">
            <h2>[@text_cut s=a.title len=22 /][#if a.new]<img src="${site.newPic!}"/>[/#if]</h2>
            </a>
            <p>
            [@text_cut s=a.desc len=60 append='...'/]
            <span style="color:#999">(${a.date?string(dateFormat)})</span>
            </p>
        </div>
        [/#list]
        <div style="clear:both;"></div>
        <div class="pagesite">
        [@cms_pagination sysPage='1'/]
        </div>
        [/@cms_content_page]
    </div>
    <!-- 左栏_end -->
   
    [#include "../include/friend_link.html"/]
    [#include "../include/footer.html"/]
</div>
</body>
</html>
级别: 版主
UID: 70293
积分:78391 加为好友
威望: 1 精华: 0
主题:7 回复:68397
注册时间:2014-12-03
在线时长:0
2#   发表于:2016-09-09 08:26:53  IP:182.28.*.*
选不到肯定是和模型不匹配
1
级别: 白丁
UID: 83998
积分:208 加为好友
威望: 1 精华: 0
主题:34 回复:110
注册时间:2015-12-23
在线时长:0
3#   发表于:2016-09-09 09:23:22  IP:218.189.*.*
还是不太明白,你用箭头标出的栏目模板前缀:news,在哪里有配置?
我怎么把我本地的图片放进来?给你看下
级别: 版主
UID: 70293
积分:78391 加为好友
威望: 1 精华: 0
主题:7 回复:68397
注册时间:2014-12-03
在线时长:0
4#   发表于:2016-09-09 09:23:51  IP:182.28.*.*
模型管理,点修改就能进行配置,前缀是news就只能用news_1这种命名格式的模板
1
级别: 白丁
UID: 83998
积分:208 加为好友
威望: 1 精华: 0
主题:34 回复:110
注册时间:2015-12-23
在线时长:0
5#   发表于:2016-09-09 09:59:53  IP:218.189.*.*
我怎么把我本地的图片传给你看,说不清楚
级别: 版主
UID: 70293
积分:78391 加为好友
威望: 1 精华: 0
主题:7 回复:68397
注册时间:2014-12-03
在线时长:0
6#   发表于:2016-09-09 10:01:04  IP:182.28.*.*
点绿色的回复上传,上传后点击插入,编辑器里有代码出来了就可以
1
级别: 白丁
UID: 83998
积分:208 加为好友
威望: 1 精华: 0
主题:34 回复:110
注册时间:2015-12-23
在线时长:0
7#   发表于:2016-09-09 10:10:45  IP:218.189.*.*
你的图片是怎么传上去的,我本地的图片传不上去
级别: 版主
UID: 70293
积分:78391 加为好友
威望: 1 精华: 0
主题:7 回复:68397
注册时间:2014-12-03
在线时长:0
8#   发表于:2016-09-09 10:11:16  IP:182.28.*.*
点绿色的回复上传,上传后点击插入,编辑器里有代码出来了就可以
1
级别: 白丁
UID: 83998
积分:208 加为好友
威望: 1 精华: 0
主题:34 回复:110
注册时间:2015-12-23
在线时长:0
9#   发表于:2016-09-09 10:20:54  IP:218.189.*.*
我选中文件后,点击提交
输入非法参数,操作失败
级别: 版主
UID: 70293
积分:78391 加为好友
威望: 1 精华: 0
主题:7 回复:68397
注册时间:2014-12-03
在线时长:0
10#   发表于:2016-09-09 10:21:45  IP:182.28.*.*
提交后点击插入,然后加个标题
1
1 2 > >| 共2页