新的 Drupal 用户想要限制节点的高度,在书页内部说:如何?
我正在开发一个新网站,我希望当内容达到 540 px 时所有页面都会中断,如果能够仅使用某些节点类型(例如页面/书籍)来实现这一点,那就太好了。我不知道该怎么做。该网站在这里: http://202.52.231.58/ 您可以看到我对 UNITION 与 UNITION(测试)页面所做的事情。其中一本书分为 5 个部分,我必须自己将其分块,然后添加段落以尝试使书页具有相同的深度。但这是一种荒谬的做法,不是吗?一定有一些程序化的方式来表达:如果书页高度达到 500 px,就换到新页面吗?或者至少可以这么说:对于任何书页,无论内容如何,都将高度设置为 500 px。希望这是清楚的。任何帮助表示赞赏! 夹具
I am working on a new site that I want all pages to break when the content reachs 540 px, and it would be nice to be able to make that so with just certain node types like pages/books. I can't figure out how to do. The site is here:
http://202.52.231.58/
and you can see what I've done with UNITION vs. UNITION (test) pages. One is a book in 5 parts, which I had to chunk myself, and then add paras to try and get the book pages the same depth. But this is a ridiculous way to do, no? There must be some programatic way to say: if book page reaches 500 px in height, break to a new page? Or at minimum, a way to say: for any book page, make the height 500 px regardless of content. Hope that's clear. Any help appreciated!
Jigs
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
寻呼模块能解决您的问题吗?
http://drupal.org/project/paging
Would the paging module solve your problem?
http://drupal.org/project/paging