Daily module displays superfluous stuff around the page's actual content, namely an "in [category]" subtitle and a calendar underneath the page's title.
It would be nice to be able to suppress their display.
Daily module displays superfluous stuff around the page's actual content, namely an "in [category]" subtitle and a calendar underneath the page's title.
It would be nice to be able to suppress their display.
Comments
Comment #1
Frodo Looijaard commentedIf I understand you correctly, you want not to display the calendar and the category.
The easiest way to suppress the calendar is in your theme. Add the following to an included CSS-file (your theme's CSS-file would be the nicest, but you could also add it to daily.css):
Note issue 224261 though, and add this before the comment starting with a hash sign.
If you want to suppress the display of certain taxonomies, there is a module that does this for you: Taxonomy Hide.
Hope this helps,
Frodo
Comment #2
o4tuna commentedThank you, Frodo.
The Taxonomy Hide module works perfectly.
Adding the CSS snippet to hide the calendar didn't work, though. I did try adding it to daily.css (right above the hash comment) and also to the theme's styles.css, with no success.
Now that I understand that the calendar is a navigation device, I see that it really isn't superfluous at all for most installations that would be using the Daily module. In fact, I'd like to be able to use it, too--just not have it accessible to the general public.
In other words, I'd like to be able to have the visibility of the calendar determined as a role setting. This means I could have, from the general public's perspective, a site that displays new fresh content every day--content that only lasts for one day. An admininstrator or someone with the appropriate role setting could still use the calendar to navigate through old content that is hidden from public view.
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.