1
liya
Big "Bug" from RC version to 2.06 now. Please fix it
  • 2004/6/5 14:12

  • liya

  • Official Support Member

  • Posts: 21

  • Since: 2002/1/19


In XOOPS2 default templates. Two templates don't seprater some .css to theme files. Only write into system templates so when we change theme don't change "redirect" templates(Thank you for logging in, liya.
If the page does not automatically reload, please click here
)
:
/modules/system/templates/system_imagemanager.html
/modules/system/templates/system_imagemanager2.html

Please Fix this file and add correct ID and Selector in theme .css


Effect ID :

table#imagenav
table#imagemain
table#header
td#headerbar
div#pagenav
div#footer
table#imageform


Fix


1.open /class/template.php 89 line

$this->assign(array('xoops_url' => XOOPS_URL'xoops_rootpath' => XOOPS_ROOT_PATH'xoops_langcode' => _LANGCODE'xoops_charset' => _CHARSET'xoops_version' => XOOPS_VERSION'xoops_upload_url' => XOOPS_UPLOAD_URL));


add 'xoops_themecss' => xoops_getcss()
$this->assign(array('xoops_url' => XOOPS_URL'xoops_rootpath' => XOOPS_ROOT_PATH'xoops_langcode' => _LANGCODE'xoops_charset' => _CHARSET'xoops_version' => XOOPS_VERSION'xoops_upload_url' => XOOPS_UPLOAD_URL[color=CC0000], 'xoops_themecss' => xoops_getcss()));[/color]


2.open /modules/system/templates/system_imagemanager.html
/modules/system/templates/system_imagemanager2.html

and find



<style type="text/css" media="all">
body {margin0;}
img {border0;}
table {width100%; margin0;}
a:link {color#3a76d6; font-weight: bold; background-color: transparent;}
a:visited {color#9eb2d6; font-weight: bold; background-color: transparent;}
a:hover {color#e18a00; background-color: transparent;}
table td {background-colorwhitefont-size12pxpadding0border-width0vertical-aligntopfont-familyVerdanaArialHelveticasans-serif;}
table#imagenav td {vertical-align: bottom; padding: 5px;}
table#imagemain td {border-right: 1px solid silver; border-bottom: 1px solid silver; padding: 5px; vertical-align: middle;}
table#imagemain th {border: 0; background-color: #2F5376; color:white; font-size: 12px; padding: 5px; vertical-align: top; text-align:center; font-family: Verdana, Arial, Helvetica, sans-serif;}
table#header td {width: 100%; background-color: #2F5376; vertical-align: middle;}
table#header td#headerbar {border-bottom: 1px solid silver; background-color: #dddddd;}
div#pagenav {text-align:center;}
div#footer {text-align:right; padding: 5px;}
</style>


replace to

<link rel="stylesheet" type="text/css" media="all" href="<{$xoops_themecss}>" />


3.Go to admin system and renew it.

4. If you do not use default templates. copy those two templates and replace your's

5.and add ID: in your theme


text-aligncenter;
background-color#EBEBEB;
border-top1px solid #FFFFFF;
border-left1px solid #FFFFFF;
border-right1px solid #AAAAAA;
border-bottom1px solid #AAAAAA;
font-weightbolder;


After that. when you change theme and your redirect page will fit into your new theme

2
Mithrandir
Re: Big "Bug" from RC version to 2.06 now. Please fix it


Login

Who's Online

130 user(s) are online (85 user(s) are browsing Support Forums)


Members: 0


Guests: 130


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