Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
2 + 3 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
     

Re: Xoops and lists
by Mamba on 2019/10/15 6:38:53

That looks very interesting!

Thank you for sharing!
Xoops and lists
by Zirafka on 2019/10/14 10:22:21

Find file li.php on XOOPSROOT/CLASS/TEXTSANITIZER/LI directory and open it with editor.

Find this section:

le="color: #000000"><?php public function load($ts) { $ts->patterns[] = "/[li](.*)[/li]/sU"; $ts->replacements[] = 'reverse slash 1'; return true; }


and add two rows:

le="color: #000000"><?php { $ts->patterns[] = "/[li](.*)[/li]/sU"; $ts->replacements[] = '<li>1</li>'; $ts->patterns[] = "/[li=(.*)](.*)[/li]/sU"; $ts->replacements[] = '< li type=" reverse slash 1 " > reverse slash 2 < / li >'; return true; }


Find file style.css on THEMES dirctory and open it with editor.

Find rows this rows

le="color: #000000"><?php ul { margin: 2px; padding: 2px; list-style: decimal inside; text-align: left;} li { margin-left: 2px; list-style: square inside; color: #2F5376}


and edit, or delete, parameter "list-style" (delete word "decimal" and "square").

Thats all :)

XOOPS can now use unordered and various ordered lists.

Demo: https://www.zirafoviny.cz/modules/news/article.php?storyid=700 or https://translate.google.com/translate?sl=cs&tl=en&u=https%3A%2F%2Fwww.zirafoviny.cz%2Fmodules%2Fnews%2Farticle.php%3Fstoryid%3D700

Who's Online

189 user(s) are online (150 user(s) are browsing Support Forums)


Members: 0


Guests: 189


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits