1
MS-2001
Partners -> description
  • 2004/12/28 16:46

  • MS-2001

  • Quite a regular

  • Posts: 204

  • Since: 2004/7/27


I changed the type of the descrition field in the DB to "text" so i can write more than 255 chars.

Now i want the description to be displayed as multiline text with xoopsCode support.

What do i have to chance in xoopspartners/index.php ??
i allready added: $myts =& MyTextSanitizer::getInstance();

thx 4 help ;)

2
MS-2001
Re: Partners -> description
  • 2004/12/29 12:15

  • MS-2001

  • Quite a regular

  • Posts: 204

  • Since: 2004/7/27


up again. plz help me.

3
MS-2001
Re: Partners -> description
  • 2004/12/30 12:02

  • MS-2001

  • Quite a regular

  • Posts: 204

  • Since: 2004/7/27


i really need that now :/ :(

4
MS-2001
Re: Partners -> description
  • 2004/12/31 9:43

  • MS-2001

  • Quite a regular

  • Posts: 204

  • Since: 2004/7/27


ok, last chance today.
how do i get the text to break and use the xoopscode???
why dont you help me? i dont think the problem is tooo specific...

5
MS-2001
Re: Partners -> description
  • 2005/1/2 15:30

  • MS-2001

  • Quite a regular

  • Posts: 204

  • Since: 2004/7/27


*grml* up again!

6
smdcom
Re: Partners -> description

Quote:

MS-2001 wrote:
Now i want the description to be displayed as multiline text with xoopsCode support.


What do u mean by multiline text? don't xoopspartners support it by default?

SMD

7
MS-2001
Re: Partners -> description
  • 2005/1/3 13:16

  • MS-2001

  • Quite a regular

  • Posts: 204

  • Since: 2004/7/27


seems not to be the case. i have a text-db-field and in it, its multiline (in html: <br />). But in the xoopspartners module there are no breaks.

8
karuna
Re: Partners -> description
  • 2005/1/3 13:37

  • karuna

  • Not too shy to talk

  • Posts: 171

  • Since: 2002/5/29


$myts =& MyTextSanitizer::getInstance();
foreach ( $partners as $part_obj ) {
$array_partners[] = array(
"id" => $part_obj->getVar("id"),
"hits" => $part_obj->getVar("hits"),
"url" => $part_obj->getVar("url"),
"image" => $part_obj->getVar("image"),
"title" => $part_obj->getVar("title"),
"description" => $myts->makeTareaData4Show($part_obj->getVar("description"),0,1,1)
);
}



hi try this in index.php about line 58

9
MS-2001
Re: Partners -> description
  • 2005/1/5 12:19

  • MS-2001

  • Quite a regular

  • Posts: 204

  • Since: 2004/7/27


thx a lot. it works

Login

Who's Online

229 user(s) are online (151 user(s) are browsing Support Forums)


Members: 0


Guests: 229


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