Log in | Register | Lost password

Bottom
pagesetter:: ListGrouper plugin needed (damaged download on pagesetter.net)
  • Posted: 13.11.2008, 10:15
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    Hi all,

    in this moment, i need the pagesetter plugin "ListGrouper" which can normally downloaded from pagesetter net. (http://www.pagesetter.net/index.php?module=pagesetter&func=viewpub&tid=4&pid=58)

    But actually the download link is damaged.

    Is there any other source to download the plugin ??
    otherwise
    is there anybody who can send this plugin to my email account?? peter.berg (aattt) ferienportal.net

    thanks
    peter
  • Posted: 13.11.2008, 15:33
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0

    Code

    <?php

    function smarty_function_pagesetter_listGrouper($args, &$smarty)

    {

    $smarty->caching = 0;



    extract( $args );



    static $pgListGroupValue = null;

    if( $clear )

    {

    $pgListGroupValue = null;

    return;

    }



    if( !isset( $value ) )

    {

    return "<br\>Missing 'value' argument in Smarty plugin 'pagesetter_listGrouper'<br\>";

    }



    if( $result = ($pgListGroupValue != $value) )

    {

    $pgListGroupValue = $value;

    }



    if( isset($assign) )

    {

    $smarty->assign( $assign, $result );

    }

    else

    {

    return $result;

    }

    }

    ?>


    for me the download works... I ve pasted it here...
    save as 'function.pagesetter_listGrouper.php'

    - Igor
  • Posted: 19.11.2008, 06:46
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    this plugin is very useful but it doesn't work correctly with other fields than dates. Why?

Template courtesy of Designs By Darren.