OpenCMS - 显示旋转引用的最佳方法

发布于 2024-08-16 12:37:26 字数 214 浏览 2 评论 0原文

我想在我的网站的右栏添加一个旋转参考部分。每个参考文献都会有一些文字+人名+公司名称。它不需要结构化(开放文本也可以)。

然后我希望 opencms 在每次显示页面时在 20 个不同的引用之间轮换。我可以保留一个会话范围计数器来保存我们上次显示的引用。

我需要一种方法来随着时间的推移管理引用(用户而不是程序员)。

我的问题是最好的方法是什么?

谢谢

I would like to add on the right column of my site a rotating references section. Each reference would have some text + name of person + company name. It does not need to be structured (open text is also ok).

I would then want opencms to rotate between 20 difference references each time a page is displayed. I can keep a session scope counter holding which reference we last showed.

I need a way to manage the references (users not programmers) over time.

My question is which would be the best way to do so?

Thanks

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

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

发布评论

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

评论(1

如何视而不见 2024-08-23 12:37:26

我将使用结构化内容作为引用 (reference.xsd),并使用 contentload-tag 循环遍历它。
然后使用任何 jquery 脚本来旋转显示,那里有很多脚本。或者可能类似于 http://www.dynamicdrive.com/dynamicindex17/featuredcontentglider.htm

如果使参考结构化,最终用户将更容易编辑参考,同时不会弄乱布局。

I would use structured content for the references (reference.xsd) and use the contentload-tag to loop through it.
Then use any jquery script to to the rotation display, there are many scripts out there. Or maybe something like http://www.dynamicdrive.com/dynamicindex17/featuredcontentglider.htm

If you make the references structured, it will be easier for the end user to edit the references, while not messing up the layout.

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