Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...sIFR in dotnetnukesIFR in dotnetnuke
Previous
 
Next
New Post
7/31/2007 9:11 AM
 

I would like to know how i can implement sIFR into my skin.
This is my first dotnetnuke project, so please explain clearly.

I know how to implement it in a regular html/php site, but i don't find any info on implementing it in a dotnetnuke site.
Only the video tutorials that you have to pay for, but i'm not planning to do that.  Because this is probably the only project that i will make in dotnetnuke.

So i know how sIFR works, but is it that difficult to implement it in dotnetnuke?

 
New Post
9/3/2007 1:49 PM
 

I implemented it into one of the sites my firm developed using DNN: www.grenadahotelsinfo.com

There's a tutorial on Creative DNN to implement sIRF2 on DNN that I looked at but sIFR3 is the newest version which apparently works alot better.

Here's how I did it:

  1. Download and extract sIFR3
  2. Put sifr.js, sifr-config.js, sifr-debug.js in the js/ subfolder of your DNN installation
  3. Create a flash/ subfolder in your DNN installation folder
  4. Generate the flash font files by following the directions here: http://wiki.novemberborn.net/sifr3/How+to+use
  5. Navigate to the DNN tab that you want sIFR on and go to the Page Settings.
  6. Insert the script calls into Page Header Tags. Here's what I have:
    <script src="http://www.grenadahotelsinfo.com/js/sifr.js" type="text/javascript"></script>
    <script src="http://www.grenadahotelsinfo.com/js/sifr-debug.js" type="text/javascript"></script>
    <script src="http://www.grenadahotelsinfo.com/js/sifr-config.js" type="text/javascript"></script>
  7. For the CSS, I guess you can stick the calls into the same Page Header Tags but I put it into the Portal CSS so I can access it thru the portal itself. It required a little modification. Here's what I have:

    /* ===sIFR===*/
    @media print
    {
    .sIFR-flash {
     display: none !important;
     height: 0;
     width: 0;
     position: absolute;
     overflow: hidden;
    }
    .sIFR-alternate {
     visibility: visible !important;
     display: block !important;
     position: static !important;
     left: auto !important;
     top: auto !important;
    }
    }

    @media screen
    {
    .sIFR-flash {
     visibility: visible !important;
     margin: 0;
     padding: 0;
    }
    .sIFR-replaced, .sIFR-ignore {
     visibility: visible !important;
    }
    .sIFR-alternate {
     position: absolute;
     left: 0;
     top: 0;
     width: 0;
     height: 0;
     display: block;
     overflow: hidden;
    }
    .sIFR-active .sifrhead {
          visibility: hidden;
          font-family: Trebuchet MS, Tahoma, Arial;
          font-size: 23px;
          line-height: 1em;
          color: #780000;
    }
  8. I specifed the CssClass property in my Title skin object to use the sifrhead style. You can use a span or a div tho or anything else for that matter.

This is a pretty basic and rudimentary implementation of it. The sIFR3 docs should explain anything I missed here but lastly, my sifr-config.js looks like this:

var aqueline = {
  src: 'http://www.grenadahotelsinfo.com/flash/aqueline.swf'
};

sIFR.activate(aqueline); // From revision 209 and onwards

sIFR.replace(aqueline, {
  selector: '.sifrhead',
  wmode: 'transparent',
  css: {
   '.sIFR-root': { 'color': '#780000' }
  },
  fitExactly: 'true',
  tuneHeight: '-36',
  offsetTop: '-16',
  ratios: [11,3.13,13,3.04,17,3.03,25,3,26,2.98,28,2.99,50,2.98,62,2.97,86,2.96,90,2.95,91,2.96,93,2.95,94,2.96,100,2.95,103,2.96,2.95]
});

/*
sIFR.debugMode = true;
sIFR.debug.ratios({ src: 'http://ghta2.modone.net/flash/aqueline.swf', selector: '.sifrhead' });
*/

 

Let me know if you get thru.

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...sIFR in dotnetnukesIFR in dotnetnuke


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out