| 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 |