HTML tags in propositions

Added by Gerald Palomares 631 days ago

Hi, just found this component and looks quite interesting. Congrats for your work! Following your instructions, I defined a couple categories and now I'm busy creating questions.

QUESTION 1:
I'm setting up a quiz on HTML knowledge and need to have tags in the proposition. However it seems the component is always addding a / before a >

Example:

If I set up the proposition <textarea> it will record <textarea />

QUESTION 2:
Not familiar with the component yet, sometimes it seems that propositions are not recorded.

I'm using:
JQuark 0.3
JCE 1.5.7/TinyMCE
Joomla 1.5.15
Firefox 3.5.9
Safari 4.0.5


Replies

RE: HTML tags in propositions - Added by Gerald Palomares 631 days ago

BTW, I tried to use < and > no changes

RE: HTML tags in propositions - Added by Gerald Palomares 631 days ago

in HEX ...

RE: HTML tags in propositions - Added by Fayez NACCACHE 631 days ago

Hello,

To let save html tags into your propositions, try replace the attached files to:

<site_root>/administrator/components/com_jquarks/models.question.php

<site_root>/components/com_jquarks/views/qui/tmpl/default.php

and give feedback.

Regards

question.php (7.5 KB)

default.php (13.2 KB)

RE: HTML tags in propositions - Added by lino machado 572 days ago

I copied the two file to the folder but, when i start my quiz no questions are submitted (i think the problem is in the default.php)

Best regards
Lino

RE: HTML tags in propositions - Added by lino machado 572 days ago

Sorry what i want is, when submitting the textarea answer in the sessions menu apper as is (plain text)
If i want to submit <b>Answer A</b>, appear in the sessions tab user quiz: <b>Answer A</b>

Thanks

Reply