about rotating header images

This is an open forum for any mojoPortal topics that don't fall into the other categories.

This thread is closed to new posts. You must sign in to post in the forums.
8/30/2010 7:48:35 AM
Gravatar
Total Posts 39

Re: about rotating header images

OK. I figured it out. . . and you may laugh, Joe, or you may want to reach through the screen and smack me. . . You have to specify the height and width for each image in the ASP.net code, not in the CSS. I am not sure why that is. I had the height and width set in the CSS and thought that would work fine, however, it doesn't seem to. But when I set the height and width for each image in the Slider code, it works great!

Thanks!

10/15/2010 3:27:39 PM
Gravatar
Total Posts 156

Re: about rotating header images

Just curious, why is SlidePanel.cs located  in mojoPortal.Web project as supposed to mojoPortal.Web.Controls.  How do you decide what goes into mojoPorta.Web project vs mojoPortal.Web.Controls?

10/16/2010 10:17:37 AM
Gravatar
Total Posts 18439

Re: about rotating header images

Hi,

That is a perfectly reasonable question. The answer is that since I started this project in 2004, over time my ideas, strategies, priorities have changed. In the early days I was more inclined to keep controls in a separate project so they could be used easily outside of mojoPortal but over time I have got to a point where I don't really care about supporting re-use of my controls outside mojoPortal so I have not added new controls to that project in a long time and typically add new controls directly in the main web project. Developers can still borrow control code and modify it to their needs but I have no interest in supporting those controls separate from mojoPortal. Part of the reason is also because supporting multiple sites there are often settings that need to be set according to the site so it is easier to do it in the main web project where we already have references to mojoPortal.Business whereas the controls project does not. You can see examples such as GoogleAnalyticsScript.cs which lives in the controls project but we have to use mojoGoogleAnalytics.cs from the main web to set site specific stuff. Over time I've become less inclined to have to do that kind of thing and more inclined to keep it simple. Really, at some point I'd like to move all the code from mojoPortal.Web.Controls, mojoPortal.Web.Editor and mojoPortal.Net into the main Web project (keeping the namespaces the same as they are just moving them into the main assembly). But there are upgrade considerations that have made me not in a hurry to do that, nothing too difficult but it will require some thought an planning to avoid breaking things.

Best,

Joe

10/16/2010 2:02:23 PM
Gravatar
Total Posts 147
Download Free Mojo Skins http://crypticsites.net

Re: about rotating header images

I'm such a dummy.  I posted a long winded thing here about the new version of Mojo (2.3.5.4) somehow breaking my original rotation control, and it turns out, if you upload the images, it works just fine.  Go ahead and slap me, I deserve it for being such an idiot.  Maybe what I really ought to do is use absolute WWW urls for the images, to avoid this sort of thing in the future.

Anyway, long time no type, how's thangs, the new version looks great -- except the skins from 2.3.4.3 won't work, I had to make a new one based on my original Artisteer HTML template -- but other than that, it seems just peachy.

Andria the moron cheeky

1/8/2012 7:39:15 AM
Gravatar
Total Posts 40

Re: about rotating header images

Joe,

I've been reading through the thread, and I have a couple of questions.

  1. With the changes in the Skins in mojo 2.3.7.6 , is the article http://www.mojoportal.com/usercontrols-as-include-files.aspx still the best practice / most preferred to add a slideshow to the header?
  2. The div structure for header in Layout.Master for the artisteer-31 series skins is vastly different  from skin originally mentioned in this thread. I'm creating a skin based off of one of the artisteer 31 skins provided as covered here, http://www.mojoportal.com/creatingskins.aspx, but I am unclear where in the artisteer 31 head I should add the <me:Slides id="mySlides" runat="server" /> within the head.
  3. Lastly, I'd like to use the CDN jquery and jquery UI in my skin but I want to use a custom theme from theme roller and wonder if there is an article to show me how to do this.
1/8/2012 1:56:38 PM
Gravatar
Total Posts 18439

Re: about rotating header images

Hi,

1. Yes it is still best to encapsulate that kind of funnctrionality into a UserControl and embed the usercontrol into layout.master rather than directly coding the slide show in layout.master.

2. Artisteer doesn't offer support for questions about modifying the designs after they have been exported from Artisteer, and neither do I have any specific detailed advice about it, you'll have to figure out by trial and error where to position the usercontrol and you may possibly need to tweak css. I would say it should work ok as long as you design the header (in Artisteer) with enough room for the slideshow. If I were doing it I would try putting it inside <div class="art-header-inner"> </div> first and if that doesn't produce the right result I'd experiment. You may need a div with a custom css class inside the usercontrol and use positioning.

3. You can include your custom theme in style.config and you can tell mojoPortal not to load the css from the cdn by setting IncludejQueryUI="false" on <portal:StylesheetCombiner in your layout.master file.

Hope that helps,

Joe

1/13/2012 6:53:58 AM
Gravatar
Total Posts 40

Re: about rotating header images

I meant to ask earlier, givent he recent skin changes in mojoportal can you use the andreasviklund-02-alt skin mentioned early on in the post with the latest mojoportal version? Are there changes / additions that need to be made so it works with the latest mojoportal?

1/13/2012 7:24:26 AM
Gravatar
Total Posts 18439

Re: about rotating header images

That skin still is included in the extra-skins.zip. All of the skins in the extra-skins.zip should work.

Best,

Joe

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