How to remove begin year

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
9/14/2010 7:57:48 PM
Gravatar
Total Posts 16

How to remove begin year

Hi everybody,

I am a big fan of mojo and understand that every features is created by a long thought process. But i have one issue here, in copyright there is a begin year, if i just need to put present year then what i need to do? I tried to set "beginyear" to "2010" but it does get display here, there can be chances that a website/company is started in the current year. Do we have any setting for setting this to only for current year.

9/14/2010 8:18:02 PM
Gravatar
Total Posts 2253

Re: How to remove begin year

Hi,

There isn't a way to show only the current year that I know of but you could remove the year entirely by adding ShowYear="false" to the control.

HTH,
Joe D.

9/15/2010 3:01:44 PM
Gravatar
Total Posts 18439

Re: How to remove begin year

The original logic why it doesn't work for the current year is because it was designed to render copyright foo beginyear - endyear so it would have been strange if both begin and end year was the same. I've fixed it for the next version so it will be possible to put the current year for the begin year and it will just leave out the - endyear part and show copyright foo beginyear if beginyear equals the current year.

Best,

Joe

9/15/2010 3:07:28 PM
Gravatar
Total Posts 16

Re: How to remove begin year

Sure Joe, thanks for updating the code.

 

12/15/2010 12:46:14 PM
Gravatar
Total Posts 49
TRIAD/Next Level Interactive

Re: How to remove begin year

Hi Joe,

Is it possible for me to implement this "begin year removal" feature into version 2.3.4.8.?

Not quite ready for a complete update.

Thanks

12/16/2010 6:28:19 AM
Gravatar
Total Posts 18439

Re: How to remove begin year

you can remove the control from the layout.master file and replace it with hard coded html for the copyright info

I recommend upgrade as soon as you can and read all the blog post release announcements for versions newer than 2.3.4.8 as well as the document about upgrading.

Best,

Joe

You must sign in to post in the forums. This thread is closed to new posts.