41
TheFinni
Re: How to use Spaw within your modules. Examples
  • 2004/4/5 8:49

  • TheFinni

  • Just popping in

  • Posts: 75

  • Since: 2003/11/25


Morris,
Can you tell us what you did in the script.js.php file to add the smilies?

I would like to do the same but instead of the smilies add a pagebreak ([pagebreak])

Thanks!

Thomas

42
Jerricho
Re: How to use Spaw within your modules. Examples
  • 2004/4/19 15:24

  • Jerricho

  • Just popping in

  • Posts: 19

  • Since: 2002/9/11


Well I did all this as specified and all my news posts show up blank.

43
nomatter
Re: How to use Spaw within your modules. Examples
  • 2004/5/18 20:50

  • nomatter

  • Just popping in

  • Posts: 5

  • Since: 2004/4/18


Quote:

And the bit of code we are after is this line here at line 311

Quote:

case "Show":$hometext = $myts->makeTareaData4Show($this->hometext,$html,$smiley,$xcodes);break;

we need to change this to use an updated function in the $myts class now to use this properly, so change the above to:
Quote:

$hometext = $myts->makeTareaData4Show($this->hometext,$html,$smiley,$xcodes,1, $breaks= 0);



The above function $myts->makeTareaData4Show only has 4 parameters. So in order to make feasible, it should use $myts->displayTarea() instead .

44
Brawn
Re: How to use Spaw within your modules. Examples
  • 2004/5/27 7:45

  • Brawn

  • Just popping in

  • Posts: 24

  • Since: 2004/4/13


Does anyone know how to get Spaw working with the new News module? The above tutorial doesn't work for the News 1.2

Login

Who's Online

130 user(s) are online (95 user(s) are browsing Support Forums)


Members: 0


Guests: 130


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