Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Aiheen aloitti: anna.young - helmikuu 11, 2009, 01:33:43 IP

Otsikko: Problem with [list type=decimal]
Kirjoitti: anna.young - helmikuu 11, 2009, 01:33:43 IP
I did a Forum search, couldn't find anything.

SMF 2.0b4, theme: imPulse by Bloc, no mods.

For some strange reason decimal list will not render with numerals, just returns the bullets, even though it shows numerals in the preview.

I switched to SMF Default Theme - Core theme and still get just bullets.

I tried it here and it works perfectly.

What am I doing wrong?
Otsikko: Re: Problem with [list type=decimal]
Kirjoitti: karlbenson - helmikuu 11, 2009, 02:06:20 IP
Its a known bug on SMF 2.x.
http://dev.simplemachines.org/mantis/view.php?id=2892

Hopefully it will be fixed for RC2
Otsikko: Re: Problem with [list type=decimal]
Kirjoitti: anna.young - helmikuu 11, 2009, 02:42:45 IP
Thanks a million regularexpression, tried changing manually, but no luck...

How come it's working here though?
Otsikko: Re: Problem with [list type=decimal]
Kirjoitti: karlbenson - helmikuu 11, 2009, 02:47:22 IP
I believe its because this theme predates the 2.x semanticization of default core theme (or at leastthe point where the bug was introduced).

It doesn't affect the unique smf theme here. But it will if you switched to default core.
Otsikko: Re: Problem with [list type=decimal]
Kirjoitti: anna.young - helmikuu 11, 2009, 03:37:31 IP
Thank you again, I can see that CSS here handles lists differently...

I guess it's not that important, will wait for an official fix... :)
Otsikko: Re: Problem with [list type=decimal]
Kirjoitti: jmartens - helmikuu 20, 2009, 06:50:21 AP
Lainaus käyttäjältä: anna.young - helmikuu 11, 2009, 03:37:31 IP
I guess it's not that important, will wait for an official fix... :)
It seems not to be fixed in SMF 2.0 RC 1 at least: http://www.simplemachines.org/community/index.php?topic=281482.0
Otsikko: Re: Problem with [list type=decimal]
Kirjoitti: karlbenson - helmikuu 20, 2009, 06:56:06 AP
No its not fixed in RC1.

This link gives the current status
http://dev.simplemachines.org/mantis/view.php?id=2892

It has been acknowledged by the devs, but not fixed as yet.
Otsikko: Re: Problem with [list type=decimal]
Kirjoitti: Brettflan - helmikuu 22, 2009, 03:16:31 IP
Yeah, just came across this and it annoyed me, but I came up with a simple workaround using some CSS-fu. Edit your theme's style.css file and add this to the bottom:

.bbc_list[style='list-style-type: decimal;'] li
{
    list-style-type: decimal;
}
Otsikko: Re: Problem with [list type=decimal]
Kirjoitti: anna.young - helmikuu 23, 2009, 11:43:53 AP
Thanks Brettflan, but it did not make any difference for me...
Otsikko: Re: Problem with [list type=decimal]
Kirjoitti: karlbenson - helmikuu 23, 2009, 11:51:17 AP
did you ctrl + f5 to force your browser to get a new version of the file.
Otsikko: Re: Problem with [list type=decimal]
Kirjoitti: anna.young - helmikuu 23, 2009, 08:03:50 IP
Thanks, perfect! That did the trick!
Otsikko: Re: Problem with [list type=decimal]
Kirjoitti: JimM - maaliskuu 14, 2009, 02:29:59 IP
I'll mark this one as solved then. :)