Login

 

Got a question for us?

Get help from our team within 24 hours

Problems to access downloads, install or configure a module? Remarks, bugs or suggestions? We treat your request within 24 hours.

Thanks for your feedback!

HomeHomeDiscussionsDiscussionsGeneralGeneralDiplay the Date in dnn?Diplay the Date in dnn?
Previous
 
Next
New Post
10/26/2010 11:55 PM
 

Hello,

Please, how can i display the date like "Monday, JJ/MM/AAAA" in the Home page?

and also its corresponds in arabic (date in arabic) it s possible en dnn ?

if it s yes , pls how can i do it?

 
New Post
10/27/2010 12:18 PM
 

Hi,

You could add date in your skin by editing ascx which is used by your homepage.

I propose 2 solutions :

- using the default SkinObject by adding following code

<%@ Register TagPrefix="dnn" TagName="CURRENTDATE" Src="~/Admin/Skins/CurrentDate.ascx" %>
<dnn:CURRENTDATE runat="server" id="dnnCURRENTDATE" DateFormat="dddd, dd/MM/yyyy" />

- using VB insctruction with

<% =Date.Now.ToString("dddd, dd/MM/yyyy") %>

I hope that will help you.

Regards,




Stéphane TETARD
ARICIE - Board member of DotNetNuke France
 
New Post
10/28/2010 2:35 AM
 

Hello Stephane,

Yes, it s working, Thank you for reply,

I m used :

<%@ Register TagPrefix="dnn" TagName="CURRENTDATE" Src="~/Admin/Skins/CurrentDate.ascx" %>
<dnn:CURRENTDATE runat="server" id="dnnCURRENTDATE" DateFormat="dddd, dd/MM/yyyy" />

in my ascx file skin,

But I have an other problem:

I wanted to add an image in contenpane s place (this image was so big that changed the width of my web site)

and still i don t found how to return back the initial width of my web site?

i don t want to use scrollbar to see my web site, i want to have ths initial size s site ...

i reduced the of image BUT the width of my dnn solution is still big

please help

 

 
New Post
10/28/2010 9:58 AM
 

Hi,

I think that using a smallest picture would restore initial size of your skin.
I don't know any other solution.

I recommand you to post your general questions at www.dotnetnuke-fr.org if you want to increase the chance to obtain correct answers. You could post on www.dotnetnuke.com too.

Regards,




Stéphane TETARD
ARICIE - Board member of DotNetNuke France
 
Previous
 
Next
HomeHomeDiscussionsDiscussionsGeneralGeneralDiplay the Date in dnn?Diplay the Date in dnn?