21
Catzwolf
Re: How to use Spaw within your modules. Examples
  • 2004/1/5 20:06

  • Catzwolf

  • Home away from home

  • Posts: 1392

  • Since: 2007/9/30


No thats by design or it could be called a bug by some

22
svaha
Re: How to use Spaw within your modules. Examples
  • 2004/1/5 20:18

  • svaha

  • Just can't stay away

  • Posts: 896

  • Since: 2003/8/2 2


Thanks, I like feature rich modules, they keep my mind fresh.

23
Catzwolf
Re: How to use Spaw within your modules. Examples
  • 2004/1/5 20:30

  • Catzwolf

  • Home away from home

  • Posts: 1392

  • Since: 2007/9/30


Yeah the contact module keeps me riveted!

24
morris
Re: How to use Spaw within your modules. Examples
  • 2004/1/5 21:07

  • morris

  • Just popping in

  • Posts: 54

  • Since: 2003/9/25


Hi,

I played a bit with the script.js.php and full_toolbar_data.inc.php file and managed to add smilies to the spaw editor. These smilies now appear in the toolbar and if you click on them the smilie code is entered into the text. I "only" added 12 smilies but more is possible.

Resized Image

The only strange thing is that if I click on the smilies rappidly, internet explorer crashes

Morris

25
Bazus
Re: How to use Spaw within your modules. Examples
  • 2004/1/6 0:08

  • Bazus

  • Not too shy to talk

  • Posts: 144

  • Since: 2002/9/23


I've installed spaw and it works fine in the admin->news-->post/edit news

but it shows only in the 'extended text'... it doesn't show in the 'intro text'.


Also, and this is very important, I would like to make it work for a regular 'submit news' in the main menu. what file do I edit, I try placing the 2 lines ($spaw_root = XOOPS_ROOT_PATH . '/modules/spaw/';
include_once $spaw_root . 'spaw_control.class.php';)
at top of the file submit.php in /modules/news but it didnt work.

Also how do I change the spawn to fit the width of my site, I have only 600 maximum to fit any news.

help would be appreciated.

26
Catzwolf
Re: How to use Spaw within your modules. Examples
  • 2004/1/6 0:23

  • Catzwolf

  • Home away from home

  • Posts: 1392

  • Since: 2007/9/30


Quote:

Bazus wrote:
I've installed spaw and it works fine in the admin->news-->post/edit news

but it shows only in the 'extended text'... it doesn't show in the 'intro text'.


Also, and this is very important, I would like to make it work for a regular 'submit news' in the main menu. what file do I edit, I try placing the 2 lines ($spaw_root = XOOPS_ROOT_PATH . '/modules/spaw/';
include_once $spaw_root . 'spaw_control.class.php';)
at top of the file submit.php in /modules/news but it didnt work.

Also how do I change the spawn to fit the width of my site, I have only 600 maximum to fit any news.

help would be appreciated.


You can only have one Spaw editor per page, this is a limitation with the editor and not my coding. I hope to have this resolved in the next couple of updates.

Try placing these lines closer to the actual spaw textarea lines (the ones that replace the original XOOPS test editor.

the width can be changed via the same lines as the one I mentioned above.

27
Catzwolf
Re: How to use Spaw within your modules. Examples
  • 2004/1/6 0:27

  • Catzwolf

  • Home away from home

  • Posts: 1392

  • Since: 2007/9/30


I will work on being able to have smilies available as pernormal, but Spaw does seem to block injecting code from outwidth the editor for some reason.

No idea why it would do that, maybe you shouldn't click on them so fast then

28
Bazus
I found 2 more possible bugs to spaw
  • 2004/1/8 2:03

  • Bazus

  • Not too shy to talk

  • Posts: 144

  • Since: 2002/9/23


ok this is what is happening:..

when I create the first news articule everything looks ok, after saving it shows on the front page, .. everythink ok there


But if I click on edit, the new article window appears but the content of the new in the 'extended' part where spaw shows, the text contains in the design mode the html codes instead of the wysiwyg content.

and the tile of this news has been changed to the tile of other news.

in html mode shows the same html coding as in the design mode.

it's hard to work with this bug because everytime that one news article has to be edited you loose all the wysiwyg formating.

this does happen to me and to another user who I have granted news module admin access rights.


29
Bazus
Re: I found 2 more possible bugs to spaw
  • 2004/1/8 21:48

  • Bazus

  • Not too shy to talk

  • Posts: 144

  • Since: 2002/9/23


anyone with the same problem? The tile of the articles after saving them all show in CAPS. Even if you write them with mix caps and lowercase.


That's in addition to the two problems mentioned on previous (on top) post.

30
disky
Another strange behavious from Spaw
  • 2004/1/8 22:25

  • disky

  • Just popping in

  • Posts: 90

  • Since: 2003/10/31


I use SPAW together with WFsection, and there is strange behaviour.

My webdesigner wants to use GoLive to make the design, so when he is done he copies the HTML (the inside of the body tags) to the SPAW editor when in HTML view mode.

If we save everything is fine.

But if i just once enter the design mode, all the links to images, files and other stuff has turned from relative to absolute. And the suddently everything is broken :(

How to prevent this ?

a link goes from:

article/picture/pic1.jpg

to something like:

http://www.mydomain.com/admin/article/picture/pic1.jpg

which is not working, i could help this by adding a symbolic link, but i would rather not throw a symbolic link everytime something is not working.

Login

Who's Online

210 user(s) are online (148 user(s) are browsing Support Forums)


Members: 0


Guests: 210


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