Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> WYSIWYG - Raven's RavenNuke(tm) v2.x Distro
Author Message
sunlax
New Member
New Member


Joined: Jan 14, 2007
Posts: 8
Location: Canada

PostPosted: Mon Jan 15, 2007 6:31 pm Reply with quote

Hi All (new RN user)

OK, so I have been using N7.8 for quite a while with the tinymce working, and use spaw before that. For obvious security reason I bit the bullet and did a fresh install with RN.

My site use a fixed top frame which holds a simple flash logo. When testing the site all worked well, but as soon as I added it to my index in the lower frame the WYSIWYG fails with errors on page and the textboxs do not show up. FCK works fine with the same module when loaded in its own window. I changed back to the standard submit news module with reg. textbox and all loads fine.

Has anyone experianced trouble loading FCK into a frame before? Any ideas or suggestions? Thanks for your time...

Aaron.
 
View user's profile Send private message Visit poster's website
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6383

PostPosted: Mon Jan 15, 2007 7:03 pm Reply with quote

A little confusing...

As soon as you added what to your index?

There should not be any WYSIWYG on the site index page. Are you referring to the index page of a module?

Changed back to the standard submit news module from the standard submit news module with the WYSIWYG editor?

It might be easier if we could test with your theme. Can you compress the file and make them available, either via email or download?

_________________
I google, therefore I exist...
Only registered users can see links on this board! Get registered or login!
 
View user's profile Send private message
sunlax
PostPosted: Mon Jan 15, 2007 7:53 pm Reply with quote

Sorry kguske Embarassed

I'll try to clarify.
The entire site, including modules with a text editor (submit, and admin functions) worked perfectly well, until I added a index.html frameset which loads nuke into bottomframe and a flash logo in topframe. This means that the nuke site is running inside a frame in a html doc. (the site front page is the html doc).

In the frameset, any module with a text editor loads with error and the text box does not show up. If I load index.php or admin.php directly in its own window, all works well again.

When I say I changed back to the standard submit news module, I mean I re-loaded my back up I kept before implementing the WYSIWYG. This is a submit that does not use FCK.

I am using a slightly moded fisubsilvesh Theme, and have tested with bone stock themes bundled with RN with same results.

I would package and send files to anyone who would like to test this, but as far as I can tell, everything I am using is fresh and stock (RN installed yesterday) and the only difference is my frameset and the page which holds the flash logo (both of which I will include below)

OK, so I guess I can't just place the code in here, oops. The system here thinks I am trying an attack...

The frameset is just a simple one, and I am going to try a different top frame right now to see if something there is causing trouble...
I hope some of what I have said cleared things up, even just a bit...

Thanks for your time,
Aaron.

update:
I load a blank HTML doc in topframe and the problem persists... So I am led to believe that it is the frameset causing grief... Anyone seen this before? Question
 
sunlax
PostPosted: Mon Jan 15, 2007 9:02 pm Reply with quote

WYSIWYG works as should be expected in FireFox on all pages...

Code:


<frameset rows="145,*" framespacing="0"  frameborder="no" border="0">
  <frame src="logo_frame.htm" name="topFrame" scrolling="no" noresize="noresize" id="topFrame" title="topFrame" />
  <frame src="laxnuke/index.php" name="bottomFrame" id="bottomFrame" title="bottomFrame" />
</frameset><noframes></noframes>


does anyone see anything wrong with the above?
I have also tried with the most basic of frameset as well...

The actual error from IE is
Line 25
Char. 1736
error: permission denied
code: 0
URL: ...includes/fckeditor/editor/fckeditor.html?instancename=storytext&toolbar=nukeuser


Hmm, which file is creating this error? Confused


Last edited by sunlax on Mon Jan 15, 2007 9:42 pm; edited 1 time in total 
kguske
PostPosted: Mon Jan 15, 2007 9:41 pm Reply with quote

You are correct - the WYSIWYG editor uses a frame (most do). I haven't tried, but I'd guess the problem is having a frame inside a frame. Couldn't the extra HTML in your frame be added to your theme header / footer?
 
sunlax
PostPosted: Mon Jan 15, 2007 9:44 pm Reply with quote

I have thought of this as an easy walk around, BUT, I don't want the flash to re-load with each page change...
 
kguske
PostPosted: Mon Jan 15, 2007 10:02 pm Reply with quote

That is an interesting problem... I wonder if it could be controlled via a cookie that could be used to determine if the flash has already been displayed for this user. If so, display an image of the last frame instead of the flash. You could decide whether to display the flash or image if cookies aren't allowed.
 
sunlax
PostPosted: Wed Jan 17, 2007 7:02 pm Reply with quote

Hello all again... (sigh)

First, Thanks Kevin for your time so far... But I have been fighting with this thing still. Perhaps I just don't know when to call it quits Very Happy

I know I still have the options of just disabling the WYSIWYG or breaking out of the frameset and using a regular header image, But...

The editor looks and works so well I'd like to take advantage of it. I'd like to keep my topframe if possible, so I will continue hammering away at this. If someone had five minutes to spare and could try to run their site in a simple frame to see if they have the same results, I'd be gratefull.

The error reported from internet distroyer is

Line 25
Char. 1736
error: permission denied
code: 0
URL: ...includes/fckeditor/editor/fckeditor.html?instancename=storytext&toolbar=nukeuser


This is the error details when Submit News is loaded ( or anything with the editor for that matter) Can anyone help me to decipher this message? Which file is actually generating the error? Hmmmm... [scratches his head]
Thanks in advance...
Aaron.
 
sunlax
PostPosted: Sat Jan 20, 2007 5:16 pm Reply with quote

Hmm... another update.

So I have beel playing with this problem as time permits, and I don't think I am at all ahead... Confused
I have learned that others sometimes have grief with placing iframe inside a Frameset. One suggestion was to be sure that each iframe has a unique id & name.... Checking a bit closer I see that the module uses unique id but does not assign a name to the iframe... Perhaps I will see if I can add this in (anyone know where to find the iframe code?)

Strange though... The editor has loaded up and is running on IE on my laptop, but still not working on the desktop.... I checked, and both have all the same settings, cleared the cache on both. Strange. Also, does not seem to want to run now in FireFox. [sigh] Woops! it just quit working on my Laptop browser too... Laughing

Right now I am walking around it by offering two ways to submit news, one with, one without WYSIWYG...

Anyhow, if ANYONE would like to take a look and tell me if it loads in their browser, I'd appreciate the feedback.
Only registered users can see links on this board! Get registered or login!
Just click on Submit News in the Left Menu

Take care all,
Aaron.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> WYSIWYG - Raven's RavenNuke(tm) v2.x Distro

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©