1
Zirafka
Xoops and lists
  • 2019/10/14 10:22

  • Zirafka

  • Just popping in

  • Posts: 70

  • Since: 2008/8/9 1


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

Find this section:

public function load($ts
    { 
        
$ts->patterns[]     = "/[li](.*)[/li]/sU"
        
$ts->replacements[] = 'reverse slash 1'

        return 
true
    }


and add two rows:


        
$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

ul margin2pxpadding2px; list-styledecimal insidetext-alignleft;}  
li margin-left2px; list-stylesquare insidecolor#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 orhttps://translate.google.com/translate?sl=cs&tl=en&u=https%3A%2F%2Fwww.zirafoviny.cz%2Fmodules%2Fnews%2Farticle.php%3Fstoryid%3D700

2
Mamba
Re: Xoops and lists
  • 2019/10/15 6:38

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


That looks very interesting!

Thank you for sharing!
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

Login

Who's Online

129 user(s) are online (59 user(s) are browsing Support Forums)


Members: 0


Guests: 129


more...

Donat-O-Meter

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

Latest GitHub Commits