CSS Problem!

Begonnen von rinaldo2000at, 05 Mai 2002, 12:51:04

⏪ vorheriges - nächstes ⏩

0 Mitglieder und 2 Gäste betrachten dieses Thema.

rinaldo2000at

Ich habe mir damals NukeNews geholt jedoch egal was ich auch versuche unter styls im Themenbereich farbmäsig zu ändern, die überschriften bleiben blau und nicht wie ich es brauchen würde nähmlich weiß!

http://www.rinaldo2000at.de/portal/html/modules.php?name=NukeNews

Das eigenartige ist das die ganzen normalen News mit weißer Überschrift angezeigt werden siehe Hauptseite, was muß ich wo genau ändern? (Habe schon versucht eine eigene CSS zu basteln jedoch klappt das bei mir nicht!)

DarkBoy

Hi
du musst das chon on der normalen css defenieren :) es gibt da möglichkeiten.

rinaldo2000at

Hi

????

Und wie mache ich das?
Habe keine erfahrung mit CSS!
Gibt es einen befehl den ich einfügen kann in der CSS Datei oder was genau muß ich da wo ändern, da es wie gesagt in den normalen News funktioniert?(!!!)

Deepsky

deklariere Deine Überschriften...

Deepsky

Ein bekommst du noch... ein kleiner Geheimtip von mir ;)

Suchmaschine: :D
  http://www.style-sheets.de/css/index.html

Deepsky

hast du nachgeschaut???

rinaldo2000at

Die CSS Homepage ist sehr gut und sicher für den späteren gebrauch sehr zum empfehlen jedoch müste ich dazu erstmal wissen welcher Befehl im PHP Dokument -syle.css für die überschriften in den NukeNews verantwortlich ist!

DarkBoy

Hi in deiner CSS wird irgendwo sowas stehen:
Zitat.title {  font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; font-weight: bold; color: #0402A7; letter-spacing: 2px}
 
HI ändere die fareb in deine gewünschte und ein Headlinses sollte  dann  rcirhtig sein

Deepsky

title {BACKGROUND: none; COLOR: #215DC6; FONT-SIZE: 14px; FONT-WEIGHT: bold; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: none}

Das ist dein fehler... das steht aber auf der CSS iet die ich dir empfohlen hatte!!

TITEL :D

rinaldo2000at

Also bei mir sieht es folgendermasen aus, und egal welchen Farbwert ich ändere es hat keinen einfluss auf die überschrift!  :cry :cry :cry

 
ZitatFONT      {FONT-FAMILY: Verdana,Helvetica; FONT-SIZE: 11px}
TD      {FONT-FAMILY: Verdana,Helvetica; FONT-SIZE: 11px}
BODY      {FONT-FAMILY: Verdana,Helvetica; FONT-SIZE: 11px}
P      {FONT-FAMILY: Verdana,Helvetica; FONT-SIZE: 11px}
DIV      {FONT-FAMILY: Verdana,Helvetica; FONT-SIZE: 11px}
INPUT      {FONT-FAMILY: Verdana,Helvetica; FONT-SIZE: 11px}
TEXTAREA   {FONT-FAMILY: Verdana,Helvetica; FONT-SIZE: 11px}
FORM       {FONT-FAMILY: Verdana,Helvetica; FONT-SIZE: 11px}
SELECT      {FONT-FAMILY: Verdana,Helvetica; FONT-SIZE: 11px}
A:link          {BACKGROUND: none; COLOR: #215DC6; FONT-SIZE: 11px; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: underline}
A:active        {BACKGROUND: none; COLOR: #215DC6; FONT-SIZE: 11px; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: underline}
A:visited       {BACKGROUND: none; COLOR: #215DC6; FONT-SIZE: 11px; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: underline}
A:hover         {BACKGROUND: none; COLOR: #215DC6; FONT-SIZE: 11px; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: underline}
.title       {BACKGROUND: none; COLOR: #215DC6; FONT-SIZE: 14px; FONT-WEIGHT: bold; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: none}
.content    {BACKGROUND: none; COLOR: #000000; FONT-SIZE: 11px; FONT-FAMILY: Verdana, Helvetica}
.storytitle    {BACKGROUND: none; COLOR: #000000; FONT-SIZE: 11px; FONT-WEIGHT: bold; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: none}
.storycat   {BACKGROUND: none; COLOR: #215DC6; FONT-SIZE: 11px; FONT-WEIGHT: bold; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: underline}
.boxtitle    {BACKGROUND: none; COLOR: #000000; FONT-SIZE: 11px; FONT-WEIGHT: bold; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: none}
.boxcontent    {BACKGROUND: none; COLOR: #000000; FONT-SIZE: 11px; FONT-FAMILY: Verdana, Helvetica}
.option    {BACKGROUND: none; COLOR: #ffffff; FONT-SIZE: 11px; FONT-WEIGHT: bold; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: none}
.tiny      {BACKGROUND: none; COLOR: #215DC6; FONT-SIZE: 10px; FONT-WEIGHT: normal; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: none}

Andi

Hi Rinaldo,
das Modul verwendet in den Artikelüberschriften gleichzeitig einen Link :( deshalb wird die Überschrift nicht in weiss angezeigt, sondern in der im stylesheet definierten Farbe für Links ( a ) :(
Wenn Du das Stylesheet änderst, beeinflusst das natürlich alle Links :puzz
Ich würde das Modul ändern und den Link aus der Überschrift nehmen. Frag aber nicht wie, ich kenne/habe das Modul nicht  ;)
schön´s Grüssle, Andi

rinaldo2000at

Sehr gut Andi das ist es eindeutig, jetzt muß ich nur mehr im Modul die Zeile suchen die, die Überschrift dummerweise als Link ausgibt, ich hoffe das ich es finde!

rinaldo2000at

 Nachtrag:

Ich habe mir jetzt NukeNews genau angesehen und habe bald schon eckige augen leider finde ich nirgens den befehl der leider die Überschrift als Link definiert, kann mir hier wer weiter helfen?

Ich weiß nur soviel es muß in dieser index.php sein!
 
Zitat<?php
// ----------------------------------------------------------------------
// CROSSNUKE - ENHANCED PHPNUKE
// ----------------------------------------------------------------------
//
// Copyright (c) 2002 by Jata (lophas@yahoo.com)
// http://lophas.phpwebhosting.com/phpnuke
//
// MODULE NAME: NukeNews
// CROSSNUKE VERSION: 5.51
// PHPNUKE VERSION: 5.5
//
// New features:
//  - Top Menu for Submit, Archives, Topics and Categories
//  - Bottom Page numbers
//  - Convenient popup printing option
//  - Multicolumn display (set columns in modules/NukeNews/includes/config.php)
//  - Multilang constants enabled in stories titles/body [(c)evaldef function]
//
// ----------------------------------------------------------------------
// LICENSE
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License (GPL)
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// To read the license please visit http://www.gnu.org/copyleft/gpl.html
// ----------------------------------------------------------------------
// Original Author of file:  Francisco Burzi (fbc@mandrakesoft.com)
// ----------------------------------------------------------------------

/************************************************************************/
/* PHP-NUKE: Web Portal System                                          */
/* ===========================                                          */
/*                                                                      */
/* Copyright (c) 2001 by Francisco Burzi (fbc@mandrakesoft.com)         */
/* http://phpnuke.org                                                   */
/*                                                                      */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License.       */
/************************************************************************/

if (eregi(basename(__FILE__), $PHP_SELF)) {
    die ("You can't access this file directly...");
}

$index = 1;

$module_name = basename(dirname(__FILE__));

get_lang($module_name);
if(!isset($pntables)) include_once("modules/$module_name/includes/pntables.php");
if(!isset($config_np)) include_once("modules/$module_name/includes/config.php");

$newslink="modules.php?name=$module_name";
#require_once("includes/imagefunctions.php");

if(($req!='print' AND $req!='comments')OR !$sid)
{
include_once("header.php");
opentable();
echo "<tr>
   <td width=20% align=center><a href=$newslink>"._INDEX."</a></td>
   <td width=20% align=center><a href=modules.php?name=Submit_News>"._SUBMITNEWS."</a></td>
   <td width=20% align=center><a href=modules.php?name=Stories_Archive>"._ARCHIVES."</a></td>
   <td width=20% align=center><a href=$newslink&req=topics>"._TOPICS."</a></td>
   <td width=20% align=center><a href=$newslink&req=categories>"._CATEGORIES."</a></td>
   </tr>";
closetable();   
}
/*********************************************************/
/* formatting stories                                    */
/*********************************************************/

function getTopics_np($s_sid) {
    global $topicname, $topicimage, $topictext, $pntable, $dbi;
    $sid = $s_sid;
    $result = sql_query("SELECT topic FROM $pntable[stories] where sid=$sid", $dbi);
    list($topic) = sql_fetch_row($result, $dbi);
    $result = sql_query("SELECT topicid, topicname, topicimage, topictext FROM $pntable[topics] where topicid=$topic", $dbi);
    list($topicid, $topicname, $topicimage, $topictext) = sql_fetch_row($result, $dbi);
}

function formatAidHeader_np($aid) {
    global $pntable, $dbi;
extract(getadmininfo($aid));
    if (isset($url)) {
   $aid = "<a href=\"$url\">$aid</a>";
    } elseif (isset($email)) {
   $aid = "<a href=\"mailto:$email\">$aid</a>";
    } else {
   $aid = $aid;
    }
    return($aid);
}

function themepreview_np($storytitle, $hometext, $bodytext="", $notes="")
{
    echo "<font class=\"pn-title\"><b>".evaldef($storytitle)."</b></font><br><br><font class=\"pn-normal\">".evaldef($hometext)."</font>";
    if ($bodytext != "") {
        echo "<br><br><font class=\"pn-normal\">".evaldef($bodytext)."</font>";
    }
    if ($notes != "") {
        echo "<br><br><font class=\"pn-normal\"><b>"._NOTE."</b> <i>$notes</i></font>";
    }
}

function printarticle($sid)
{
$openpopup="<script LANGUAGE=\"JavaScript\">
      function openpopup(){
      var popurl=\"modules.php?name=$GLOBALS[module_name]&req=print&sid=$sid\"
      winpops=window.open(popurl,\"\",\"fullscreen=yes, toolbar=yes\")
      }
      </script>";
return "$openpopup<a href=\"javascript: openpopup();\"><img src=\"images/print.gif\" border=\"0\" Alt=\""._PRINTER."\" width=\"15\" height=\"11\"></a>";
}

/*
if ($file != "") {
    $index = 0;
    include_once("header.php");
    OpenTable();
    $file2 = substr($file,0,2);
    if (ereg("\.\.", $file2)) {
   $file = ereg_replace("\.\.", "", $file);
    }
    $file2 = substr($file,0,1);
    if ($file2 == "/") {
   $file = ereg_replace("/", "", $file);
    }
    if (!@file($file) OR (eregi("\.\.",$file))) {
   echo "<center><font class=\"title\">$sitename</font><br><br>"
       ."<font class=\"content\">"._FILENOTEXIST."</font><br><br>"
       .""._GOBACK."</center>";
    } else {
   include("counter.php");
   include("$file");
    }

    CloseTable();
    include("footer.php");
    die();
}

*/

switch($req)
   {
   case "print":
      if(!isset($sid)) include("modules/$module_name/theindex.php");
      else include("modules/$module_name/print.php");
      break;
   case "article":
      if (!isset($sid) && !isset($tid))  include("modules/$module_name/theindex.php");
      else
      include("modules/$module_name/comments.php");
      switch($op) {
          case "Reply":
         Header("Location: $newslink&req=comments&op=Reply&pid=0&sid=$sid&mode=$mode&order=$order&thold=$thold");
         break;
          default:
         include("modules/$module_name/article.php");
         break;
      }
      break;
   case "topics":
      include("modules/$module_name/topics.php");
      break;

   case "categories":
      include("modules/$module_name/categories.php");
      break;

   case "comments":
      include("modules/$module_name/comments.php");
      switch($op) {
      
          case "Reply":
         include_once("header.php");
         reply($pid, $sid, $mode, $order, $thold);
         break;
      
          case ""._PREVIEW."":
         include_once("header.php");
         replyPreview ($pid, $sid, $subject, $comment, $xanonpost, $mode, $order, $thold, $posttype);
         break;
      
          case ""._OK."":
         CreateTopic($xanonpost, $subject, $comment, $pid, $sid, $host_name, $mode, $order, $thold, $posttype);
         break;
      
          case "moderate":
         if(isset($admin)) {
            checkadmin();
         } else {
             include("mainfile.php");   
         }
         if(($admintest==1) || ($moderate==2)) {
             while(list($tdw, $emp) = each($HTTP_POST_VARS)) {
            if (eregi("dkn",$tdw)) {
                $emp = explode(":", $emp);
                if($emp[1] != 0) {
               $tdw = ereg_replace("dkn", "", $tdw);
               $q = "UPDATE $pntable[comments] SET";
               if(($emp[1] == 9) && ($emp[0]>=0)) { # Overrated
                   $q .= " score=score-1 where tid=$tdw";
               } elseif (($emp[1] == 10) && ($emp[0]<=4)) { # Underrated
                   $q .= " score=score+1 where tid=$tdw";
               } elseif (($emp[1] > 4) && ($emp[0]<=4)) {
                   $q .= " score=score+1, reason=$emp[1] where tid=$tdw";
               } elseif (($emp[1] < 5) && ($emp[0] > -1)) {
                   $q .= " score=score-1, reason=$emp[1] where tid=$tdw";
               } elseif (($emp[0] == -1) || ($emp[0] == 5)) {
                   $q .= " reason=$emp[1] where tid=$tdw";
               }
               if(strlen($q) > 20) sql_query("$q", $dbi);
                }
            }
             }
         }
         Header("Location: $newslink&req=article&sid=$sid&mode=$mode&order=$order&thold=$thold");
         break;
      
          case "showreply":
         include_once("header.php");
         DisplayTopic($sid, $pid, $tid, $mode, $order, $thold);
         break;
      
          default:
         if ((isset($tid)) && (!isset($pid))) {
         include_once("header.php");
             singlecomment($tid, $sid, $mode, $order, $thold);
         } elseif (($mainfile) xor (($pid==0) AND (!isset($pid)))) {
             Header("Location: $newslink&req=article&sid=$sid&mode=$mode&order=$order&thold=$thold");
         } else {
         include_once("header.php");
             if(!isset($pid)) $pid=0;
             DisplayTopic($sid, $pid, $tid, $mode, $order, $thold);
         }
         break;
      
      }
      exit;
   default:
       include("modules/$module_name/theindex.php");
      break;

   }

?>

Andi

 :cry nee Rinaldo,
in der Datei is nix zu finden .....
schön´s Grüssle, Andi

rinaldo2000at

 :cry Es ist zum Wahnsinnig werden!  :cry

Andi kannst du dir bitte die Datei saugen http://lophas.phpwebhosting.com/phpnuke/modules.php?name=Downloads&d_op=getit&lid=31 ich bin mir sicher du hast es sofort!
Danke!!!

rinaldo2000at


DarkBoy

Hi
 nun nochmal :
Zitat.title { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; font-weight: bold; color: #0402A7; letter-spacing: 2px}
wenn vorhanden in deiner CSS dann  farbe ändern , wenn nicht  dann einsetzen und farbe ändern!!!
 stand aber nun schon 2 mal hier drinne :) es sollte dann gehen :)