Menu

#2414 [4548] News Archive not viewable.

open
nobody
None
5
2008-12-15
2008-12-15
No

If you have the News block configured to show X number of articles it is no longer possible to view hidden items by clicking the "view archive" link. The items are still there in the RSS feed and if you change the block settings to not hide them they reappear. Might be related to the new Ajax loader?

Discussion

  • Greg Roach

    Greg Roach - 2008-12-15

    If you comment out line 129 of session_spider.php (embedded URL check), does the problem go away?

     
  • Stew Stronski

    Stew Stronski - 2008-12-15

    Commenting 129 no difference. Commenting 128-130 made no difference.

    Clicking the view archive link triggers a page reload and despite the "gedcom_news_archive=yes" in the url the block is loaded in the default state.

     
  • Stew Stronski

    Stew Stronski - 2008-12-15
     
  • Greg Roach

    Greg Roach - 2008-12-15

    <sigh>
    The block has some conditional code that depends on parameters passed to the index.php page.

    Nothing like designing a system of independent modular blocks, then someone hard-coding a dependency on a parent page.

    I can't be arsed sorting this out. I'll revert the ajax-block loading.

     
  • Gerry Kroll

    Gerry Kroll - 2008-12-16

    Greg:
    Be reasonable, calm, and collected.

    The "gedcom_news_archive" parameter you're so incensed about isn't actually an input variable to the index.php script: it's an input variable to the "blocks/gedcom_news.php" script.

    All you need to do is a safe_GET within the gedcom_news.php code. This variable is a temporary override to the block's configuration, to force the block to print all of the accumulated news articles without the usual configured limits.

    If you don't like this -- it causes the Index page to be re-loaded -- please think of some other way a block can re-load itself with self-changed operating parameters. Personally, I think the penalty of re-loading the index page is acceptable, considering that the option that triggers this wouldn't be used all that much.

     
  • Stew Stronski

    Stew Stronski - 2008-12-27

    Is this problem going to be fixed at some point or do I have to go in and turn off ajax loading?

    It would be nice if there was at least a switch.

     
  • Stephen Arnold

    Stephen Arnold - 2009-09-20

    I have several new users who are now asking what a "NEWS ARCHIVE" is as they can't see any news articles (all older than 30 day limit on the block) and the link still doesn't pull up the archived news articles. I'm with Stew - will there be a bug fix here?
    -stephen

     

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.