Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
Text on admin panel difficult to read due to background
  • Posted: 15.09.2006, 18:07
     
    pushthebutton
    rank:
    Freshman Freshman
    registered:
     August 2006
    Status:
    offline
    last visit:
    21.09.06
    Posts:
    29
    I have a slight problem with being able to see the text on the admin panel due to the background we use for the rest of the site. We don't want to change the text colour as it suits the rest of the site, but it is balck on a royal blue background and it is difficult to see.

    I have tried adding a background to the various templates within /modules/admin/ but all to no avail. I have even tried altering the background of the templates within the theme we are using, but again it makes no difference. Does anyone know how I can create a background for the admin panel, especially on the table for the last 20 articles this also happens on other admin sections too - please see image below and it relates to /index.php?module=Administration&type=admin&func=adminpanel

    http://playuppompey.org.uk/adminpage.gif
  • Posted: 15.09.2006, 18:08
     
    pushthebutton
    rank:
    Freshman Freshman
    registered:
     August 2006
    Status:
    offline
    last visit:
    21.09.06
    Posts:
    29
    p.s: I have of course tried changing the .css file but cannot see where it relates to the admin section. Thank you for any help you can offer.
  • Posted: 15.09.2006, 19:49
     
    AmmoDump
    rank:
    Team Member Team Member
    registered:
     December 2003
    Status:
    offline
    last visit:
    01.12.08
    Posts:
    2989
    In your templete (theme) you can rewrite your admin templete to override your CSS. Or, you could rewrite your CSS to have different values for your admin templete.

    Tell us more, what theme engine are you using?
    Which theme are you using?

    You can check your page source output to see what the values are set to...
    You can also swap an admin templete for another one... if you dont care if the admin section matches... You coul even use a different theme altogether for your admin account, by fiddling with the permissions to not allow others to have access to the theme...

    If you dont use admin that much... you could even manualy override your theme

    yoursite/whereyouwanttogo.php?theme=alternathemename

    --
    David Pahl
    Zikula Support Team
  • Posted: 15.09.2006, 19:57
     
    pushthebutton
    rank:
    Freshman Freshman
    registered:
     August 2006
    Status:
    offline
    last visit:
    21.09.06
    Posts:
    29
    Blimey, where to begin? Ok, let's start at the top....

    We're using dp-XanC-blue as our theme which is Xanthia based.

    As for the rest of what you ask - I dunno! icon_confused All I can say is that we certainly do not care what the admin pages look like, they really do not have to match at all - but we do use them daily. As to how we "coul even use a different theme altogether for your admin account, by fiddling with the permissions to not allow others to have access to the theme" - I wouldn't have a clue as to how I could go about this. I would of course be more than happy to use the default theme for admin, but how? Would it be just as easy to sawp the .css file over in the /modules/Admin/pnstyles/ folder or is there a great deal more to it?

    As for "yoursite/whereyouwanttogo.php?theme=alternathemename" - sounds good, but as I mentioned, we use our admin pages daily due to the nature of the site. If however this worsk then fine, but is it something that can be done permanently?

    Sorry, not as clued up as some of you, I get by though.
  • Posted: 15.09.2006, 20:03
     
    pushthebutton
    rank:
    Freshman Freshman
    registered:
     August 2006
    Status:
    offline
    last visit:
    21.09.06
    Posts:
    29
    For your info, I have added the full .css code for our theme:

    Code

    /* Necesarias en Postnuke */
    body {
    background color: white;
    color: #333333;
    SCROLLBAR-FACE-COLOR: #dddddd;
    SCROLLBAR-HIGHLIGHT-COLOR: white;
    SCROLLBAR-SHADOW-COLOR: #999999;
    SCROLLBAR-3DLIGHT-COLOR: #999999;
    SCROLLBAR-ARROW-COLOR: #666666;
    SCROLLBAR-DARKSHADOW-COLOR: white;
    SCROLLBAR-BASE-COLOR: silver;
    font-family: Tahoma, Verdana, sans-serif;
    font-size: 11px;
    font-weight: normal;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    text-decoration: none;
    }

    IMG {
    border: 0px;
    }

    TD {
    font-family: Tahoma, Verdana, sans-serif;
    font-size: 11px;
    text-align: left;
    }

    TH {
    font-family: Tahoma, Verdana, sans-serif;
    font-size: 13px;
    }

    input,textarea,select {
    border-bottom-width: 1px;
    border-color: #000000;
    border-left-width: 1px;
    border-right-width: 1px;
    border-style: solid;
    border-top-width: 1px;
    font-family: Tahoma, Verdana, sans-serif;
    font-size: 10px;
    font-weight: bold;
    text-indent: 2px;
    }

    input.pn-text {
    background-color: #D9DCC2;
    border-bottom-width: 1px;
    border-color: #000000;
    border-left-width: 1px;
    border-right-width: 1px;
    border-top-width: 1px;
    color: #000000;
    font-family: Tahoma, Verdana, sans-serif;
    font-size: 10px;
    font-weight: normal;
    text-indent: 2px;
    }

    INPUT.pn-button {
    border-bottom-width: 1px;
    border-color: #000000;
    border-left-width: 1px;
    border-right-width: 1px;
    border-top-width: 1px;
    color: #000000;
    font-family: Tahoma, Verdana, sans-serif;
    font-size: 10px;
    font-weight: normal;
    text-indent: 2px;
    }

    INPUT.r-button {
    background-color: transparent;
    font-family: Tahoma, Verdana, sans-serif;
    }

    SELECT.pn-text {
    background-color: #FFFFFF;
    color: #000000;
    font-family: Tahoma, Verdana, sans-serif;
    font-size: 10px;
    font-weight: bold;
    }


    A:link {
    background-color: transparent;
    color: #000000;
    font-family: Tahoma, Verdana, sans-serif;
    font-size: 11px;
    text-decoration: none;
    }

    A:visited {
    background-color: transparent;
    color: #000000;
    font-family: Tahoma, Verdana, sans-serif;
    font-size: 11px;
    text-decoration: none;
    }

    A:hover {
    background-color: transparent;
    color: #0000FF;
    font-family: Tahoma, Verdana, sans-serif;
    font-size: 11px;
    text-decoration: none;
    }

    A:active {
    background-color: transparent;
    color: #000000;
    font-family: Tahoma, Verdana, sans-serif;
    font-size: 11px;
    text-decoration: none;
    }

    /* Algunas class propias del theme */
    .cabecera{
        width: 100%;
        border-left: 1px solid #000;
        border-right: 1px solid #000;
        border-top: 1px solid #000;
        background-color: #1C54B0;
    }
    .slogan{
        height: 20px;
        border-top: 1px solid #fff;
        border-bottom: 1px solid #fff;
        background-color: #000;
        padding: 0 5px 0 5px;
        color: #fff;
        font-weight: bold;
    }
    .top{
        vertical-align: top;
    }
    .main{
        vertical-align: top;
        padding: 5px;
    }
    .footer{
        border: 0px solid #000;
        text-align: center;
        background-color: ;
    }
    .title_block{
        border: 1px solid #000;
        background: url(../images/blockbg.gif);
        color: #fff;
        text-align: center;
        vertical-align: middle;
        height: 20px;
        font-weight: bold;
    }
    .cuerpo_block{
        border-left: 1px solid #000;
        border-right: 1px solid #000;
        padding: 5px;
    }
    .bajo_block{
        border-left: 1px solid #000;
        border-bottom: 1px solid #000;
    }
    .corner_block{
        background: url(../images/corner.gif) no-repeat right;
        width: 20px;
        height: 20px;
    }

    /* Necesarias en Postnuke */
    li{
        margin-left: -20px;
    }
    .pn-normal {
    background-color: transparent;
    color: #333333;
    font-family: Tahoma, Verdana, sans-serif;
    font-size: 8pt;
    font-weight: normal;
    text-decoration: none;
    }

    .pn-normal A:link {
    background-color: transparent;
    color: #333333;
    font-family: Tahoma, Verdana, sans-serif;
    font-size: 8pt;
    text-decoration: none;
    }

    .pn-normal A:visited {
    background-color: transparent;
    color: #333333;
    font-family: Tahoma, Verdana, sans-serif;
    font-size: 8pt;
    text-decoration: none;
    }

    .pn-normal A:hover {
    background-color: transparent;
    color: #0000FF;
    font-family: Tahoma, Verdana, sans-serif;
    font-size: 8pt;
    text-decoration: none;
    }

    .pn-normal A:active {
    background-color: transparent;
    color: #333333;
    font-family: Tahoma, Verdana, sans-serif;
    font-size: 8pt;
    text-decoration: none;
    }


    .pn-title, h2 {
    background-color: transparent;
    color: #2A68CC;
    font-family: Tahoma, Verdana, sans-serif;
    font-size: 11pt;
    font-weight: bold;
    text-decoration: none;
    }

    .pn-title A:link {
    background-color: transparent;
    color: #2A68CC;
    font-family: Tahoma, Verdana, sans-serif;
    font-size: 11pt;
    font-weight: bold;
    text-decoration: none;
    }

    .pn-title A:visited {
    background-color: transparent;
    color: #2A68CC;
    font-family: Tahoma, Verdana, sans-serif;
    font-size: 11pt;
    font-weight: bold;
    text-decoration: none;
    }

    .pn-title A:hover {
    background-color: transparent;
    color: #0000FF;
    font-family: Tahoma, Verdana, sans-serif;
    font-size: 11pt;
    font-weight: bold;
    text-decoration: none;
    }

    .pn-title A:active {
    background-color: transparent;
    color: #2A68CC;
    font-family: Tahoma, Verdana, sans-serif;
    font-size: 11pt;
    font-weight: bold;
    text-decoration: none;
    }

    .pn-sub {
    background-color: transparent;
    color: #666;
    font-family: Tahoma, Verdana, sans-serif;
    font-size: 7.2pt;
    font-weight: normal;
    text-decoration: ;
    }

    .pn-sub A:link {
    background-color: transparent;
    color: #000000;
    font-family: Tahoma, Verdana, sans-serif;
    font-size: 10px;
    font-style: normal;
    text-decoration: none;
    }

    .pn-sub A:visited {
    background-color: transparent;
    color: #000000;
    font-family: Tahoma, Verdana, sans-serif;
    font-size: 10px;
    font-style: normal;
    text-decoration: none;
    }

    .pn-sub A:hover {
    background-color: #FFFFFF;
    color: #0000FF;
    font-family: Tahoma, Verdana, sans-serif;
    font-size: 10px;
    font-style: normal;
    text-decoration: none;
    }

    .pn-sub A:active {
    background-color: transparent;
    color: #FF0000;
    font-family: Tahoma, Verdana, sans-serif;
    font-size: 10px;
    font-style: normal;
    text-decoration: none;
    }

    .pn-logo {
    background-color: transparent;
    color: #000000;
    font-family: Tahoma, Verdana, sans-serif;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 3px;
    text-decoration: none;
    }

    A.pn-logo:link {
    background-color: transparent;
    color: #000000;
    font-family: Tahoma, Verdana, sans-serif;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 3px;
    text-decoration: none;
    }

    A.pn-logo:visited {
    background-color: transparent;
    color: #000000;
    font-family: Tahoma, Verdana, sans-serif;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 3px;
    text-decoration: none;
    }

    A.pn-logo:hover {

    background-color: #B1B78B;
    background-color: transparent;
    color: #000000;
    font-family: Tahoma, Verdana, sans-serif;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 3px;
    text-decoration: none;
    }

    A.pn-logo:active {
    background-color: transparent;
    color: #000000;
    font-family: Tahoma, Verdana, sans-serif;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 3px;
    text-decoration: none;
    }

    .pn-logo-small {
    background-color: transparent;
    color: #000000;
    font-family: Tahoma, Verdana, sans-serif;
    font-size: 11px;
    font-weight: bold;
    text-decoration: none;
    }

    .pn-pagetitle, h1 {
    background-color: transparent;
    color: #000000;
    font-family: Tahoma, Verdana, sans-serif;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    }

    .print {
    color: #000000;
    background-color: #FFFFFF;
    }

    .print-title {
    background-color: transparent;
    color: #990000;
    font-family: Tahoma, Verdana, sans-serif;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    }
    .print-sub {
    background-color: transparent;
    color: #000000;
    font-family: Tahoma, Verdana, sans-serif;
    font-size: 11px;
    font-weight: normal;
    text-decoration: none;
    }
    .print-normal {
    background-color: transparent;
    color: #000000;
    font-family: Tahoma, Verdana, sans-serif;
    font-size: 12px;
    font-weight: normal;
    text-decoration: none;
    }

    /*-------------------------------------*/
    /*-------------------------------------*/
    /*-------------------------------------*/
    /*-------------------------------------*/
    /*   Horizontal Drop-Down Menu Style   */
    /*-------------------------------------*/

    .horbar {   /* Color of main horizontal menubar and border */
        color: black;
        background-color: #e6e7e6;
        border: ;
    }

    .horizitem  {          /* Behaviour of main horizontal menu items, leave as is for proper operation */
        float: left;
        white-space: nowrap;
    }

    .horizitem a {              /* Font style, size of submenu items */
        font-family: bitstream vera sans, luxi sans, verdana, geneva, arial, helvetica, sans-serif;
        font-size: 12px;   
        text-decoration: none;
       
        position: relative; 
        display: block; 
    }

    .horizitem a:link, .horizitem a:visited     {      /* Font style & color of main menu items */
        color: #000000;
        font-family: bitstream vera sans, luxi sans, verdana, geneva, arial, helvetica, sans-serif;
        font-size: 12px;   
        text-decoration: none;
    }

    .horizitem a:hover  {       /* Font style & color, background menu color of main menu item when hovered over */
        color: #ffffff;
        background-color: #21459c;
        font-family: bitstream vera sans, luxi sans, verdana, geneva, arial, helvetica, sans-serif;
        font-size: 12px;   
        text-decoration: none;
    }

    .horizitem a:active {       /* Font style & color, background menu color of main menu item when clicked */
        color: #ffff00;
        background-color: #666666; 
        font-family: bitstream vera sans, luxi sans, verdana, geneva, arial, helvetica, sans-serif;
        font-size: 12px;   
        text-decoration: none;
    }

    .horizsubmenu   {       /* Behaviour of sub-menu items - leave as is for proper operation of submenus */
        position: absolute;
        left: 0;
        top: 0;
        visibility: hidden;
    }

    .horizsubframe  {      /* Color of submenu item and border */
        background-color: #e6e7e6;
        border: 2px outset #fdfefd;
       
        position: relative;
        display: block; 
    }

    .horizsubitem   {       /* Behaviour of sub-menu items - leave as is for proper operation of submenus */
        text-align: left;
        white-space: nowrap;
    }

    .horizsubitem a {            /* Font style, size of submenu items */
        font-family: bitstream vera sans, luxi sans, verdana, geneva, arial, helvetica, sans-serif;
        font-size: 12px;   
        text-decoration: none;
       
        position: relative;
        display: block; 
    }

    .horizsubitem a:link, .horizsubitem a:visited   {       /* Font color, style of submenu items */
        color: #000000;
        font-family: bitstream vera sans, luxi sans, verdana, geneva, arial, helvetica, sans-serif;
        font-size: 12px;   
        text-decoration: none;
    }

    .horizsubitem a:hover   {      /* Font color, style, background submenu color of submenu item when hovered over */
        color: #ffffff;
        background-color: #21459c;
        font-family: bitstream vera sans, luxi sans, verdana, geneva, arial, helvetica, sans-serif;
        font-size: 12px;   
        text-decoration: none;
    }

    .horizsubitem a:active  {      /* Font color, style, background submenu color of submenu item when clicked */
        color: #ffff00;
        background-color: #666666;     
        font-family: bitstream vera sans, luxi sans, verdana, geneva, arial, helvetica, sans-serif;
        font-size: 12px;   
        text-decoration: none;
    }

    .horizsubitem .horizfwdarr, .horizitem .horizfwdarr {      /* Positioning of right arrow for submenus */
        position: absolute;
        top: 5px;
        right: 8px;
    }

    .horizsubseparator  {   /* Style for line-separator in horizontal submenus - Use '---' for Link title to display */
        background-color: #ff0000;
        border-top: 1px solid #cdcecd;
        border-bottom: 1px solid #ffffff;
        margin: 2px 0px 2px 0px;    /* top right bottom left */
        height: 0px;
        font-size: 1px;
        line-height: 0px;
    }


    /*---------------------------------*/
    /*   Vertical Fly-Out Menu Style   */
    /*---------------------------------*/

    .verbar {   /* Color of main vertical menubar and border */
        color: black;
        background-color: ;
        border:;
    }

    .vertitem   {          /* Behaviour of main vertical menu items, leave as is for proper operation */
        text-align: left;
        white-space: nowrap;
    }

    .vertitem   a {   /* Font style, size of main menu items */
        font-family: bitstream vera sans, luxi sans, verdana, geneva, arial, helvetica, sans-serif;
        font-size: 11px;       
        text-decoration: none;
       
        position: relative;
        display: block;    
    }

    .vertitem a:link, .vertitem a:visited   {   /* Default font style & color of main menu items */
        color: #000000;
        font-family: bitstream vera sans, luxi sans, verdana, geneva, arial, helvetica, sans-serif;
        font-size: 11px;       
        text-decoration: none; 
    }

    .vertitem a:hover   {   /* Font style & color, background menu color of main menu item when hovered over */
        color: #ffffff;
        background-color: #21449c;
        font-family: bitstream vera sans, luxi sans, verdana, geneva, arial, helvetica, sans-serif;
        font-size: 11px;       
        text-decoration: none;
    }

    .vertitem a:active  {   /* Font style & color, background menu color of main menu item when clicked */
        color: #21499c;
        background-color: #ffcc33; 
        font-family: bitstream vera sans, luxi sans, verdana, geneva, arial, helvetica, sans-serif;
        font-size: 11px;       
        text-decoration: none; 
    }

    .vertsubmenu    {   /* Behaviour of sub-menu  - leave as is for proper operation of submenus */
        position: absolute;
        left: 0;
        top: 0;
        visibility: hidden;
    }

    .vertsubframe   {   /* Color of submenu item and border */
        background-color: #e6e7e6;
        border: 2px outset #fdfefd;

        position: relative;
        display: block; 
    }

    .vertsubitem    {     /* Behaviour of sub-menu  - leave as is for proper operation of submenus */
        text-align: left;
        white-space: nowrap;
    }

    .vertsubitem a  {   /* Font style, size of submenu items */
        font-family: bitstream vera sans, luxi sans, verdana, geneva, arial, helvetica, sans-serif;
        font-size: 11px;           
        text-decoration: none;
       
        position: relative;
        display: block; 
    }

    .vertsubitem a:link, .vertsubitem a:visited {   /* Default font style & color of submenu items */
        color: #000000;
        font-family: bitstream vera sans, luxi sans, verdana, geneva, arial, helvetica, sans-serif;
        font-size: 11px;       
        text-decoration: none; 
    }

    .vertsubitem a:hover    {   /* Font style & color, background submenu color of submenu item when hovered over */
        color: #ffffff;
        background-color: #21449c;
        font-family: bitstream vera sans, luxi sans, verdana, geneva, arial, helvetica, sans-serif;
        font-size: 11px;       
        text-decoration: none;
    }

    .vertsubitem a:active   {   /* Font style & color, background submenu color of submenu item when clicked */
        color: #ffff00;
        background-color: #666666; 
        font-family: bitstream vera sans, luxi sans, verdana, geneva, arial, helvetica, sans-serif;
        font-size: 11px;       
        text-decoration: none;         
    }

    .vertsubitem .vertfwdarr, .vertitem .vertfwdarr {   /* Positioning of right arrow for submenus */
        position: absolute;
        top: 5px;
        right: 8px;
    }

    .vertsubseparator   {   /* Style for line-separator in vertical menus - Use '---' for Link title to display */
        background-color: #ff0000;
        border-top: 1px solid #cdcecd;
        border-bottom: 1px solid #ffffff;
        margin: 2px 0px 2px 0px;    /* top right bottom left */
        height: 0px;
        font-size: 1px;
        line-height: 0px;

    }


    /*---------------------------*/
    /* Tree and Plain Menu Style */
    /*---------------------------*/

    .treemenudiv    {     /* Behaviour of tree/plain menu item - leave as is for proper performance */
        display: block;
        white-space: nowrap;
    }

    .phplmnormal {     /* Font size & color of unlinked menu items */
        color: #000000;
        font-family: bitstream vera sans, luxi sans, verdana, geneva, arial, helvetica, sans-serif;
        font-size: 13px;   
        text-decoration: none; 
    }


    a.phplmnormal:hover {     /* Font size & color of menu items */
        color: #000000;
        background-color: #fff0c0;
        font-family: bitstream vera sans, luxi sans, verdana, geneva, arial, helvetica, sans-serif;
        font-size: 13px;   
        text-decoration: none; 
    }


    a.phplm:link, a.phplm:visited   {      /* Font color, style of linked & visited menu items */
        color: #003300;
        font-family: bitstream vera sans, luxi sans, verdana, geneva, arial, helvetica, sans-serif;
        font-size: 13px;   
        text-decoration: none; 
    }


    a.phplm:hover   {      /* Font color, style of menu items when hovered over */
        color: #841212;
        background-color: #fff0c0;
        font-family: bitstream vera sans, luxi sans, verdana, geneva, arial, helvetica, sans-serif;
        font-size: 13px;   
        text-decoration: none; 
    }

    a.phplm:active  {      /* Font size & color of menu items when clicked */
        color: #ff0000;
        font-family: bitstream vera sans, luxi sans, verdana, geneva, arial, helvetica, sans-serif;
        font-size: 13px;   
        text-decoration: none; 
    }


    a.phplmselected:link, a.phplmselected:visited   {         /* Font size & color of selected & visited menu items */
        color: #dd0000;
        background-color: #ffdd76;
        font-family: bitstream vera sans, luxi sans, verdana, geneva, arial, helvetica, sans-serif;
        font-size: 13px;   
        text-decoration: none; 
    }


    a.phplmselected:hover   {         /* Font size & color of selected menu item when hovered over */
        color: #841212;
        background-color: #fff0c0;
        font-family: bitstream vera sans, luxi sans, verdana, geneva, arial, helvetica, sans-serif;
        font-size: 13px;   
        text-decoration: none; 
    }

    a.phplmselected:active  {         /* Font size & color of selected menu item when clicked */
        color: #ff0000;
        font-family: bitstream vera sans, luxi sans, verdana, geneva, arial, helvetica, sans-serif;
        font-size: 13px;   
        text-decoration: none; 
    }
  • Posted: 15.09.2006, 20:06
     
    pushthebutton
    rank:
    Freshman Freshman
    registered:
     August 2006
    Status:
    offline
    last visit:
    21.09.06
    Posts:
    29
    Ok, for some reason the above post didn't come out - I posted the .css code so will in fact direct you to another source - http://playuppompey.org.uk/css.txt
  • Posted: 16.09.2006, 00:10
     
    AmmoDump
    rank:
    Team Member Team Member
    registered:
     December 2003
    Status:
    offline
    last visit:
    01.12.08
    Posts:
    2989
    Okay, First I am not a XTEr, I am an ATer. So bear with me...

    What you need to do, is to copy your style sheet from your Admin module directory Admin/style/admin.css (or something close) and move it to your theme/ (theme_name) /style/ and you should be able to edit the .css there.

    Or, you could copy your admin_admin_adminpanel.htm from your module/Admin/pntemplete/ to your theme/ (theme_name) ) /templates/modules/Admin/admin_admin_adminpanel.htm and hard edit that file..

    This is more theory than anything... again, I am not a XTEr.


    --
    David Pahl
    Zikula Support Team
  • Posted: 16.09.2006, 00:15
     
    AmmoDump
    rank:
    Team Member Team Member
    registered:
     December 2003
    Status:
    offline
    last visit:
    01.12.08
    Posts:
    2989
    Do chmod your config files... to 644! Security Issue there!

    And if you know how or have permission to edit your php.ini file turn the register_globals off, or ask your host to do it for you, unless you need them on for another non-PN reason.

    Good luck, tell us how it goes...



    --
    David Pahl
    Zikula Support Team
  • Posted: 17.09.2006, 20:46
     
    pushthebutton
    rank:
    Freshman Freshman
    registered:
     August 2006
    Status:
    offline
    last visit:
    21.09.06
    Posts:
    29
    As it goes, my config.php and config-old.php files are chmoded to 644, for some reason PN reports them otherwise.

    As for moving and edtiing the admin_admin_adminpanel.htm file, the theme doesn't use an admin folder within its structure. All I have is:

    /themes/dp-XanC-blue/docs
    /themes/dp-XanC-blue/images
    /themes/dp-XanC-blue/lang
    /themes/dp-XanC-blue/plugins

    /themes/dp-XanC-blue/style
    /themes/dp-XanC-blue/style/style.css
    /themes/dp-XanC-blue/style/styleNN.css
    /themes/dp-XanC-blue/style/admin.css (added from /modules/Admin/ since this topic)

    /themes/dp-XanC-blue/templates
    /themes/dp-XanC-blue/templates/blocks/
    /themes/dp-XanC-blue/templates/blocks/ccblock.htm
    /themes/dp-XanC-blue/templates/blocks/lsblock.htm
    /themes/dp-XanC-blue/templates/blocks/rsblock.htm
    /themes/dp-XanC-blue/templates/blocks/index.htm

    /themes/dp-XanC-blue/templates/modules/
    /themes/dp-XanC-blue/templates/modules/home.htm
    /themes/dp-XanC-blue/templates/modules/user.htm
    /themes/dp-XanC-blue/templates/modules/index.htm


    Having tried to alter the admin.css file which does not hold anything that refers to the layout of the admin pages in the dp-XanC-blue theme it has made no difference at all.

    The content of the admin.css file is as follows (please keep in mind I am still only learning all this):

    =========================================================================================


    /*
    Admin interface stylesheet

    This stylesheet implements a set of styles used throughout the admin interface of
    PN .8x allowing the site administrator to configure via standard CSS techniques the
    presentation of the admin interface.

    Themers can create a theme specific version of this stylesheet by creating a copy of
    the file in themes\\style\Admin\admin.css. This version of stylesheet is
    kept as generic as possible to avoid many potential theme clashes. Re-styling this
    stylesheet requires a working knowledge of both CSS1 and CSS2.

    For this stylesheet to be loaded Xanthia themes must have the command
    in either the master
    template or a specific template for the admin components of a module (note 1).

    Legacy themes support the admin stylesheet by virtue of the header of these themes
    being templated in the Header_Footer module.

    Notes
    1) There's no harm in this file being in the master template as these classes are
    not referenced in the user templates.

    /* styles for module admin menus */
    .pn-menu {
    width: 99%;
    text-align: center;
    }

    /* style for main admin tables */
    .pn-admintable {
    width: 100%;
    border: thin outset;
    padding: 1px;
    border-width: 3px;
    }
    /* classes to define two colors for admin view table to cycle between.*/
    .pn-admintable tr.pn-even {
    background-color: #fff;
    }
    .pn-admintable tr.pn-odd {
    background-color: #eee;
    }
    /* stying for the cell elements in admin tables */
    .pn-admintable td, th{
    border: thin inset;
    padding: 3px;
    border-width: 1px;
    }

    /* main admin form style */
    form.pn-adminform {
    border: dashed #0074B0;
    border-width: 1px 0;
    padding: 1em 0;
    margin: 0 1em;
    }
    .accesskey {
    text-decoration: underline
    }
    /* formrow is used to style a div containing a label and control pair */
    .pn-adminformrow {
    clear: both;
    padding: .25em;
    }
    /* style for a label contained in a div of class formrow */
    div.pn-adminformrow label {
    float: left;
    width: 250px;
    text-align: right;
    padding-right: 5px;
    }
    /* style for a input control contained in a div of class formrow */
    /* style for a textarea control contained in a div of class formrow */
    /* style for a select control contained in a div of class formrow */
    /* style for a div contained in a div of class formrow - allows for grouping
    of a control and subsequent non label text.
    e.g. yes (radio) no (radio)*/
    div.pn-adminformrow input, div.pn-adminformrow textarea,
    div.pn-adminformrow select, div.pn-adminformrow span {
    margin-left:20px;
    text-align:left;
    }
    /* styles to ensure that control elements inside the floated div directly above
    don't themselves float*/
    div.pn-adminformrow div input, div.pn-adminformrow div textarea,
    div.pn-adminformrow div select {
    float: none;
    }

    /* styles to allow sub headings to be embedded correctly in admin forms */
    form.pn-adminform div h1, form.pn-adminform div h2, form.pn-adminform div h3,
    form.pn-adminform div h4, form.pn-adminform div h5, form.pn-adminform div h6 {
    padding: 10px;
    }

    /* add the help cursor to labels that provide additional help via the title
    tag of the label */
    form.pn-adminform label.pn-adminformhelp {
    cursor: help;
    }


    /* styles for the warning message shown if any of the install directory,
    install.php or psak.php are found */
    .warning-container {
    padding:10px;
    text-align: center;
    border: 1px solid red
    }
    .warning-container h2 {
    color: red;
    display: block;
    }
    .warning-container img {
    float:left;
    }

    /* style tags for grouping of controls into logical 'sets' */
    fieldset {
    border: #0074B0 solid 1px;
    }
    legend {
    color: #0074B0;
    }

    =========================================================================================
  • Posted: 21.09.2006, 16:19
     
    pushthebutton
    rank:
    Freshman Freshman
    registered:
     August 2006
    Status:
    offline
    last visit:
    21.09.06
    Posts:
    29
    Any help with this guys would really be much appreciated, I've spent the last five days trying to sort it out?
  • Posted: 21.09.2006, 20:29
     
    Simon
    rank:
    Steering Committee Steering Committee
    registered:
     December 2002
    Status:
    online
    Posts:
    13418
    Add (through the Xanthia templates interface, a template called 'admin.htm', then add a content wrapper using this template for the *admin module. After that, upload a duplicate of master.htm to themes/yourtheme/modules/admin.htm, then modify admin.htm to your liking to remove the background image (set it to use a different style sheet).

    That should allow you to remove the background image for the admin screens only.

    --
    Regards,
    Simon

    itbegins.co.uk - Zikula Consulting

    Please read the Support Guide
  • Posted: 21.09.2006, 20:39
     
    pushthebutton
    rank:
    Freshman Freshman
    registered:
     August 2006
    Status:
    offline
    last visit:
    21.09.06
    Posts:
    29
    Um, right, let me just put this into my form of thicko English so I don't screw it up icon_confused icon_razz

    First, via the admin page, go to the Xanthia editing tool in modules. Then, create a file and name it admin.htm

    Follow that by adding a content wrapper for use with the admin module only.

    Then upload a copy of master.htm my theme folder and rename it admin.htm (?) then modify it to suit our liking.

    Will see how that goes, will get back to you - if the above is wrong please could you let me know, I have a notification on here so that I know when someone has replied.

    Many thanks Hammerhead.
  • Posted: 22.09.2006, 00:18
     
    Simon
    rank:
    Steering Committee Steering Committee
    registered:
     December 2002
    Status:
    online
    Posts:
    13418
    That's pretty much it - sorry for the lack of clarity but I haven't done it myself in a while :)

    --
    Regards,
    Simon

    itbegins.co.uk - Zikula Consulting

    Please read the Support Guide
  • Posted: 22.09.2006, 00:26
     
    pushthebutton
    rank:
    Freshman Freshman
    registered:
     August 2006
    Status:
    offline
    last visit:
    21.09.06
    Posts:
    29
    Ok, thanks Hammerhead - though I did try and I sort of cocked it up icon_rolleyes

    Will try again later, once I've completed the restoration icon_wink It's all experience, a learning curve - excpet my curve seems to go downwards! icon_lol

Extensions Moderation

Main Menu