Hi Greg, On Freitag, 8. April 2011, Grégory Joseph wrote: > On 07 Apr 2011, at 20:03, Jörg Schaible wrote: > > Guys, > > > > isn't there anybody that can shed some more light on such components and > > the calendar in special? The most annoying part is currently the ominous > > style that clobbers the definitions of style.css. Where does it come > > from? > > This is from m-m-admininterface's calendar widget (used in dialogs etc). > Never noticed this, but that's indeed pretty ugly. I supposed its > selectors could be tuned to only match elements of a Magnolia dialog.
OK, this explains it, thanks. As workaround I tried no to create my own calendar paragraph by extending the original and change the value of the divClass parameter and make the same change in the style. After adjusting also the auto-generated paragraphs for the EventOverview it works as expected - thanks! > >> When I add a calendar into the extras area of an event template, how can > >> I synchronize it with the date of the event? Currently the calendar > >> always shows the current month even if the event is at some other date. > >> > >> Can the calendar be turned into a yearly mode? My site will have 8 to 10 > >> events a year. Therefore a yearly overview with the highlighted months > >> would make much more sense to my use case (similar applies to the events > >> overview paragraph, I'd like to configure the time span where it looks > >> for events, monthly does not make too much sense here). > > I'd have a look at > info.magnolia.module.templatingkit.paragraphs.CalendarModel - doesn't seem > there's anything configurable there yet, but it should be doable. I'll have a look, may be I can derive from it. It already has some interesting parameters like minDate. - Jörg ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
