Topic: pagesetter:: ListGrouper plugin needed (damaged download on pagesetter.net)
Converted
avatar
12
Posts: 0

Posted:
13.Nov 2008 - 10:15

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
Converted
avatar
12
Posts: 0

Posted:
13.Nov 2008 - 15:33

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
Converted
avatar
12
Posts: 0

Posted:
19.Nov 2008 - 06:46

this plugin is very useful but it doesn't work correctly with other fields than dates. Why?