By mennonot on
Is there a way to not display the timezone on a flexinode node using the event module? I looked through event.theme and event.module and couldn't find an obvious place to remove it.
Is there a way to not display the timezone on a flexinode node using the event module? I looked through event.theme and event.module and couldn't find an obvious place to remove it.
Comments
Settings Page
Did you check the settings page? admin/settings/event. Maybe that will help.
I can't see settings to turn off timezone there
The event module settings page you suggest has options to use the different timezones (Use the sitewide time zone, Use the time zone of the user editing or creating the event or Allow users to set event time zones) or display it in different ways (Use the event's time zone, Use the user's time zone or Use the sitewide time zone) but I can't find any way to choose not to display the time zone at all.
Work around
Would love to know this as well. A work-around is to add the following to the end of the event.css file:
.flexinode-1-tz { display: none; }Or in theme
Even better is to stick it in your custom theme's style.css file. Now it seems like even less of a workaround.
What a good idea
Yep, that would be the best place for it - means that it won't break if you update the event module.
----------------------------------
neish.net | botanicalartistry.com
how to remove timezone from flixinode events?
I added
.flexinode-1-tz { display: none; }to style.css and event.css and now timezone does not show in content types "event", but it still shows in custom content types I have made with flexinode that are event enabled.
Is there a way to remove it from there as well?
You should be able to. Have
You should be able to. Have a look at the page source on one of your custom content pages and check what class is being applied to the timezone text. Whatever it is, you should then be able to add in some css to set the display to none.
Peter
----------------------------------
neish.net | botanicalartistry.com
Thank you!
Thanks! Now it works.
Hahaha
What a clever idea!
.event-tz{display:none;}
Webdesign
Weboldal Készítés Weboldal.biz
Actually, you can do it in the admin area
The event module only displays the Timezone if you have "Configurable Time zones" turned on. Go to the administration page and look for "Date and Time" under Settings, (or admin/settings/date-time )
Look for the "Configurable Time zones" option, disable that, now check your event. No timezone. :)