Menu

#62 Announce interface changes

Core Module
closed-out-of-date
nobody
None
5
2006-11-12
2005-04-14
No

This patch implements a number of changes in Announce. Mostly
they are to make announcements more story lead rather than
category lead.

1) separates the view_small and view_full displays into different
content boxes so you can place them differently or use different box
styles.

2) moves the settings in conf/config.php into the database and
provides a web based config for them.

3) allows the view_small title to be a clickable link.

4) allows you to specify a thumbnail icon or create one from the
main image. The thumbnail is clickable in view_small and links to
the story not a category.

5) fixes an imagetypes bug

6) removes tables from the templates.

Attached is a full archive and a diff from 0.10.1

Discussion

  • babul gogoi

    babul gogoi - 2005-04-15

    Logged In: YES
    user_id=805169

    i got this error white trying to update into this patched
    announce mod:

    Parse error: parse error, unexpected $
    in /home/shillong/public_html/mod/announce/boost/update.ph
    p on line 111

    at www.shillong.com

     
  • Shaun Murray

    Shaun Murray - 2005-04-15

    Logged In: YES
    user_id=722742

    Ack, missed a closing curly bracket on line 110. Updated update.php
    attached.

     
  • Shaun Murray

    Shaun Murray - 2005-04-15

    Logged In: YES
    user_id=722742

    Adding file.

    Updated announce/boost/update.php

     
  • Shaun Murray

    Shaun Murray - 2005-04-15

    Logged In: YES
    user_id=722742

    Double Ack. sourceforge isn't letting me update the file. It's easy enough
    to change though.

     
  • babul gogoi

    babul gogoi - 2005-04-16

    Logged In: YES
    user_id=805169

    Hi I have added a } on line 110 and the update worked.
    Announcements are now not displaying in teh homepage.
    Even when I click on VIEW from Announcement CP, its not
    showing up. However, my announcements are not showing!!
    my settings are as:

    15 Number of announcements shown on home page
    15 Number of past announcements shown

    Before the update, the announcements were displayed in th
    homepage.

    Pls help

    www.shillong.com

     
  • Shaun Murray

    Shaun Murray - 2005-04-16

    Logged In: YES
    user_id=722742

    Because the announcements are in a new content variable, you need to re-
    initialize the module with layout.

    Do this in layout admin by hitting 'refresh boxes'.

     
  • babul gogoi

    babul gogoi - 2005-04-17

    Logged In: YES
    user_id=805169

    'refresh boxes' clicked.
    No use

     
  • Shaun Murray

    Shaun Murray - 2005-04-21

    Logged In: YES
    user_id=722742

     
  • Shaun Murray

    Shaun Murray - 2005-04-21

    Diff to 0.10.1

     
  • Shaun Murray

    Shaun Murray - 2005-04-21

    Logged In: YES
    user_id=722742

    Added a change to to update.php for the problems babulgogoi found. It
    relies on the latest version of Layout from CVS however.

     
  • Shaun Murray

    Shaun Murray - 2005-04-21

    Full module source

     
  • babul gogoi

    babul gogoi - 2005-06-11

    Logged In: YES
    user_id=805169

    problem with teh announce mod still exists in my installation.
    When I add new announcement .. it just vanishes!

    www.shillong.com

     
  • Shaun Murray

    Shaun Murray - 2006-11-12

    Logged In: YES
    user_id=722742

    Killing this patch off. DO NOT USE.

    The cvs source now has most of these implemented other than splitting the view which seems to be too dangerous for some people. Maybe I'll revisit
    that again sometime.

     
  • Shaun Murray

    Shaun Murray - 2006-11-12
    • status: open --> closed-out-of-date
     

Log in to post a comment.

MongoDB Logo MongoDB