#34 Story_base.class+Topic.class++

closed-accepted
Joe Stewart
None
5
2002-03-15
2002-03-15
Luis M
No

This patch synchronizes the topic bar icons with the
articles that are created:
1) story gets publish ( ex: topic_id = 13 )
2) topic bar has 5 icons with ids ( 1,2,3,4,5 )
3) as article gets inserted, numbers get shifted to the
right and topic_id 13 is inserted in the slot one ( 13,
1,2,3,4 )

You can customize the behavior via the config.php3
variables: $_PSL["auto_renorm"] = true | false ; and
$_PSL["reform_limit"] = N ( where N is a number between
1 and ... infinity? nah, as big as the topic icons fit
or whatever you prefer -- 5 should be enough )

enjoy!

Discussion

  • Luis M
    Luis M
    2002-03-15

    Story_base.class,Topic.class,config.php3

     
  • Luis M
    Luis M
    2002-03-15

    • assigned_to: nobody --> joestewart
     
  • Joe Stewart
    Joe Stewart
    2002-03-15

    • status: open --> closed-accepted
     
  • Joe Stewart
    Joe Stewart
    2002-03-15

    Logged In: YES
    user_id=77269

    Added to cvs with minor edits.