Alter source list code

Discussion forum for Extension Writers regarding Extension Development.
paracosm
Registered User
Posts: 11
Joined: Mon Dec 12, 2016 2:11 pm

Re: Alter source list code

Post by paracosm » Wed Jul 05, 2017 3:00 pm

Thank you for all the help guys!
I got my extension to work, and the default is now 'none'.

One last question: the old posts using this tag still show the previous default (aka the circles and squares etc). I did a hard refresh (CTRL +F5) but they don't seem to fade. Or is this something which needs time?

User avatar
JoshyPHP
Code Contributor
Posts: 1059
Joined: Mon Jul 11, 2011 12:28 am

Re: Alter source list code

Post by JoshyPHP » Wed Jul 05, 2017 9:55 pm

No, it won't change.

What you can do is edit the bbcode.html of your style and replace this:

Code: Select all

<!-- BEGIN ulist_open_default --><ul><!-- END ulist_open_default -->
...with this:

Code: Select all

<!-- BEGIN ulist_open_default --><ul style="list-style-type:none"><!-- END ulist_open_default -->
Or you could edit your CSS and add something like ul { list-style-type: none }
I wrote the thing that does BBCodes in 3.2.

Post Reply

Return to “Extension Writers Discussion”