Support » Plugin: Diamond MultiSite Widgets » [Plugin: Diamond MultiSite Widgets] Change List Class

  • Resolved MyrddinDE


    Is it possible to add a “class” for the rendered lists?

    At the moment it looks like this:

    <div class="myr-blockcontent-body"><ul><li>Myrddin - <a href="">Enchanted Items via Dropdown</a></li>

    and I’d love to be able to define the class to something like “tooltip”

    <div class="myr-blockcontent-body"><ul><li class="tooltip">Myrddin - <a href="">Enchanted Items via Dropdown</a></li>

    It would give the possibilities to have some tooltip popup for the post with other relevant data belonging to the link. I used to have the RSS feed of the main site as “network recent posts” and there was nice nice excerpt up to the more tag when you hover over it. And since this plugin does not bring this function I’d be interested in adding a shiny nice tooltip instead.
    I’d edit the code for it, if someone can point me at the right position,

    Thanks in advance,


Viewing 1 replies (of 1 total)
  • I got it working!


    line 66:
    $output .= $this->render_output($wgt_miss, $wgt_count, $wgt_format, $wgt_avsize, $wgt_defav, $wgt_dt, '<li class="tooltip">', '</li>', '<ul>', '</ul>', $wgt_mtext, $wgt_white, $wgt_post_limit) ;
    line 98:
    $before_item = '<li class="tooltip">';

    With some CSS and usage of span you can create a nice Tooltip with additional info.

    If this is useful for anyone else here is what I do:
    Format String:
    {title}<span>{blog}<br /><small>{date} by {author}</small><br />{excerpt}<br /></span>

    and simply show/none the span tag on hover.

    Sorry for bothering, usually I am lost in code

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Diamond MultiSite Widgets] Change List Class’ is closed to new replies.