Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2006-04-22 18:22:21
- Myjestic
- Member
- Registered: 2006-04-22
- Posts: 17
dowrap BUG - <li> not inserted
I think I´ve found a bug in the function dowrap()
I call the function “category_list”. This function calls the following line:
return doLabel($label, $labeltag).doWrap($out, $wraptag, $break, $class);
dowrap() should put < li >< /li > around $list if $break is empty and $wraptag is “ul” or “ol”.
But nothing happens. I am not so familiar with PHP, so could you please give me some hints?
function category_list() line 431
function dowrap() line 1406
in file “taghandlers.php”
Offline
#2 2006-04-23 23:23:26
- zem
- Developer Emeritus
- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: dowrap BUG - <li> not inserted
Please post the shortest snippet of PHP code that demonstrates the problem.
Alex
Offline
#3 2006-04-24 09:38:01
- Myjestic
- Member
- Registered: 2006-04-22
- Posts: 17
Re: dowrap BUG - <li> not inserted
Sorry, there is no problem any more. You just have to insert ol or ul in wraptag an LI in Break. If you do so, anything works fine. ;-)
Thanks.
Offline
Pages: 1