1
brandonj
Using HTML in the FAQ module.
  • 2004/3/18 4:47

  • brandonj

  • Just popping in

  • Posts: 2

  • Since: 2004/3/18


Is there any way to make entries in the FAQ with html code in them? (not comments submitted by users about the FAQ) But say I wanted to put like a table in one of the FAQ entries, is there any way to do that? I tried unchecking the box that says "Disable HTML tags" but that doesn't seem to help.. thanks in advance.

2
Stewdio
Re: Using HTML in the FAQ module.
  • 2004/3/18 5:01

  • Stewdio

  • Community Support Member

  • Posts: 1560

  • Since: 2003/5/7 1


What version of XOOPS are you running?

A bit of a longshot here, but have you tried using [Xoops code] (Square brakets akin to bbcode).

Last resort would be to try to reupload the files.

Other then that, I'm not sure if there is a bug in the HTML option for the FAQ or not.

3
brandonj
Re: Using HTML in the FAQ module.
  • 2004/3/18 5:10

  • brandonj

  • Just popping in

  • Posts: 2

  • Since: 2004/3/18


I'm using the most recent version of xoops, and a lot of things can't be done with the bracket codes.. most of which are what i'm trying to do heh. I installed XOOPS through fantastico if that helps any..

4
HughG
Re: Using HTML in the FAQ module.
  • 2004/3/18 5:11

  • HughG

  • Not too shy to talk

  • Posts: 124

  • Since: 2003/2/21


putting a 'table' within might be tricky.. you can use html within the mod just like sections...etc.

Ok, just tried it and used
<table border="1" width="100%">
  <
tr>
    <
td width="33%">atd>
    <
td width="33%">atd>
    <
td width="34%">atd>
  tr>
table>


and it worked. just make sure you UNCHECK the disable html.

you can see it here....for a bit then ill be removing it.

http://www.4thefort.com/modules/xoopsfaq/index.php?cat_id=14

oh and make sure you have your cache off when trying it

5
Stewdio
Re: Using HTML in the FAQ module.
  • 2004/3/18 5:27

  • Stewdio

  • Community Support Member

  • Posts: 1560

  • Since: 2003/5/7 1


Also found this solution here.

I'm not sure if it's related or not, so if it doesn't work, revert your changes back to the originals before debugging further.

To solve this, in the SITE/html/modules/xoopsfaq/admin
directory edit the index.php file.
Goto line 219 and edit this line:
$contents_contents =
$myts->makeTareaData4Edit(myrow['contents_contents']);
change it to:
$contents_contents =
$myts->makeTareaData4Edit(htmlentities($myrow['contents_contents']));

Login

Who's Online

886 user(s) are online (321 user(s) are browsing Support Forums)


Members: 0


Guests: 886


more...

Donat-O-Meter

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

Latest GitHub Commits