1
Burning
Some Css properties in Core ?
  • 2008/10/2 8:35

  • Burning

  • Theme Designer

  • Posts: 1163

  • Since: 2006/8/22


hi,

I guess it is not very important but sometimes we have to hack core files to modify pages presentation. Then, it is not very easy to upgrade core...

An example with $pagenav variable (Xoops 2.3):

Resized Image
- green color : what I can modify with stylesheet
- red color : impossible to modify with stylesheet, Core file have to be hacked

... because underline is directly wrote in www/class/pagenav.php

Line 88 for <<
Quote:

$ret .= '< a href="'.$this->url.$prev.'">< u > & l a q u o ;< / u > ';

Line 109 for >>
Quote:
$ret .= '< a href="'.$this->url.$next.'">< u >& r a q u o ;< / u >< / a > ';


@+

(sorry if it is not the right place to post )
Still learning CSS and... english

2
Marco
Re: Some Css properties in Core ?
  • 2008/10/3 16:18

  • Marco

  • Home away from home

  • Posts: 1256

  • Since: 2004/3/15


added to SF bugtracker
https://sourceforge.net/tracker/index.php?func=detail&aid=2144628&group_id=41586&atid=430840

if you have more like these, please post it there !
Do synergy or die.

3
kris_fr
Re: Some Css properties in Core ?
  • 2008/10/25 11:18

  • kris_fr

  • Theme Designer

  • Posts: 1009

  • Since: 2005/12/31



4
Burning
Re: Some Css properties in Core ?
  • 2008/12/8 16:41

  • Burning

  • Theme Designer

  • Posts: 1163

  • Since: 2006/8/22


hi,

Is a specific template is planned in next XOOPS version about search form ?

It is very hard to customize (and Core has to be hacked : www/search.php).

There is a solution but it seems available for XOOPS 2.0.x series ?
Still learning CSS and... english

5
Mamba
Re: Some Css properties in Core ?
  • 2008/12/8 18:39

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


Please add to Bug Tracker with the link to that solution
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

6
Burning
Re: Some Css properties in Core ?
  • 2008/12/8 20:18

  • Burning

  • Theme Designer

  • Posts: 1163

  • Since: 2006/8/22


Done
Still learning CSS and... english

7
Burning
Re: Some Css properties in Core ?
  • 2008/12/15 12:47

  • Burning

  • Theme Designer

  • Posts: 1163

  • Since: 2006/8/22


hi

Another css properties in "Core" :
- /modules/system/templates/system_imagemanager.html
/modules/system/templates/system_imagemanager2.html

<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>


Are they necessary ? I'm not sure because some .class already exist in :
- /modules/system/style.css

For example in style.css
.bg3 background-color#2F5376; color: #fff;}

... is the same in system_imagemanager.html
td.caption {background-color#2F5376; color:white;}


Same repetition exists with Tinyeditor :
- modules/tinyeditor/templates/tinyed_imagemanager.html
Still learning CSS and... english

8
Anonymous
Re: Some Css properties in Core ?
  • 2008/12/15 15:07

  • Anonymous

  • Posts: 0

  • Since:


Hardcoded style text-align:left for h4 in these files:

modules/system/admin/avatars/main.php
modules/system/admin/comments/main.php
modules/system/admin/images/main.php
modules/system/admin/preferences/main.php
modules/system/admin/tplsets/main.php
modules/system/admin/findusers/main.php
modules/system/admin/smilies/smilies.php
modules/system/admin/userrank/userrank.php
modules/system/admin/moduleadmin/moduleadmin.php

Example:
echo '

'._MD_AVATARMAN.'

';

This is cause problem with RTL translations. sp please no more left align

Submitted to bug tracker




Login

Who's Online

191 user(s) are online (123 user(s) are browsing Support Forums)


Members: 0


Guests: 191


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits