Forums

[resolved] Custom Permalinks brake sIFR? (6 posts)

  1. spscheele
    Member
    Posted 4 years ago #

    Dear WordPress people,

    I'm experiencing some problems with the custom permalink structure in combination with sIFR v3.

    It seems like the sIFR files aren't found on a category page (/blog or /portfolio) even when I use the full paths to them. sIFR will only work on index.php.

    When I change the Permalinks structure back to default (/?cat=x) then sIFR seems to work fine again.

    I know sIFR 3 is still quite new, but maybe this is something that is also known in sIFR 2 or maybe I'm just using it wrong?

  2. somayo
    Member
    Posted 4 years ago #

    I have the exact same problem.
    Investigating it right now. Pls shout if you find a solution!

  3. spscheele
    Member
    Posted 4 years ago #

    great, (that your also investigating)

    I'll keep you posted ;)

  4. somayo
    Member
    Posted 4 years ago #

    gah..my fault was really stupid.
    forgot to set the path to my css files correctly.

    wrong way:

    <link href="stylesheets/sIFR-screen.css" rel="stylesheet" type="text/css" media="screen" />
    <link href="stylesheets/sIFR-print.css" rel="stylesheet" type="text/css" media="print" />

    right way:

    <link href="<?php echo get_template_directory_uri(); ?>/stylesheets/sIFR-screen.css" rel="stylesheet" type="text/css" media="screen" />
    <link href="<?php echo get_template_directory_uri(); ?>/stylesheets/sIFR-print.css" rel="stylesheet" type="text/css" media="print" />
  5. spscheele
    Member
    Posted 4 years ago #

    Well that explains :) I have the sIFR files in the plugins directory, so I guess the path never changes. I used an absolute path to the files but that also doesn't seem to work :/

    It's weird cause it seems to do something (I see some overlapping happening when the page loads) but it then seems to halt.

  6. spscheele
    Member
    Posted 4 years ago #

    Ok I found the problem. I had no / before my paths in the sIFR-config.js :)

    I had:

    var utopia = {
      src: 'sifr/flash/utopia.swf'
    };

    and it has to be:

    var utopia = {
      src: '/sifr/flash/utopia.swf'
    };

Topic Closed

This topic has been closed to new replies.

About this Topic