Asides code on wiki does not work

0 views
Skip to first unread message

Geoffrey Sneddon

unread,
Feb 2, 2009, 12:28:22 PM2/2/09
to habari...@googlegroups.com
On the wiki, at <http://wiki.habariproject.org/en/Asides>, it gives:

parent::act_display_home( array( 'not:tag' => 'aside' ) );

This, however, appears to only hide it from the first page, which
leads to rather whacky pagination. Anyone know what it should be?


--
Geoffrey Sneddon
<http://gsnedders.com/>

mikelietz

unread,
Feb 6, 2009, 11:23:55 PM2/6/09
to habari-users
This did just come up again in the last couple days, and it would seem
the way that dmondark handled asides in Dark Autumn works quite well,
and can be adapted as below:

public function act_display( $paramarray= array( 'user_filters'=>
array() ) )
{
$paramarray['user_filters']['not:tag']= "aside";
parent::act_display( $paramarray );
}

It hides them from the front and subsequent pages.

This will of course go on the wiki page soon.
-mikelietz

On Feb 2, 12:28 pm, Geoffrey Sneddon <foolist...@googlemail.com>
wrote:

mikelietz

unread,
Feb 7, 2009, 1:30:02 AM2/7/09
to habari-users
This is also how Mzingi does it.

The wiki is now updated also.
-mikelietz
Reply all
Reply to author
Forward
0 new messages