11
arpboy
Re: No page refresh in Firefox after using Koivi
  • 2004/12/19 5:33

  • arpboy

  • Just popping in

  • Posts: 46

  • Since: 2004/9/7 4


Thanks for the idea; I did update the module, then I allowed the theme to modify, as you suggested; still no joy.

Ideas?

TIA..

-Richard

12
skenow
Re: No page refresh in Firefox after using Koivi
  • 2004/12/30 2:44

  • skenow

  • Home away from home

  • Posts: 993

  • Since: 2004/11/17


No real ideas from me - I have found this affects ALL wysiwyg editors and Firefox, and it only affects the meta refresh tag. Most workarounds include a javascript function (location:header, setTimeout()).

I had to play around with the quotes to get mine to work. View your page source when you get stuck and see how the quotes pair up.

Here is how I changed my system_redirect.html file -
(add this after the meta http-equiv 'refresh' tag

<script language="javascript">
    function 
nextpage(){
      
window.location='<{$url}>';
    }
</
script>
<
title><{$xoops_sitename}></title>

</
head>
<
body onload="setTimeout('nextpage()', 4000)">

if the normal refresh doesn't work (after using a wysiwyg editor in FF/Mozilla) the javascript will trigger a page redirection in 4 seconds (4000 milliseconds)

I didn't have to change anything in functions.php (which I like - I don't have to remember the hacks when upgrading modules)

13
mpowell
Re: No page refresh in Firefox after using Koivi
  • 2005/1/1 3:49

  • mpowell

  • Friend of XOOPS

  • Posts: 119

  • Since: 2004/2/10


where is the system_refresh.html file?

14
smdcom
Re: No page refresh in Firefox after using Koivi

Quote:

mpowell wrote:
where is the system_refresh.html file?

correction! system_redirect.html and not system_refresh.html

XOOPS_ROOT/modules/system/templates/system_redirect.html

or

system -> templates -> system -> system_redirect.html

SMD

15
arpboy
Re: No page refresh in Firefox after using Koivi
  • 2005/1/1 4:45

  • arpboy

  • Just popping in

  • Posts: 46

  • Since: 2004/9/7 4


Hm. Tried it the javascript (thanks for it); still no go.

Ideas?

TIA

Richard

16
TheFinni
No page refresh in admin Firefox after using HTMLArea
  • 2005/3/13 11:44

  • TheFinni

  • Just popping in

  • Posts: 75

  • Since: 2003/11/25


I thought I'd add my solution to the deal although it's along time since anyone posted in here. I tried skenow solution and it lead me to a slightly different solution.

I only needed the refresh in the administration panel since I don't use any HTML editor for users.

Instead of adding the javascript to the system_redirect.html file which redirects in the user's side. I added the javascript with some slight modifications to: "/include/functions.php". You can find the area easily by searching for the orange hr color: #E18A00

I added this after the Meta refresh tag:

<script language="javascript">
            function 
nextpage(){
          
window.location "'.$url.'";
        }
        </
script>

and this as a body element:

<body onload="setTimeout('nextpage()', 2500)">

Note! this only works in the functions.php file and skenow was probably right in how he set-up the template file which is an HTML file.

17
skenow
Re: No page refresh in Firefox after using Koivi
  • 2005/3/17 3:29

  • skenow

  • Home away from home

  • Posts: 993

  • Since: 2004/11/17


Easiest to get to from Administration Menu - System - Templates - System

You can only edit this if you have cloned the default template, which is best to do if you plan to edit ANY template file.