menu wont return to main section
  • On my menu i have General News, On Line, On Shelf etc

    If i click General News, then click on an article to read, finishing reading, so click on the General News menu again it just reloads the article instead of loading the section page

    if i do the same in one of the other sections it goes back to the section page

    you can have a look at www.fdiforum.net


    Just as an added note - if you click on the Doity Engineering article you will also see the problem i have with a <div id"_mcePaste"> tag that appears in my text for no reason overriding my actual style sheet
  • 10 Comments sorted by
  • Hi Mark,

    Can you please send us the template that builds that menu? looks like
    there's something wrong there.


    On Mon, Sep 27, 2010 at 12:13 PM, mark casson
    <campsite-support@lists.sourcefabric.org> wrote:
    >
    > On my menu i have General News, On Line, On Shelf etc
    >
    > If i click General News, then click on an article to read, finishing reading, so click on the General News menu again it just reloads the article instead of loading the section page
    >
    > if i do the same in one of the other sections it goes back to the section page
    >
    > you can have a look at www.fdiforum.net
    >
    >
    > Just as an added note - if you click on the Doity Engineering article you will also see the problem i have with a <div id"_mcePaste"> tag that appears in my text for no reason overriding my actual style sheet
    >


    --
    Holman Romero
    Senior Software Engineer, Sourcefabric
    holman.romero@sourcefabric.org

    Salvátorská 10
    110 00 Praha 1, Czech Republic
    +420 608910633

    http://www.sourcefabric.org
  • {{ local }}
    <table width="100%" cellspacing="0" cellpadding="0" border="0" bordercolor="#005496" align="left">
    <tr>
    <td bgcolor="#005496" height="21" >
    <p class="index-naslovi"><a href="/" class="index-naslovi">Home</a></p></td>
    </tr>
    <tr>
    <td height="5"></td>
    </tr>
    <tr>

    <td bgcolor="#A6A6A6" height="16"><p class="index-naslovi">Sections</p></td>
    </tr>
    {{ set_current_issue }}
    {{ list_sections constraints="number smaller 150" }}
    <tr>
    <td class="menu"><p class="index"><a class="index" href="{{ uri }}">{{ $campsite->section->name }}</a></p></td>
    </tr>

    <tr>
    </tr>
    {{ /list_sections }}



    <tr>


    <tr>

    <td bgcolor="#A6A6A6" height="16"><p class="index-naslovi">Exhibitions</p></td>
    </tr>
    {{ list_sections constraints="number greater 151 number smaller 190" }}
    <tr>
    <td class="menu"><p class="index"><a class="index" href="{{ uri }}">{{ $campsite->section->name }}</a></p></td>
    </tr>

    <tr>
    </tr>
    {{ /list_sections }}



    <tr>

    <td bgcolor="#A6A6A6" height="16"><p class="index-naslovi">About</p></td>
    </tr>
    {{ list_sections constraints="number greater 199" }}
    {{ if $campsite->section->number != 230 }}
    <tr>
    <td class="menu"><p class="index"><a class="index" href="{{ uri options="reset_article_list" }}">{{ $campsite->section->name }}</a></p></td>
    </tr>
    <td height="5"></td>
    <tr>
    </tr>
    {{ /if }}
    {{ /list_sections }}


    <tr>
    <td bgcolor="#B3B3B3" height="16" width="132">
    <p class="index-naslovi">Useful Links</p></td>
    </tr>
    {{ set_section number="230" }}
    {{ list_articles constraints="type is Link" }}
    <tr>
    <td class="menu"><p class="index"><a class="index" href="http://{{ $campsite->article->url }}" target="_blank">{{ $campsite->article->name }}</a></p></td>
    </tr>
    <tr>
    <td height="5"></td>
    </tr>
    {{ /list_articles }}
    </table>
    <br>
    {{ /local }}
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    you've missed options="section":
    <td class="menu"><p class="index"><a class="index" href="{{ uri options="section" }}"
  • does that replace this

    <td class="menu"><p class="index"><a class="index" href="{{ uri }}">{{ $campsite->section->name }}</a></p></td>

    or where does it go
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    yes
  • Hi

    Unfortunately that has not worked

    mark
  • It should work, do you have Campsite cache enable?
    You could try also options="reset_article_list"
  • Cache is set to NO

    still not working

    Just been on a new machine to make sure it wasnt related to my cache

    I dont get how the others work and not this one if its a problem with the menu template

    mark
  • Did you try the reset_article_list option as indicated?
  • I have been changing the tpl file while logged in as the administrator

    this time i have manually changed by ftp and now it works

    thanks for your help

    mark