Register :: Login 
   
 Saturday, March 13, 2010  
Your cart contents Your cart contents Minimize
Product Qty. Price
TOTAL: 0 0.00 USD
 
Select your country... Minimize
 
 Home   
 
DNNEnglish is a software development company specifically targeted to offering language solutions for websites based on the DotNetNuke platform.
 
DotNetNuke is an Open Source CMS Web Application Framework based on ASP.NET which allows creating business Web sites in a rapid development way (RAD) and with a professional appearance.
 
We offer English language packs (also called resource packs) for all DotNetNuke versions. All the packages have been adapted and revised by professionals having a deep knowledge of DotNetNuke, the market to which DNN targets, technical terminology and considering the English language varieties for each supported country.
 
Our language packs are offered with the following features:
 
Capitalization Criteria. We offer three variants for this issue:
  1. Capital letters allowed only at the beginning of sentences.
  2. Capital Letters allowed within Sentences, for special and unique Terms or Names.
  3. CAPITAL LETTERS THROUGHOUT THE SENTENCE.
  • We have also put special attention in not allowing Title Case. Such capitalization criterion is one of the most frequent sources of criticism towards DNN.
Treatment Criteria. We offer two variants:
  1. Polite treatment. English language put in a well-mannered approach, useful for serious or formal sites.
  2. Standard treatment. English language put in an everyday approach, useful for most every site.
English Language Varieties. We offer 13 options:
  • One for each country supported by the DotNetNuke platform. Differences among packages are not only in specific terminology but also in spelling and most common meanings.
  • Spelling is one big issue mostly in regards to the differences between American English and British English. None the less, Canadian, Australian and other English varieties have differences that are also taken into account.
We hope that you find our language packs useful for your application and, of course, any suggestion that you may have regarding any term or spelling (or any other subject) will be very welcome.



Important: Not all Language Pack versions are available on-line on the site. If you need a Language Pack for a specific version of DotNetNuke which is not listed, please contact us through our Contact Page. We will be pleased to help you. 
 
 
 
Blog Recent Entries Minimize
Aug 5

Written by: Alejandro Quiroga Alsina
8/5/2008 12:11 PM

DotNetNuke displays the current date using a standard LongDateString formatting. It often happens that the user would have preferred another way to display the current date, but the standard customization provided by .NET sometimes is just not the best solution.

After investigating a little the CURRENTDATE skin object, I have found that it is not really difficult to display the current date in any format.

In order to format the date the way you want, you only need to edit the file "CurrentDate.ascx.vb", which is stored inside the "~/Admin/Skins" directory.

Inside that file, look at the following code (and modify it to suit your needs):

Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

    ' public attributes
    If CssClass <> "" Then
        lblDate.CssClass = CssClass
    End If

    Dim objUserTime As New UserTime

    ' ---{ I have added the following 2 lines }---
    Dim sMonth() As String = {"Jan", "Feb", "Mar", "Apr", _
                              "May", "Jun", "Jul", "Aug", _
                              "Sep", "Oct",
"Nov", "Dec"}

    lblDate.Text = objUserTime.CurrentUserTime.Day.ToString() _
        + ", " + sMonth(objUserTime.CurrentUserTime.Month - 1) _
        + ", " + objUserTime.CurrentUserTime.Year.ToString()

    ' ---{ I have commented the following 5 lines }---
    'If DateFormat <> "" Then
    '    lblDate.Text = Format(objUserTime.CurrentUserTime, DateFormat)
    'Else
    '    lblDate.Text = objUserTime.CurrentUserTime.ToLongDateString
    'End If


End Sub


And that's it. Any comments/suggestions will be very welcome.

 

Tags:

Your name:
Title:
Comment:
Add comment    Cancel  
 

You may use PayPal to make all your payments at DNNEnglish.com.




 

Featured Products
See details and download trial...
44.90 USD
Language pack in English, adapted for United States including...
See more...

See details and download trial...
44.90 USD
Language pack in English, adapted for United Kingdom including...
See more...

See details and download trial...
99.90 USD
Set of 7 language packs in English language adapted for Unite...
See more...

See details and download trial...
44.90 USD
Language pack in English, adapted for South Africa including...
See more...

See details and download trial...
44.90 USD
Language pack in English, adapted for New Zealand including...
See more...

See details and download trial...
44.90 USD
Language pack in English, adapted for Canada including al...
See more...

See details and download trial...
44.90 USD
Language pack in English, adapted for Australia including all...
See more...

See details and download trial...
99.90 USD
Set of 7 language packs in English language adapted for Australia,...
See more...

 Copyright 2008, DNNEnglish.com   Terms of use  Privacy statement