WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Lifestream] Show/Hide of multiple items is not working (3 posts)

  1. Tanin
    Member
    Posted 5 years ago #

    _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" [...]

  2. zeeg
    Member
    Posted 4 years ago #

    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.

  3. Tanin
    Member
    Posted 4 years ago #

    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;">[...]

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags