ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

sIFR: Does anyone have experience hooking it up with EE

November 19, 2007 2:25pm

Subscribe [0]
  • #1 / Nov 19, 2007 2:25pm

    swenke

    70 posts

    Hello,

    I have a layout that I have working outside of EE and all but as I take it
    apart to tie into EE the sIFR it all goes to pot.

    Any pointers?

    Thanx for your time,
    Chris

  • #2 / Nov 19, 2007 2:57pm

    Leslie Camacho

    1340 posts

    Hi Chris,

    I don’t have much experience with sIFR but you’ll likely get a much better response from the community if you provide more detail than simply “it all goes to pot.” That tells us absolutely nothing about what’s happening, what implementation of sIFR you’re using, your actual code, what you’re trying to accomplish with it, or a link where we might see the problem.

  • #3 / Nov 19, 2007 3:03pm

    Kyle Slattery

    109 posts

    I actually just recently got sIFR working on an EE project.  If you post some source code and give a little more info, I might be able to help out.

  • #4 / Nov 19, 2007 3:43pm

    swenke

    70 posts

    Leslie,

    Your exactly right - Sorry my bad. Will try to be more descriptive.


    Kyle,

    Example Page:
    http://neednotsay.com/expressionEngine/index.php/glossary/5_0_glossary/

    What I want to happen:
    Navigation header should render in with sIFR code.

    Code:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content=;text/html; charset=utf-8" />
        <title>Northland Securities 1031: Secure Login</title>
        <link rel='stylesheet' type='text/css' media='all' href='{stylesheet=pwStyle/all}' />
        <!--[if lt IE 7]><link rel='stylesheet' type="text/css" href='{stylesheet=pwStyle/ie}' media="screen"/><![endif]--> 
    
        
    </head>
    <body class="inner">
        <div id="page">
            <div id="header">
                <h1><a href="http://{path=welcome/1_0_welcome}">Northland Securities</a></h1>
                <span class="log"><a href="#">LOG-OUT</a></span>
            </div>
            <ul id="menu">
                <li><span><a href="http://{path=sponsor/2_0_sponsorDescription}">SPONSORS</a></span></li>
                <li><span><a href="http://{path=propertyWatch/3_0_propertyWatch_od}">PROPERTY WATCH</a></span></li>
                <li><span><a href="http://{path=paperWork/4_0_paperworkChecklist}">PAPERWORK CHECKLIST</a></span></li>
                <li><span class="active"><a href="http://{path=glossary/5_0_glossary}">GLOSSARY</a></span></li>
                <li><span><a href="http://{path=contactUs/6_0_contactUs}">CONTACT US</a></span></li>
                <li><span><a href="http://{path=shoppingCart/PPM_requestShoppingCart}">PPM REQUEST</a></span></li>
                <li class="last"><span><a href="http://{path=myAccount/myAccount}">MY ACCOUNT</a></span></li>
            </ul>
            <div id="content">
                <div class="content">
                    <div class="headline">
                        <strong>NORTHLAND SECURITIES 1031</strong>
                        <h2>Glossary</h2>
    <p>                </div><br />
                    <div class="left-col"><br />
                        <br />
                            Brief description of intended use of Glossary and how it relates the industry. Lorem ipsum dolor<br />
                            sit amet, consectetuer adipiscing elit. Cras eros. Proin lectus arcu, hendrerit at, scelerisque sed,<br />
                            pulvinar a, urna.<br />
                        <br />
                    </div><br />
                    <div class="right-col"><br />
                        <ul class="alphabet"><br />
                            <li><a href="#">A</a></li><br />
                        </ul><br />
                        <strong>A</strong><br />
                        <br />
                            <strong>Alphabetical Listing(s)</strong></p>
    
    <p>                        Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt<br />
                            ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco<br />
                            laboris nisi ut aliquip ex ea commodo consequat.<br />
                        <br />
                        <a href="#">Top</a><br />
                    </div><br />
                </div><br />
            </div><br />
            <div id="footer"><br />
                <ul><br />
                    <li>©2007 Northland Securities, Inc</li><br />
                    <li class="separator">Member<a href="#">SiPC</a> <a href="#">FINRA</a> <a href="#">TICA</a></li><br />
                    <li class="indent"><a href="#">Privacy Policy</a></li><br />
                    <li><a href="#class=separator">Disclosure</a></li><br />
                    <li><a href="#class=separator">Order Routing Policy</a></li><br />
                    <li><a href="#class=separator">Business Continuity Plan</a> (PDF)</li><br />
                </ul><br />
            </div><br />
        </div><br />
    </body><br />
    </html>

    From the looks of the Hits on the control panel it sure looks like the code is being called so I imagine its something in my javascript code.

    Any possible solutions/suggestions would be great.

    Thanx,
    Chris

  • #5 / Nov 19, 2007 7:17pm

    Kyle Slattery

    109 posts

    Maybe I’m missing something, but it doesn’t look like the javascript is even being included in your <head> section, nor is the sIFR CSS.

  • #6 / Nov 19, 2007 8:32pm

    swenke

    70 posts

    Not sure went wrong there - Some things will not display in the forum view the code below is after the CSS call.

    script type=“text/javascript” src=”{path="javascripts/sifr"}”

  • #7 / Nov 19, 2007 9:05pm

    Kyle Slattery

    109 posts

    Looking at what that renders, it does “index.php/javascripts/sifr”, which means EE is expecting there to be a template “sifr” in template group “javascripts”.  Does this exist?  The way I’m doing it is just putting it in a separate file (not a template) and just setting the src to that path.

  • #8 / Nov 20, 2007 12:02am

    swenke

    70 posts

    Kyle,

    To your first question: I do have the sifr set as a template in the template group javascripts.
    Than I tried to “hard wire” like you mentioned and still not go.

    Does this help explain anything?
    src=“http://www.neednotsay.com/expressionEngine/js_scripts/sifr.js”

    Thanx,
    Chris

  • #9 / Nov 20, 2007 12:06am

    Kyle Slattery

    109 posts

    Firebug is reporting an error on line 7 on sifr.js: “missing ; before statement”.  Since you aren’t even referencing the font lines (the ones below) maybe try removing them and seeing if that works.

    var gotic-bold = { 
                   src: Ôhttp://www.neednotsay.com/expressionEngine/swf/gotic-bold.swfÕ 
            };
    var gotic = { 
                   src: Ôhttp://www.neednotsay.com/expressionEngine/swf/gotic.swfÕ 
            };
  • #10 / Nov 20, 2007 12:10am

    swenke

    70 posts

    not sure if I follow you?

    Since you aren’t even referencing the font lines (the ones below) maybe try removing them and seeing if that works.

  • #11 / Nov 20, 2007 12:10am

    Kyle Slattery

    109 posts

    Sorry, that wasn’t very clear.  Try removing the lines I copy and pasted above and see what happens.

  • #12 / Nov 20, 2007 12:26am

    swenke

    70 posts

    Kyle,

    It Worked!!!!!

    I only hope that I can return the favor someday.

    Thank you so much,
    Chris

  • #13 / Nov 20, 2007 12:28am

    Kyle Slattery

    109 posts

    Great!  Glad I could help!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases