Couple of questions regarding features for current project

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.
4/2/2009 5:13:08 PM
Gravatar
Total Posts 8

Couple of questions regarding features for current project

I have really only just begun to use MojoPortal but have been thrilled with its ease, architecture, and especially the involvement of Joe.  Thanks, Joe!

I have a couple of questions regarding features which I'll need to answer prior to completing my current project:

  • Is there a simple to use control for inserting a Flash element into a layout.Master file?  For known reasons, the control should use something like UFO or other to insert and begin the Flash hosting with javascript.
  • Is there a control or bit of code which demonstrates recommendations regarding custom user-tracking?  I'd like to have the ability to report on site traffic based on user-profile properties.  I've never used Google Analytics or Woopra.

Thank you in advance for all of your assistance!

Bill

4/3/2009 7:48:52 AM
Gravatar
Total Posts 18439

Re: Couple of questions regarding features for current project

Hi,

One of my customers uses Flash in their skin. Just include the javscript in the head of your layout.master

<script type="text/javascript" src='/ClientScript/swfobject.js'></script>

Then they have something like this also in layout.master. They used a separate skin for their home page vs the rest of the site becaus ethey have a big flash movie on the home page.

<!-- start main flash banner -->
<div class="flashcontent" id="flashcontent">
<a href="http://www.adobe.com/go/get/flashplayer/" target="_blank"><img alt="Get Adobe Flash Player" src="./images/community_noflashver.jpg" width="925" height="340" /></a>
</div>

<script type="text/javascript">
var so = new SWFObject('/Data/Sites/1/flash/banner.swf', "mymovie", "925", "340", "8", "#ffffff");
so.addVariable('moviePath', '/Data/Sites/1/flash/movie.swf');
so.addVariable('basePath', '/Data/Sites/1/flash/');
so.write("flashcontent");
</script>
<!-- end main flash banner --> 

I once worked on a .NET wrapper to make it easier but I can't remember if I finished it, but it would be added to laytout.master like this:

<mp:FlashMovie id="flash1" runat="server"
Movie="~/Data/Sites/1/flash/banner.swf"
Width="600"
Height="200"
FlashVersion="6">
<mp:FlashParameter runat="server" Name="menu" Value="false" />
<mp:FlashVariable runat="server" Name="approot"
Value='<%# Request.ApplicationPath %>' />
</mp:FlashMovie>

Not sure if it works, but maybe worth a try.

The FCKeditor also has a toolbar item for inserting Flash movies in content.

I recommend using both google analytics and woopra. They provide a lot of information and reports, but there is nothing implemented at the moment to track anything by user profile properties. We do track (automatically in google analytics) authenticated users as "Members" and we track customers who have purchased from the store as "Customers".

Hope it helps,

Joe

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