Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#73 2007-07-01 20:43:59

Neko
Member
Registered: 2004-03-18
Posts: 458

Re: Feedback to: Help us test the release candidate for the upcoming 4.0.5

OK, got it: the URL was broken. Correct path includes “event=translator” and not “event=lang”. Now the “file” link appears also within the left navigation. Thanks.

Last edited by Neko (2007-07-01 20:48:00)

Offline

#74 2007-07-23 16:01:43

beno
New Member
From: Hamburg
Registered: 2004-10-31
Posts: 4
Website

Re: Feedback to: Help us test the release candidate for the upcoming 4.0.5

In version 4.0.5 the tag <section_list> seems not to work properly.
On www.afrikanisch-tanzen.de the attribute active_class is used, but <section_list> does not write the given class name to the xhtml-element, no matter whether I place <section_list> in a page template or a form.

This is my form “Navigation”:

<div id="navcontainer">
  <txp:section_list 
    active_class="active" 
    break="li"
    include_default="0" 
    sections="News, Person, Unterricht, Performance, Feedback, Kontakt, Links" 
    wraptag="ul" />
 </div>

The resulting XHTML-code as produced by textpattern 4.0.5: 
 <div id="navcontainer">
  <ul class="section_list">
	<li><a href="http://localhost/afrikanisch-tanzen.de/index.php?s=News">News</a></li>
	<li><a href="http://localhost/afrikanisch-tanzen.de/index.php?s=Person">Person</a></li>
	<li><a href="http://localhost/afrikanisch-tanzen.de/index.php?s=Unterricht">Unterricht</a></li>
	<li><a href="http://localhost/afrikanisch-tanzen.de/index.php?s=Performance">Performance</a></li>
	<li><a href="http://localhost/afrikanisch-tanzen.de/index.php?s=Feedback">Feedback</a></li>
	<li><a href="http://localhost/afrikanisch-tanzen.de/index.php?s=Kontakt">Kontakt</a></li>
	<li><a href="http://localhost/afrikanisch-tanzen.de/index.php?s=Links">Links</a></li>
  </ul>
</div>

Since everything worked fine with version 4.0.4, in pasted the old taghandlers.php into my updated instance of textpattern as a workaround.
The correct XHTML-code produced by this workaround: 
<div id="navcontainer">
  <ul class="section_list">
	<li><a class="active" href="http://afrikanisch-tanzen.de/index.php?s=News">News</a></li>
	<li><a href="http://afrikanisch-tanzen.de/index.php?s=Person">Person</a></li>
	<li><a href="http://afrikanisch-tanzen.de/index.php?s=Unterricht">Unterricht</a></li>
	<li><a href="http://afrikanisch-tanzen.de/index.php?s=Performance">Performance</a></li>
	<li><a href="http://afrikanisch-tanzen.de/index.php?s=Feedback">Feedback</a></li>
	<li><a href="http://afrikanisch-tanzen.de/index.php?s=Kontakt">Kontakt</a></li>
	<li><a href="http://afrikanisch-tanzen.de/index.php?s=Links">Links</a></li>
  </ul>
</div>

-- BENO (beno.de) 
(Edited -- sorry for pasting the wrong XHTML-example)

Last edited by beno (2007-07-23 16:31:13)


beno.de

Offline

#75 2007-07-23 17:53:10

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,330
Website Mastodon

Re: Feedback to: Help us test the release candidate for the upcoming 4.0.5

Looks like we have a bug with mixed case section names. Would you mind trying to change your section names to all lower case, please? I’ll dig into it.

Offline

#76 2007-07-23 18:38:49

beno
New Member
From: Hamburg
Registered: 2004-10-31
Posts: 4
Website

Re: Feedback to: Help us test the release candidate for the upcoming 4.0.5

Hi, wet, you hit the point. Problem solved! Thank you a lot.


beno.de

Offline

#77 2007-07-23 18:54:09

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,330
Website Mastodon

Re: Feedback to: Help us test the release candidate for the upcoming 4.0.5

I’ve just commited rev 2503 of taghandlers.php to the development repository. This revision supports mixed-case section and category names again – if you’d rather not liked to permanently change URLs, for Google’s sake. You could grab taghandlers.php rev 2503 here if you dare… (it’s basically the same code as in 4.0.5 plus two bug fixes).

Offline

#78 2007-07-24 00:29:46

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Feedback to: Help us test the release candidate for the upcoming 4.0.5

Offline

Board footer

Powered by FluxBB