Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Bullet points and numbered list
Every time I make bullet points or a numbered list, the last item separates from the whole. If it’s in bullet points, there will be a space between the last and the rest of the items in the list. If it’s in the numbered list, the last would separate as well and count itself as “1” as if beginning a new list again. I haven’t touched any of the codes as far I know, and the last itemized list that I made is here. I have no idea what is going on. Could you guys please help me? This’ll just throw away the list feature all together… can’t use it in the future anymore. :(
Offline
Re: Bullet points and numbered list
i’m assuming you’re referring to textile? this became an issue because something had changed in php 5.2.4. the solution can be found here
Last edited by iblastoff (2007-12-30 12:05:02)
Offline
#3 2007-12-30 12:01:10
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: Bullet points and numbered list
I suppose you have already solved this because I can’t see such problem in the page you linked. The html also looks right.
Offline
Re: Bullet points and numbered list
Thanks! The link provided above is the last entry I was able to functionally use the textile list. I haven’t fixed it yet. I’m sorry but I’m really dumb with php. What should I do exactly? Which of those replacement codes should I follow? This one?
foreach($text as $line) {
$nextline = next($text);
replace with
foreach($text as $nr => $line) {
$nextline = isset($text[$nr+1]) ? $text[$nr+1] : false;
??
Thanks guys :)
Offline
Re: Bullet points and numbered list
Just download this file and use that instead of your current /textpattern/lib/classTextile.php file.
Offline
Re: Bullet points and numbered list
THANKS! Happy Holidays! :D
Offline
Pages: 1