1
abrizan
How do I add a new preference to the system module?
  • 2007/5/11 22:11

  • abrizan

  • Just popping in

  • Posts: 82

  • Since: 2005/11/14


I figured out a simple (and much needed) hack to use any installed editor for your comments.
I simply borrowed a block of code from the awesome wiwimod module and pasted it into /include/comment_form.php; that part works well.
For the other part of the hack I could only hard-code the preferred editor or store a selection in a Module preference, so I had to hack each module which uses it.

How do I add a new preference to the system module?
(xoops 2.016)

2
Herko
Re: How do I add a new preference to the system module?
  • 2007/5/13 18:36

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


you'll have to edit modules/system/xoops_version.php

There's some excellent posts on this forum that explain how to add any of the wysiwyg editors to a module, they also explain what you should add to the xoops_version.php file.

Herko

Login

Who's Online

154 user(s) are online (107 user(s) are browsing Support Forums)


Members: 0


Guests: 154


more...

Donat-O-Meter

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

Latest GitHub Commits