Register   Login
     
  Latest Posts  
custom field type:url
by aviavia on 11/23/2008 7:13 PM
Module Development Techniques
by hchattaway on 11/23/2008 5:14 PM
Customizing the URL a little further
by tmahmud on 11/23/2008 4:11 PM
RE: Google Maps
by smcculloch on 11/23/2008 10:29 AM
RE: I cant get rss feeds to work correctly
by smcculloch on 11/23/2008 10:27 AM
captcha still proken
by StatisticsIO on 11/23/2008 6:11 AM
RE: Comments RSS feeds
by StatisticsIO on 11/23/2008 6:09 AM
Regions and Copuntry List scripts for Location Types
by rodneyjoyce on 11/23/2008 4:56 AM
RE: BUG: Sort by: Price
by usheen on 11/23/2008 1:23 AM
RE: News Articles 301 Redirect
by mcox on 11/22/2008 11:16 PM
  Forums  
Subject: bug New Articles Archives 00.05.41
Prev Next
You are not authorized to post a reply.

Author Messages
Petr KaletaUser is Offline
Registered Users
Nuke Active Member
Nuke Active Member
Posts:26


10/01/2006 12:38 PM  
I'v got problem with latest version of News Articles Archives module. It is not accepting header and footer template.

As header it's still using
<table cellpadding=0 cellspacing=4>

and as footer only



I'm using DNN 4.3.5

Petr Kaleta
Microsoft Student Partner
now working on .NetStudent v2
Petr KaletaUser is Offline
Registered Users
Nuke Active Member
Nuke Active Member
Posts:26


10/01/2006 1:23 PM  
In the first look, I think, that i find a problem:

In NewsArchivesOptions.UpdateSettings():

case ArchiveModeType.Category: controller1.UpdateTabModuleSetting(this.get_TabModuleId(), "NewsArchivesCategoryHtmlHeader", this.txtHtmlHeader.Text); controller1.UpdateTabModuleSetting(this.get_TabModuleId(), "NewsArchivesCategoryHtmlBody", this.txtHtmlBody.Text); controller1.UpdateTabModuleSetting(this.get_TabModuleId(), "NewsArchivesCategoryHtmlFooter", this.txtHtmlFooter.Text); controller1.UpdateTabModuleSetting(this.get_TabModuleId(), "NewsArchivesHideZeroCategories", this.chkHideZeroCategories.Checked.ToString()); return;

but in NewsArchives.ProcessHeader() you call:

if (this.get_Settings().Contains("NewsArchivesHtmlHeader")) { literal1.Text = this.get_Settings()["NewsArchivesHtmlHeader"].ToString();

but NewsArchivesHtmlHeader isn't existing property...

Petr Kaleta
Microsoft Student Partner
now working on .NetStudent v2
Petr KaletaUser is Offline
Registered Users
Nuke Active Member
Nuke Active Member
Posts:26


10/01/2006 3:33 PM  
Posted By fofr on 10/01/2006 1:23 PM
In the first look, I think, that i find a problem:

In NewsArchivesOptions.UpdateSettings():

case ArchiveModeType.Category: controller1.UpdateTabModuleSetting(this.get_TabModuleId(), "NewsArchivesCategoryHtmlHeader", this.txtHtmlHeader.Text); controller1.UpdateTabModuleSetting(this.get_TabModuleId(), "NewsArchivesCategoryHtmlBody", this.txtHtmlBody.Text); controller1.UpdateTabModuleSetting(this.get_TabModuleId(), "NewsArchivesCategoryHtmlFooter", this.txtHtmlFooter.Text); controller1.UpdateTabModuleSetting(this.get_TabModuleId(), "NewsArchivesHideZeroCategories", this.chkHideZeroCategories.Checked.ToString()); return;

but in NewsArchives.ProcessHeader() you call:

if (this.get_Settings().Contains("NewsArchivesHtmlHeader")) { literal1.Text = this.get_Settings()["NewsArchivesHtmlHeader"].ToString();

but NewsArchivesHtmlHeader isn't existing property...
btw: NewsArchivesHtmlHeader is existing property only for Archive which was made from Date...

Petr Kaleta
Microsoft Student Partner
now working on .NetStudent v2
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12450


10/02/2006 2:52 AM  
Hi fofr,

Great pickup, this is why it is good to distribute the source code. I'll have a patch out shortly to handle this problem.

Scott McCulloch
Site Administrator
Petr KaletaUser is Offline
Registered Users
Nuke Active Member
Nuke Active Member
Posts:26


10/02/2006 3:06 AM  
Posted By smcculloch on 10/02/2006 2:52 AM
Hi fofr,

Great pickup, this is why it is good to distribute the source code. I'll have a patch out shortly to handle this problem.
Yeap, source code is great thing, but i used Disassembler :D :P

Petr Kaleta
Microsoft Student Partner
now working on .NetStudent v2
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12450


10/02/2006 7:50 AM  
This should be resolved in the latest release.

Scott McCulloch
Site Administrator
You are not authorized to post a reply.
Forums > General > Bugs & Problems > bug New Articles Archives 00.05.41



ActiveForums 3.7
Terms Of Use   Privacy Statement   Copyright 2002-2008 Ventrian   Page generated in 0.546875 seconds