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.

template bug

February 11, 2011 6:04am

Subscribe [2]
  • #1 / Feb 11, 2011 6:04am

    Marco Angeli

    34 posts

    Hi,
    I’ve got a really simple navigation menu:

    <ul class="menu1">
    
    <li class="about"><a href="http://about">about</a></li>
    <li class="live"><a href="http://live">live</a></li>
    <li class="audio"><a href="http://audio">audio</a></li>
                        
    </ul>

    I set up all my templates, however, if I click the audio link the template won’t show. Instead I get the index page. Very strange behavior, because if I create a new template group (let’s call it “listen”) with a blank index page and add a link to it

    <li class="audio"><a href="http://listen" class="selected">listen</a></li>

    all works well.

    Why EE loves this template and rejects the other? Both are blank pages with only one word inside!

    Marco

  • #2 / Feb 11, 2011 12:44pm

    Ingmar

    29245 posts

    Can you give us a link to the site? It looks like a simply path / linking issue. What version and build of EE are you using?

  • #3 / Feb 14, 2011 4:22am

    Marco Angeli

    34 posts

    Hi Ingmar,
    thank you for your reply…
    I use ExpressionEngine v2.1.3 - Build:  20101220;

    the strange thing is that when I click for the first time on the audio link, nothing happens (I get the home page); if I click twice I get the correct page…I really can’t figure out what’s going on!

    In your pm you’ll find the link.
    (update: sent by mail)

    Thanks again

    Marco

  • #4 / Feb 14, 2011 9:48am

    Sue Crocker

    26054 posts

    Hi, Marco. We work in shifts, and unless you are asked, we don’t typically request login details this soon in the process. So Ingmar won’t be back on shift again for about 8 hours or so..

    Are you using any sort of .htaccess to remove index.php from your site? That’s what it sounds like..

  • #5 / Feb 14, 2011 9:57am

    Marco Angeli

    34 posts

    Hi Sue,

    you’re right, I use .htaccess, but I’m not sure that explains the bug…

    anyway, I send you the link…

  • #6 / Feb 14, 2011 10:33am

    Sue Crocker

    26054 posts

    About all I can do is have you get rid of your .htaccess file and make sure the links work correctly with it gone. You’ll need to index.php back in your urls. We can’t provide direct support for using .htaccess to remove index.php. Other members of the community are welcome to assist, though. I can move this to the CodeShare Corner..

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

ExpressionEngine News!

#eecms, #events, #releases