Stling the portal:copyrightlabel

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
6/28/2013 12:43:19 PM
Gravatar
Total Posts 7

Styling the portal:copyrightlabel

I hate reporting bugs - because there are so few in Mojoportal so it seems disingenuous to a great piece of software!

I'm working local on Windows8 using the sources of the latest version which at the time of writing is 2.3.9.7.

I was trying to style the portal:copyrightlabel in my layout.master like this:

<portal:copyrightlabel CssClass="copyrightlabel" id="cl1" runat="server" showyear="true" beginyear="2006"></portal:copyrightlabel>

but it's not taking my style and when I view the source of the page it is rendering like this:

Software development by <a href="http://www.seonyx.com/" CssClass="copyrightlabel" target="_blank" title="Sotware development by Seonyx">Seonyx</a>

Note is is coming up as CssClass instead of just class.

I double-checked the API and CssClass is listed as being inherited from WebControl.CssClass

6/28/2013 1:12:52 PM
Gravatar
Total Posts 2188

Re: Stling the portal:copyrightlabel

Hi,

You can just use class and it will come through to the HTML.

HTH,
Joe D.

6/28/2013 1:14:43 PM
Gravatar
Total Posts 18439

Re: Stling the portal:copyrightlabel

That control doesn't render any markup so there is nothing to put a class on,it just renders literal text. Best to wrap it in something yourself from within layout.master like wrap it in a span and put whatever class you want on the span, or put in wiothin your <a and put a class on that.

Hope that helps,

Joe

6/28/2013 1:25:57 PM
Gravatar
Total Posts 7

Re: Stling the portal:copyrightlabel

Will do - thanks for your rapid respoinse!

 

Best,

 

Steve

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