1511
Peekay
Re: News 1.3 RC2 and Koivi view HTML problem.
  • 2005/7/3 14:45

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


Tiny HTML edit box problem solved.

In modules/news/include/storyform.inc.php
Around line 80, replace:

$editor=news_getWysiwygForm(_NW_THESCOOP'hometext'$hometext1560'hometext_hidden');

with

$editor=news_getWysiwygForm(_NW_THESCOOP'hometext'$hometext'100%''300px''hometext_hidden');


Around line 87, replace

$editor2=news_getWysiwygForm(_AM_EXTEXT'bodytext'$bodytext1560'bodytext_hidden');

with

$editor2=news_getWysiwygForm(_AM_EXTEXT'bodytext'$bodytext'100%''300px''bodytext_hidden');
A thread is for life. Not just for Christmas.



1512
Peekay
Re: News 1.3 RC2 and Koivi view HTML problem.
  • 2005/7/3 12:56

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


It appears Koivi runs 'raw' HTML code through a filter to make it XHTML compliant. There do appear to be some issues. I discovered that:

1) It strips out non-breaking space codes

1) It strips out HTML comments, however they are replaced with the word 'undefined'.

2) You cannot add a JavaScript on it's own. It has to be preceded by some regular HTML. So
<script language="JavaScript">
resetDynamicFields();
</
script>

doesn't work. However,

<p>Here's a script</p>
<script language="JavaScript">
resetDynamicFields();
</script>

does work.

Unfortunately, the preceding code needs to be a character (use a non-breaking space and it doesn't work - because the filter removes it!). However, you can hide it. I used a full-stop in this example:
<p style="display: none;">.</p>
<
script language="JavaScript">
resetDynamicFields();
</
script>


This needs addressing really, (I'll post in module troubleshooting) but in the meantime, you could remove the comment tags from your Google script and try the above workaround.
A thread is for life. Not just for Christmas.



1513
Peekay
Re: News 1.3 RC2 and Koivi view HTML problem.
  • 2005/7/1 17:54

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


Thanks for drawing my attention to the HTML issue. I confess I had never tried it, but I have been telling potential users they can cut-n-paste HTML code! I can't check this now but I will later.

I know most WYSIWYG editors create slightly different code, but I would have hoped Koivi would accept basic HTML code input, or at least give you a 'raw code' editing option (so it behaves like the DHTML editor).
A thread is for life. Not just for Christmas.



1514
Peekay
Re: News 1.3 RC2 and Koivi view HTML problem.
  • 2005/7/1 16:41

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


I tried that, but simply lost the 'Add New Block' section from the blocks page completely!

I'm not actually using Koivi for blocks, just News and SmartSection. I'll take a look at the SmartSection setup and see what's different.
A thread is for life. Not just for Christmas.



1515
Peekay
Re: News 1.3 RC2 and Koivi view HTML problem.
  • 2005/7/1 16:26

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


Many thx gediminasbyt I'll go and try that.

How do you mean HTML is not saved.? You mean if you paste HTML into the editor it doesn't save the file?
A thread is for life. Not just for Christmas.



1516
Peekay
News 1.3 RC2 and Koivi view HTML problem.
  • 2005/7/1 14:56

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


Koivi works fine in News 1.3 RC2, but click the 'HTML' checkbox to view the code and the view window shrinks to a tiny size. In IE and Firefox.

Is this fixed in the 'definitive' version, or is there a fix I can apply?
A thread is for life. Not just for Christmas.



1517
Peekay
Re: KOIVI + XFSECTION
  • 2005/6/29 17:41

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


Sorry I can't help with XF-Section (I never understood what 'upper compatible module' meant!) but if you have no luck, I can recommend taking a look at the new SmartSection

It has permissions, file attachments, custom article image upload, sub-categories, article teasers and some nice blocks. Plus the Koivi editor works simply by adding the Koivi wysiwyg folder to the XOOPS 'class' folder and then checking a radio button in SmartSection admin. No files to edit.

SmartSection uses a reduced Koivi button set, but you can access all features by right-clicking. I have been given a hack to display all the buttons but haven't tried it yet.

News 1.13 also loads Koivi editor via a selection in the News admin provided wysiwyg folder is in place. News uses the full Koivi button set.
A thread is for life. Not just for Christmas.



1518
Peekay
Re: news 1.3.1 title [SOLVED]
  • 2005/6/29 8:10

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


Thx. It is different. I'll probably leave it until I upgrade.
A thread is for life. Not just for Christmas.



1519
Peekay
Re: To NewBB or CBB?
  • 2005/6/28 22:28

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


I understand caution if you were planning an upgrade, but from a user's perspective, CBB has some significant improvements.

The 'View new posts since last visit' feature means there's no need to miss important posts as they scroll off the 'recent posts' block. If you don't visit the forums for a while, with one click you can see every new post that was added while you were away.

Plus if you are trying to direct someone to another post, you can copy and paste a direct link to it, which is invaluable.

CBB gets my vote.
A thread is for life. Not just for Christmas.



1520
Peekay
Re: news 1.3.1 title [SOLVED]
  • 2005/6/28 21:04

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


Hi incama. Could you post the line?. I'd like to do that in 1.3 RC2 too, but line 195 doesn't seem to make a difference.

$k++;
A thread is for life. Not just for Christmas.




TopTop
« 1 ... 149 150 151 (152) 153 154 155 ... 187 »



Login

Who's Online

313 user(s) are online (207 user(s) are browsing Support Forums)


Members: 0


Guests: 313


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