WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Lifestream] Show/Hide of multiple items is not working

[Plugin: Lifestream] Show/Hide of multiple items is not working

  • _get_show_details_link function (labels.php) is producing following string

    […] onclick="lifestream_toggle(this, '', '7', '7');return false;">7</a> […]

    The first parameter ($this->options['id']) is empty.

    This causes items to remain hidden.

    On another note, the plugin uses uniqid to generate object ID’s.
    Current code:
    $id = uniqid('ls_', true);
    result:
    […]id="ls_4a49e3167b6b33.34838862"[…]
    Because if the period, the ID is not xhtml compliant.

    To generate unique object id’s without a period, switch more_entropy to false:
    $id = uniqid('ls_', false);
    result:
    […] id="ls_4a49e5c1a2951" […]

Viewing 2 replies - 1 through 2 (of 2 total)
  • The id generation is fixed now in 0.99.8.3 — In the next release I’ll tweak the id to not use a decimal.

    running 0.99.8.4 now.

    [...]<a href="javascript:void(0);" onclick="lifestream_toggle(this, '1355-', '10', '10');return false;">10</a>[...]
    
    [...]
    
    [...]<ul id="" class="lifestream_events" style="display:none;">[...]
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Lifestream] Show/Hide of multiple items is not working’ is closed to new replies.