我如何操作我的 Drupal 博客?

发布于 2024-08-30 08:28:41 字数 492 浏览 12 评论 0原文

我正在将网站从 FrogCMS 迁移到 Drupal。我的问题是:

  • 如何限制主页上最近博客条目(标题和内容)的列表,并让它在其他页面(即博客列表页面)上限制(至少五个)?

  • 如何为每个博客放置“阅读更多”链接,并且在完整查看时,不应显示“阅读更多”

  • 有没有办法在不破坏node.module的情况下删除分页?

  • 我尝试了 Nodequeue 模块,但我不确定如何使用它。我阅读了文档并尝试输出 但一点运气都没有。 在这里查看

  • 我需要尽快得到答复。我需要在明天之前完成这个工作。谢谢!

I'm migrating a website from FrogCMS to Drupal. My questions are:

  • How do you limit the list of recent blog entries (title and content) on the MAIN page and let it limit (to at least five) on the other page (i.e. List of Blogs page)?

  • How do you place a 'read more' link for each blog and when viewed full, the 'read more' should not be displayed?

  • Is there a way to remove the pagination without hacking node.module?

  • I tried Nodequeue module but I am not sure on how to use it. I read the documentation and tried outputing <?php print nodequeue_node_titles($subqueue_id); ?> but had no luck at all. Check it here

  • I need an answer ASAP. I need to finish this by tomorrow. Thanks!

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

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

发布评论

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

评论(1

堇色安年 2024-09-06 08:28:41

查看视图模块。这将允许您构建所需的视图。如果您想进一步修改输出,请执行此操作,然后对视图进行主题化。

这里有一个关于nodequeue的教程 链接文本 可能会对您有所帮助。

Check out Views module. This will allow you to build the views you require. If you want to further modify the output then do this then theme the view.

There is a tutorial for nodequeue here link text which may help you.

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