Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
8 - 7 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
     

Re: HTML, not only xcodes!
by kaper on 2003/11/6 9:40:00

Yeah, I expected the myts statements in several lines, each for one field; actually all they were in the longest line, far beyond the right margin. Grep is the winner!

Instead of changing '0' to '1' I just cut off that parameter and it also works, so I guess myts by default accepts HTML.
WHERE IS A GOOD DOCUMENTATION AVAILABLE !!?
Re: HTML, not only xcodes!
by Shine on 2003/11/5 17:36:21

Quote:
Maybe I don't understand something. The file modules/addresses/visit.php contains statements like

$xoopsTpl->assign('lang_description', _MD_DESCRIPTIONC);
There are no myts invocation, maybe you mean some other file?.

Within my reply I didn't refer to the code you are talking about.
This peace of code takes only care of template assignment and language -translation-.

Like I wrote within my reply it is the code:
$myts->makeTareaData4Show($description,0)
within visit.php

I've tried it, turned 0 into 1 and this works. So this 0/1 has to do with html turning on/off.
Just try for yourself.

Grtz., Shine
Re: HTML, not only xcodes!
by kaper on 2003/11/5 16:13:43

Maybe I don't understand something. The file modules/addresses/visit.php contains statements like
le="color: #000000"><?php $xoopsTpl->assign('lang_description', _MD_DESCRIPTIONC);

There are no myts invocation, maybe you mean some other file?.

Anyway, do I understand correctly, that in statement
le="color: #000000"><?php $myts->makeTareaData4Show($description,0)

the "0" means "turn off HTML"?

Kaper
Re: HTML, not only xcodes!
by Shine on 2003/11/5 15:16:07

In that case you are talking about the view address. The entered htmlcode should show properly for visitors.
Just a suggestion which should work:

open up visit.php
Line 71
'description' => $myts->makeTareaData4Show($description,0),

change the 0 (behind description) into 1.

Grtz., Shine
HTML, not only xcodes!
by kaper on 2003/11/5 13:04:43

I want to have HTML processed in a document field. Currently only XCodes work properly and I can't see any switch which would turn on HTML.

I am trying to hack a module to better fit my needs (exactly - Addresses, based on MyLinks). The "Description" field should work with HTML, now works only with XCodes. What should I turn on or hack?

Kaper

Who's Online

139 user(s) are online (102 user(s) are browsing Support Forums)


Members: 0


Guests: 139


more...

Donat-O-Meter

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

Latest GitHub Commits