Hello,

I cannot find a way to define a custom separator for when the block displays multiple events.
I believe it would be convenient to allow the user to set the separator to whatever they desire (line break, horizontal line, nothing, etc.).

Currently, the GCal block inserts a line break (
) in its own paragraph (

) which doesn't suit my needs.
For this particular block in my site I want no separator at all.
Also I'd like to be able to have no separator after the last event, as it creates an unnecessary margin at the bottom of the block.

Can this already be done, or does the module need to be enhanced for this?

Thank you

Comments

marktheshark’s picture

Is anyone actually tracking these issues?

Se7enLC’s picture

Assigned: Unassigned » Se7enLC

Try changing the InputFormat for GCal Events to be something that doesn't automatically inject BR tags. I made a "raw" input format that doesn't do any automatic-HTML-izing, and it was able to display events with absolutely no separation at all.

Alternately, you could enable list mode and use CSS to make the separation look the way you want it to

marktheshark’s picture

I had already changed the event formatters so that they don't include a
tag. But that does not solve it.

A <br> tag is appended by the module itself.

I circumvented it by removing this code from the module in my installation.

It would be convenient for users to be able to configure:

  • Nothing
  • <br>
  • Custom HTML (div, horizontal line, whatever)

as a separator.

P.S. I will try your suggestion as well.

jdwfly’s picture

Status: Active » Closed (fixed)

Closing old support request.