如何将内容移动到 drupal 7 区域?

发布于 2025-01-02 05:14:33 字数 242 浏览 4 评论 0原文

我在我的 drupal 7 模板中创建了一个名为“footer”的区域。 我创建了一个名为“页脚文章”的内容类型。 我创建了一个名为“页脚块”的块。

我想做的是: 每当我创建“页脚文章”内容类型的文章时 我希望它自动驻留在我的所有页面/或某些页面的“页脚”区域? 最有效和最简单的方法是什么?

因为我在想我总是需要创建新的块并将文章放入该块中以便我将其放置在我想要的区域中?

我是 drupal 7 的新手 感谢您的帮助。

I have created a region named "footer" in my drupal 7 template.
I have created a content type named "footer-article".
I have created a block called "footer-block".

What I want to do is:
whenever I create an article of "footer-article" content type
I want it to automatically reside in the "footer" region in all of my pages/ or some of the pages?
What is the most efficient and simplest way to do it?

because I was thinking that I always need to create new blocks and put article inside this block in order for me to position it in my desired region?

I am a newbie in drupal 7
Thanks for your help.

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

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

发布评论

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

评论(1

榆西 2025-01-09 05:14:33

安装视图模块。始终安装视图模块。

http://drupal.org/project/views

它将允许您制作内容类型列表,然后您可以将其导出为块并添加到您的区域。当您添加新的“页脚文章”时,这将自动更新该块。

您可以将视图设置为显示完整帖子、预告片或某些字段。

在我看来,它是 Drupal 的最佳模块,并且是任何 Drupal 站点的必备模块。

Install the views module. Always install the views module.

http://drupal.org/project/views

It will allow you to make a list of a content type, which you can then export as a block and add to your region. This will automatically update the block when ever you add a new "footer-article".

You can set the view to show full posts, teasers or certain fields.

It's the best module for Drupal in my opinion and is a must have for any Drupal sites.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文