公告列表-阅读更多 [英] Announcements List - Read more

查看:61
本文介绍了公告列表-阅读更多的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在这里查看了许多选项,但无法应用所提供的解决方案来添加阅读更多"内容.链接到公告列表.我正在尝试使该列表以时事通讯格式显示,以便它具有一定的上下文.使用的字段 是标题,修改和正文.我只想截断正文字段,以使用户进入完整项目,或者通过阅读更多"选项来展开和折叠该项目.我正在在线使用SharePoint.

I have looked at a number of options here and not been able to apply the solutions provided to add a "Read More" link to an Announcements list. I am trying to get the list to show up in Newsletter format so that it has some context. Fields used are Title, Modified and Body. I would just like to truncate the body field to either take the user to a full item or expand and collapse the item through the Read more option. I am using SharePoint online.

推荐答案

Maellstromm,

Hi Maellstromm,

在下面的帖子中检查脚本:

Check the script in the post below:

https://stackoverflow.com /questions/44640278/sharepoint-online-read-more-client-side-rendering-for-announcements-list-news

请注意,更改第二行" src ="//netdna.bootstrapcdn.com/twitter-bootstrap/2.0.4/js/bootstrap.min.js"</script>"到< script type =" text/javascript" src =" https:// netdna.bootstrapcdn.com/twitter-bootstrap/2.0.4/js/bootstrap.min.js"</script> ;".

Note that change the second row" <script type="text/javascript" src="//netdna.bootstrapcdn.com/twitter-bootstrap/2.0.4/js/bootstrap.min.js"></script>" to " <script type="text/javascript" src="https://netdna.bootstrapcdn.com/twitter-bootstrap/2.0.4/js/bootstrap.min.js"></script>".

最诚挚的问候,

Grace Wang

Grace Wang


这篇关于公告列表-阅读更多的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆