如何创建下拉菜单来对 drupal 日历模块中的日历事件进行排序?
如何创建下拉菜单来对 drupal 日历模块中的日历事件进行排序?
我知道很多人都在为同样的问题而苦苦挣扎。有人可以帮忙吗???
提前致谢!
感谢您的回复。这基本上就是我计划做的事情,但我有很多类型的活动。知道是否有办法创建出现在块中的链接下拉菜单?如果有两个下拉菜单就太好了。一种用于选择事件类型,另一种用于选择日期范围。
有谁知道有一个模块或外部服务具有类型日历并且这些功能已经可用?我看过 Trumba,它看起来确实不错,但价格太高了。每个月100美元太疯狂了!
How do you create a dropdown menu to sort calendar events in drupal calendar module?
I know many people are struggling with this same issue. Can anyone help???
Thanks in advance!
Thanks for the response. This is basically what I am planning on doing but I have many types of events. Do know if there is a way to create a drop down menu of links that will appear withing a block? It would be great to have two drop downs. One to select type of event and one to select a date range.
Is anyone aware of a module or an outside service that has type calendar with these features already available? I have looked at Trumba and it looks really nice but the price tag is way too hefty. $100 a month is crazy!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
为每个感兴趣的过滤器排列创建不同的视图。将它们作为选项卡添加到单个页面,或作为单独的页面添加到标题中的每个页面或作为单独的块添加链接。
要按日期升序排序,请加载一个视图;要降序排序,请加载另一个。
Create an different view for each filter permutation of interest. Add them as tabs to a single page, or as separate pages and add links to each in the header or as a separate block.
To sort by date ascending, load one view; to sort descending, load another.
将链接制作成下拉菜单只是CSS。看看 suckerfish 菜单代码,它非常简单。或者,您可以使用漂亮的菜单模块,并在日历上方放置一个包含所选项目的块。
making the links into a drop down menu is just CSS. look at the suckerfish menu code, it's pretty straightforward. Alternatively you could use the nice menus module and place a block containing the items of choice above the calendar.