内容查询 Web 部件和新闻网站

发布于 2024-10-02 21:45:09 字数 537 浏览 0 评论 0原文

我想创建一个新闻网站,其中有两种页面:

  1. 主页:显示今天主要更新的(最后)文章。
  2. 新闻页面:显示选定的新闻。

这两个页面都应该看起来像一个简单的新闻网站(显示主要文章),并且都应该在侧面显示相关的最新新闻。

我想做的很像网站中提到的: 链接

问题:

  1. 该站点仅显示如何创建相关新闻,而不显示主要文章。
  2. 我想知道如何在没有新闻网站的情况下做同样的事情(意思是一个带有 Wiki 字段的简单列表,其中图片应该在)
  3. 我如何(希望可能)在 CQWP 中获取 Wiki 字段并添加更小的“宽度” ?

先感谢您, 莫尔·谢梅什。

I want to create a news site in which there will be two sort of pages:

  1. Home Page: showing the main updated (last) article today.
  2. News Page: showing a selected news.

Both pages should look like a simple news site (showing the main article) and both should have related last news on the side.

What I want to do, is a lot like what's mentioned in the site:
Link

Problems:

  1. This site only shows how to create the related news and not the main article.
  2. I wanted to know how to do the same thing only without a news site (meaning a simple list with a Wiki field where the picture should be)
  3. How can I (hoping its possible) take a Wiki field in CQWP and add smaller "width"?

Thank you in advance,
Mor Shemesh.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

撩发小公举 2024-10-09 21:45:09
  1. 创建一个发布网站
  2. 在 default.aspx 上放置 s Conent Query Web 部件,将其配置为显示 1 篇文章,按日期降序排序
  3. 创建另一个欢迎页面,并在那里也放置一个内容查询 Web 部件,将其配置为显示多个项目,根据您需要的过滤器
  1. Create a publishing site
  2. On the default.aspx put s Conent Query web part, configure it to show 1 article, sorted by date in decending order
  3. Create another welcome page and put a Content Query web part there also, configure it to show several item, according to the filter you need
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文