11
SLEO577
Re: redirect problems - xoops 2.2
  • 2005/8/5 19:21

  • SLEO577

  • Not too shy to talk

  • Posts: 110

  • Since: 2005/6/27


Copy the code below that's in RED to the your (Theme.html) and it will start redirecting your pages.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<{$xoops_langcode}>" lang="<{$xoops_langcode}>">
<
head>
<
meta http-equiv="content-type" content="text/html; charset=<{$xoops_charset}>" />
<
meta http-equiv="content-language" content="<{$xoops_langcode}>" />
<
meta name="robots" content="<{$xoops_meta_robots}>" />
<
meta name="keywords" content="<{$xoops_meta_keywords}>" />
<
meta name="description" content="<{$xoops_meta_description}>" />
<
meta name="rating" content="<{$xoops_meta_rating}>" />
<
meta name="author" content="<{$xoops_meta_author}>" />
<
meta name="copyright" content="<{$xoops_meta_copyright}>" />
<
meta name="generator" content="XOOPS" />
<
title><{$xoops_sitename}> - <{$xoops_pagetitle}></title>
<
link href="<{$xoops_url}>/favicon.ico" rel="SHORTCUT ICON" />
<
link rel="stylesheet" type="text/css" media="all" href="<{$xoops_url}>/xoops.css" />
<
link rel="stylesheet" type="text/css" media="all" href="<{$xoops_themecss}>" />
<!-- 
RMVadded module header -->
<{
$xoops_module_header}>
<
script type="text/javascript">
<!--
<{
$xoops_js}>
//-->
</script>
<
script type="text/javascript">
</
script>
[
color=CC0000]
<
script type="text/javascript">
function 
toggle(notifs_form
{
obj=document.getElementById(notifs_form);
obj.style.display=!(obj.style.display=="block")? "block" "none";  
}

function 
swapimage(swap)
{
img_plus="<{$xoops_imageurl}>images/plus.gif";
img_minus="<{$xoops_imageurl}>images/minus.gif";
obj=document.getElementById(swap);
obj.src=!(obj.src==img_minus)? img_minus img_plus;  
}
</
script>[/color]
</
head>
<
body>


Hope this helps!

12
mclindy
Re: redirect problems - xoops 2.2
  • 2005/8/14 0:57

  • mclindy

  • Just popping in

  • Posts: 38

  • Since: 2005/1/23


I had the same problem.

I copied the one line of code provided earlier in the thread, i.e. <{$xoops_module_header}>

Of course you must save the file.

Then you must go to PREFERENCES--> SYSTEM--> GENERAL SETTINGS and check "yes" where it says "Update module template .html files from themes/your theme/templates directory?"

Now return to your home page and log out. It should work. Log back in, go back to GENERAL SETTINGS, and change Update modeule template etc. back to "no."

Rock on.

13
intosia
Re: redirect problems - xoops 2.2
  • 2005/8/20 12:55

  • intosia

  • Just popping in

  • Posts: 51

  • Since: 2005/7/23


i dont think that have onething to do with it...

And, it failed working again :(
Asian Chicks for Life! ^^

14
jdseymour
Re: redirect problems - xoops 2.2

Would you happen to be using the koivi editor when the redirects fail, and are you using the Firefox browser.

This happens to me after using the above editor, a work around is to open the editor in a new window that can be closed seperately, or closing and re opening the browser window used seems to clear up the problem. I understand it is a long standing bug with Firefox that effects the editor. I do not use the editor on my site because of this.

15
intosia
Re: redirect problems - xoops 2.2
  • 2005/8/20 13:18

  • intosia

  • Just popping in

  • Posts: 51

  • Since: 2005/7/23


I indeed use FF browser. I closed the window, reopend, and now it works again, ****** wierd....
Asian Chicks for Life! ^^

16
WarDick
Re: redirect problems - xoops 2.2
  • 2005/8/20 13:37

  • WarDick

  • Just can't stay away

  • Posts: 890

  • Since: 2003/9/13


This is not unique to the koivi editor it happens with all of the wysiwyg editors.
Urging XOOPS to be the Best It Can Be.
Richard......

17
jdseymour
Re: redirect problems - xoops 2.2

Doesn't happen to me with htmlarea.

18
WarDick
Re: redirect problems - xoops 2.2
  • 2005/8/20 14:18

  • WarDick

  • Just can't stay away

  • Posts: 890

  • Since: 2003/9/13


Quote:
Doesn't happen to me with htmlarea.


Can anyone else confirm this?

I am using Gentoo Kde Firefox.
Urging XOOPS to be the Best It Can Be.
Richard......

19
jdseymour
Re: redirect problems - xoops 2.2

Retested htmlarea, and you are right WarDick, broke the redirect. Closed a reopened browser redirects work as normal.

20
guardian2k1
Re: redirect problems - xoops 2.2

Is there any update to a hack yet for XOOPS 2.2.3 It's becoming a real pain in the a** for our users to keep clicking here but can't do without koivi. Kinda a catch 22 situation
"Linux is extremely user-friendly. It also happens to be extremely selective when picking its friends."

http://www.nuxified.com |http://debcentral.org

Login

Who's Online

227 user(s) are online (134 user(s) are browsing Support Forums)


Members: 0


Guests: 227


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