1
skenow
Why is Smarty variable $xoops_theme is always set to 'default' in admin area?
  • 2007/6/27 17:43

  • skenow

  • Home away from home

  • Posts: 993

  • Since: 2004/11/17


This is probably more a core issue than a theme/template issue, but I will start here.

I've been trying to locate where this is being set, but I have not been able to find it.

I have customized the system_redirect.html file for a theme and it works great on the user side. But, on the admin side it displays incorrectly because the $xoops_theme variable is always = 'default'.

XOOPS 2.0.16

Here is the header for the redirect page -

<!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="Refresh" content="<{$time}>; url=<{$url}>" />
    <
title><{$xoops_sitename}></title>
    <
link rel="stylesheet" type="text/css" media="all" href="<{$xoops_themecss}>" />
      <
link rel="stylesheet" type="text/css" media="screen" href="<{$xoops_imageurl}>layout-soup.css" />
      <
link rel="stylesheet" type="text/css" media="all" title="Blue" href="<{$xoops_imageurl}>style.css" />
</
head>


The behavior occurs on any redirect that displays when in the administration menu.

2
Anonymous
Re: Why is Smarty variable $xoops_theme is always set to default in admin area?
  • 2007/8/20 18:55

  • Anonymous

  • Posts: 0

  • Since:


Yeah .. it's look like a bug when you using customized redirect page.

3
kris_fr
Re: Why is Smarty variable $xoops_theme is always set to default in admin area?
  • 2007/9/6 18:57

  • kris_fr

  • Theme Designer

  • Posts: 1009

  • Since: 2005/12/31


hi,

Look the code into morphogenesis v2 and the core hack

@+

Login

Who's Online

144 user(s) are online (91 user(s) are browsing Support Forums)


Members: 0


Guests: 144


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