diff --git a/src/main/java/net/mingsoft/cms/util/CmsParserUtil.java b/src/main/java/net/mingsoft/cms/util/CmsParserUtil.java index 48ade34a..33e09e7a 100644 --- a/src/main/java/net/mingsoft/cms/util/CmsParserUtil.java +++ b/src/main/java/net/mingsoft/cms/util/CmsParserUtil.java @@ -96,6 +96,8 @@ public class CmsParserUtil extends ParserUtil { // 文章的栏目模型编号 String columnContentModelId = column.getMdiyModelId(); + //ParserUtil.read(File.separator + column.getCategoryListUrl(), false, acrList); + //获取列表页显示的文章数量 int pageSize = 10; //获取总数 @@ -178,7 +180,7 @@ public class CmsParserUtil extends ParserUtil { pageNo++; } } - }catch (TemplateNotFoundException e){ + }catch (Exception e){ e.printStackTrace(); } } diff --git a/src/main/webapp/templets/1/default/about.htm b/src/main/webapp/templets/1/default/about.htm index 891e1c5c..94a1b2f7 100644 --- a/src/main/webapp/templets/1/default/about.htm +++ b/src/main/webapp/templets/1/default/about.htm @@ -17,7 +17,7 @@
首页 > - {ms:field.typetitle/} + ${field.typetitle}
{ms:field.title/}
diff --git a/src/main/webapp/templets/1/default/case-list.htm b/src/main/webapp/templets/1/default/case-list.htm index 09f79eae..8dabd062 100644 --- a/src/main/webapp/templets/1/default/case-list.htm +++ b/src/main/webapp/templets/1/default/case-list.htm @@ -28,7 +28,7 @@

-->
- 点击查看 + 点击查看
diff --git a/src/main/webapp/templets/1/default/news-list.htm b/src/main/webapp/templets/1/default/news-list.htm index 8cc3aef7..cb4f7ef3 100644 --- a/src/main/webapp/templets/1/default/news-list.htm +++ b/src/main/webapp/templets/1/default/news-list.htm @@ -15,7 +15,7 @@
首页 > - {ms:field.typetitle/} + {column.typetitle}
diff --git a/src/main/webapp/templets/1/default/news-show.htm b/src/main/webapp/templets/1/default/news-show.htm index 3a6e565a..008d36ae 100644 --- a/src/main/webapp/templets/1/default/news-show.htm +++ b/src/main/webapp/templets/1/default/news-show.htm @@ -51,8 +51,8 @@

${field.content!''}


-

上一篇:{ms:pre.title/}

-

下一篇:{ms:next.title/}

+

上一篇:${pre.title}

+

下一篇:${next.title}