Menu

#1001 Welcome page/portal page blocks

open
nobody
None
5
2008-06-22
2008-06-22
Wes Groleau
No

The lists of blocks available on the welcome page and the user page are different.

Maybe there's some reason for some of them, but I don't see any reason for the GEDCOM News block to not be allowed on a portal page.

Discussion

  • Patrick Kellum

    Patrick Kellum - 2008-06-22

    Logged In: YES
    user_id=157163
    Originator: NO

    I don't know the reason either, but it's an easy fix. Just delete the following from near the top of the blocks/gedcom_news.php file...

    $PGV_BLOCKS['print_gedcom_news']['type'] = 'gedcom';

    Then it should show up.

    If nobody knows of a reason this shouldn't be changed then I'll change it in the SVN.

     
  • Wes Groleau

    Wes Groleau - 2008-06-22
     
  • Wes Groleau

    Wes Groleau - 2008-06-22

    Logged In: YES
    user_id=1537714
    Originator: YES

    Sounds good to me. In case you're interested, I have attached some other modifications.

    changed title and date from span to h2/h3 - looks the same due to CSS, but better for accessibility

    added some newlines to make the generated HTML tidier

    removed nl2br - most probably won't want that, but it allows me to use <p> instead of blank lines, for accessibility.
    File Added: gedcom_block.php

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.