Hello,

How can you display contextual links over each items in your timeline ?

Thank you

Alex

Comments

alansaviolobo’s picture

I didn't understand the question. what functionality are you trying to provide with contextual links ?

zmove’s picture

I mean when you hover a node with your mouse, there is a little gear on the top right corner that give some actions for that node.

When I use simple timeline, I don't see the little gear on the top right corner when I hover one of the timeline content.

That's why I wonder how can you get this gear with the simple timeline plugin.

nbouhid’s picture

If you want to show contextual links for each timeline item you should set "Content" format on the view. Then apply some CSS to reset the css applied by the module. It would be great if we can use ">" for selectors on the css so we can avoid doing this.

.view-timeline .simple_timeline > ul > li ul.contextual-links {
    list-style: circle;
    background-image: none;
    padding: 0.25em 0 !important;
    width: auto;
}
.view-timeline .simple_timeline > ul > li ul.contextual-links li {
  float: none;
  text-align: left;
  width: auto;
  clear: none;
}
smustgrave’s picture

Status: Active » Closed (outdated)

With D7 EOL closing out old D7 issues. If still an issue on the new 2.0.x branch please re-open

Thanks

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.