Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2014-12-08 20:04:16

pierlu
Member
Registered: 2014-08-12
Posts: 153

Problem a menu page

I have a problem I disappeared from the menu page:
carry a part of the template code …

menu
<li> <txp: section name = “default” link = “1”> Home </ txp: section> </ li>
<li> <a href=”#”> Places </a>
<ul>
<txp: article_custom section = “places” limit = “99” category = “primary-places”>
<li> <txp: permlink> <txp: title /> </ txp: permlink> </ li>
</ txp: article_custom>
<li> <a href=”#”> <span class = “imMnLv”> The Speakers </ span> </a>
<txp: article_custom section = “places” category = “speakers” limit = “99” wraptag = “ul”>
<li> <txp: permlink> <txp: title /> </ txp: permlink> </ li>
</ txp: article_custom>
</ li>
</ ul>
</ li>

page territory (section places)
<txp:output_form form=“head” />
<body>
<div id=“imSite”>
<div id=“imHeader”>

<h1>Parrocchia abbaziale Ss.Pietro e Paolo</h1>
<div id=“imMEObj_50” style=“position: absolute; left: 1px; top: 1px; width: 985px; height: 229px;” ><script type=“text/javascript”>imMESSPlay(50,0,[[“me_ss50.jpg”,22,6],[“me_ss51.jpg”,22,6]]);</script></div>
</div>
<div class=“imInvisible”>
<hr />
<a href=”#imGoToCont” title=“Salta il menu di navigazione”>Vai ai contenuti</a>
</div>
<div id=“imBody”> <div id=“imMenuMain”>

<!— Menu START —>
<a name=“imGoToMenu”></a><p class=“imInvisible”>Menu principale:</p>

<txp:output_form form=“mainMenu” />

<!— Menu END —>
<!— Menu END —>

</div>
<hr class=“imInvisible” />
<a name=“imGoToCont”></a> <div id=“imContent”>

<!— Page START —>

<div id=“imPage”>

<div class=“articlebody”>
<txp:article section=“luoghi” category=“primaria-luoghi”/>
</div>
</div>
<!— Page END —>

<hr class=“imInvisible” />
<a name=“imGoToCont”></a> </div>

<div id=“imFooter”> </div>
</div>
</div>
<div class=“imInvisible”>
<hr />
<a href=”#imGoToCont” title=“Rileggi i contenuti della pagina”>Torna ai contenuti</a> | <a href=”#imGoToMenu” title=“Naviga ancora nella pagina”>Torna al menu</a>
</div>

<div id=“imShowBoxBG” style=“display: none;” onclick=“imShowBoxHide()”></div>
<div id=“imShowBoxContainer” style=“display: none;” onclick=“imShowBoxHide()”><div id=“imShowBox” style=“height: 200px; width: 200px;”></div></div>
<div id=“imBGSound”></div>
<div id=“imToolTip”><script type=“text/javascript”>var imt = new IMTip;</script></div>
<script type=“text/javascript”>imPreloadImages(‘res/immnmn_0.png,res/immnlv_a.gif,res/immnlv_b.gif’)</script>
</div>
</body>
</html>

What can it be?

Offline

#2 2014-12-08 21:28:13

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Problem a menu page

First remove all those spaces in the menu and see if it helps:

<li><txp:section name="default" link="1">Home</txp:section></li>
<li><a href="#">Places</a>
<ul>
<txp:article_custom section="places" limit="99" category="primary-places">
<li><txp:permlink><txp:title /></txp:permlink></li>
</txp:article_custom>
<li><a href="#"><span class="imMnLv">The Speakers</span></a>
<txp:article_custom section="places" category="speakers" limit="99" wraptag="ul">
<li><txp:permlink><txp:title /></txp:permlink></li>
</txp:article_custom>
</li>
</ul>
</li>

Last edited by els (2014-12-08 21:30:21)

Offline

#3 2014-12-08 23:35:13

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,304

Re: Problem a menu page

pierlu, do you have a sort of typing aid activated (on the Mac e.g. Typinator, Butler, Keyboard Maestro) that inserts these additional blanks automatically for you? Mostly it’s possible to deactivate these macros and/or programs in certain applications.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

Board footer

Powered by FluxBB