Couldn't figure out how to get event description without dates attached. I'm theming dates separately but could not get rid of it in body of the post. It seems it is in API by default. Any suggestions?
Couldn't figure out how to get event description without dates attached. I'm theming dates separately but could not get rid of it in body of the post. It seems it is in API by default. Any suggestions?
Comments
Comment #1
priyatosha commentedComment #2
snufkin commentedThis is a workaround, but from css .event-nodeapi { display: none; } maybe? Okay this turns of all of them, but if you have a new content-type for them, then you can hide them one-by one: lets call the new content type "event_desc", then you have to apply {display: none;} to the following classes: .event_desc-start, .event_desc-end and .event_desc-tz.
However a decent theming approach would be desirable, to have one class for the whole event box, and different ones for each type of date (start, end, tz). I will see if i can come up with a patch for it, if it is not possible otherwise.
Comment #3
priyatosha commentedBetter to have a management over all fields (display/format/etc)through 'Display Fields' if CCK is installed... May be a feature?
Comment #4
HorsePunchKid commentedI think you just want to override
theme_event_nodeapi($node)in your theme. See Using Theme Override Functions for more information on that.Comment #5
(not verified) commented