lunedì 29 dicembre 2008

Rilasciato DotNetNuke 5.0.0

E' stata rilasciata la versione 5.0.0 di DOtNetNuke con una serie di fix e nuove funzionalità. Vi lascio alla news ufficiale.

Major Highlights

Added jQuery support to the core
platform. jQuery will now be distributed as part of the DotNetNuke installation
and will be available for use by module developers.
Added support for
Internet Explorer 8 Web Slices. Administrators can configure any module to use
IE8 Web Slices including the ability to set time-to-live and expiration values.
Removed distinction between admin modules and pages and normal pages. This
allows administrators to easily delegate access to any portion of the
application to any group of users.
Updated the installation services to
support manifest files for all extension types. Now skins, containers, providers
and modules are all first class citizens that can be installed and uninstalled.
Expanded XHTML, WCAG and ADA compliance.
Refactored core to improve
support for Unit Testing. Refactored several core classes to use interfaces and
added a simple component factory to provide dependency injection support.
Added ability to deny permissions in the permissions grid. This new feature
extends the permission framework to give administrators greater flexibility in
defining permissions.
Added Widget framework. The new Widget framework
allows you to quickly add JavaScript/html widgets to your site with very little
effort. The framework supports the use of a simple object tag based
representation which means you don’t have to know JavaScript in order to add the
Added new Object notation for using skin objects in Skins. Skin
designers will no longer need to include separate XML files when creating and
packaging skins. No more funky “[SKINOBJECT]” tags littering your html. This
significantly simplifies the process of creating skins and further opens up skin
development to a broader group of designers. If you include a simple JavaScript
reference in your HTML skin, you can even get a full WYSIWYG experience when
designing your skin.
Security Fixes

Includes a rollup of all
4.x security fixes
Updated Modules/Providers

The following
modules and providers have been updated in the 5.0.0 packages. Please see the
specific project pages for notes on what bugs or enhancements were corrected
with each release.


AD Authentication
Provider 05.00.00

domenica 14 dicembre 2008

Localizzazione dei moduli

Ci sono due modi differemti per localizzare il testo all'interno di un modulo DotNetNuke. Il primo è quello di utilizzare il controllo DNN:Label di DotNetNuke che rende a video il testo e da la possibilità anche di impostare una descrizione di Help che compare alla pressione dell'icona accanto al testo. Di seguito un esempio di come impostare nella pagina ASCX la label.

All'interno del file di risorsa va indicata la chiave, in questo caso lblTemplate.Help per il testo dell'help e lblTemplate.Text per il testo della label. Va fatta molta attenzione alle maiuscole perchè le chiavi del file di risorsa sono case sensitive.

Il secondo modo è quello classico di indicare nella definizione del controllo LABEL la resourcekey da cui prendere il testo.

Testo localizzato

E nel file di risorsa va indicato il valore della chiave come segue.

EmptyDataText.Text = "Testo localizato"

mercoledì 3 dicembre 2008

Roadmap for Documents Module 04.02.00

Oggi la notizia sul sito ufficiale di DotNetNuke delle nuove funzionalità che saranno introdotte a breve sul modulo DOCUMENTS alla versione 04.02.00

La data dell'effettivo rilascio non è stata definita con precisione, si parla di inizio 2009. Le funzionalità sono le seguenti:

DOC-5936 Modify User

Currently when modifying a document the Modified User is not updated, this will be resolved, to help track the individuals responsible for updates to module content.

DOC-8132 Search Integration

A modification to the integration of the module with the ISearchable interface will be completed that will add both the document title AND description data will be included in the content provided to the indexer. This will allow users to be exposed to more opportunities to find the documents they are looking for.

DOC-8381 Option for 100% width

To meet standards with DotNetNuke core modules 4.1.0 defaulted the display to 100% width, which was a breaking change for some designs. In an effort to provide customization a module setting will be added to allow users to enable/disable this feature.

DOC-8308 Implement IHydratable

In an effort to prepare for future changes and to improve the performance of the module the IHydratable interface is being implemented on all information objects to remove the need for reflection to hydrate document listings.

DOC-8617 Allow Paging

An optional paging feature will be added in this release, allowing users with long documents lists to show a paged set of results. By default paging will be disabled.