1
voltron3000
Re: SPAW Editor
  • 2006/8/22 2:08

  • voltron3000

  • Just popping in

  • Posts: 3

  • Since: 2006/5/23


Hi

I setup even news to work with Koivi editor. IT works fine on IE and mozilla (i haven;t tried it on anything else)

After installing the editor, i used this code to admin/index.php(note, original code is commented out above, incase you want to find where i put it)

//$sform->addElement(new XoopsFormDhtmlTextArea(_ADM_EVENNEWS_MESSAGE, 'mail_mess', '', 10, 60), true);
include XOOPS_ROOT_PATH "/class/wysiwyg/formwysiwygtextarea.php";
$wysiwyg_text_area= new XoopsFormWysiwygTextArea_ADM_EVENNEWS_MESSAGE'mail_mess'$mainemailbodytext'100%''200px','');
$sform->addElement$wysiwyg_text_area );


Hope this helps



2
voltron3000
Re: Showing Code
  • 2006/7/31 6:45

  • voltron3000

  • Just popping in

  • Posts: 3

  • Since: 2006/5/23


I fixed it.


The problem turned out to be me not knowing enough about XOOPS (surprise).

So I restored the database and files to a fairly early date (just before I started messing with it). I lost a few days work but otherwise it was fine.

The only thing I could advise others who are modifying themes , templates, modules, and stuff (hopefully before they have this problem), is to:

1. Back up the database regularly (daily if possible)

2. Use a duplicate of the template
it was the only thing that allowed me to see anything after this problem started. If I couldn't switch to the original template i would never have been able to fix it.

3. Make small changes.
I know it seems like a huge inconvienience to make one tiny change, then delete cache (templates_c) and then view changes again, but a minor change is easy to reverse.

4. Find out everything about it
I have found since that the problem I was having was a mix of changes to data and files that I had no idea were being affected by my changes.

So if you are going to do something that involves editing bits of code or anything other than what the module developers have provided, DON'T, hehe, or if you have to, do it very carefully and do a lot of research.

Thanks for the advice jensclas



3
voltron3000
Showing Code
  • 2006/5/23 3:47

  • voltron3000

  • Just popping in

  • Posts: 3

  • Since: 2006/5/23


Hi

I'm new to XOOPS and while creating a new theme using the steps outlined in one of the FAQs on this site, I managed to kill it. It seems to be outputing straight html rather than processing php code eg outputs &gt rather than >

I have uploaded everything from backups and it has still not changed back

can someone help




TopTop



Login

Who's Online

217 user(s) are online (123 user(s) are browsing Support Forums)


Members: 0


Guests: 217


more...

Donat-O-Meter

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

Latest GitHub Commits