+ Antworten
Ergebnis 1 bis 4 von 4

Thema: Newbie braucht dringend Eure Hilfe

  1. #1
    Neu an Board
    Registriert seit
    15.10.2005
    Beiträge
    2
    Bedankte sich
    0
    Erhielt 0 Danksagungen
    in 0 Beiträgen

    Frage Newbie braucht dringend Eure Hilfe

    Hallo @ all,

    ich hab mich nun endlich mal ans Webseiten gestalten gemacht.
    Ein Bekannter gab mir den Tipp, dies doch mit Joomla zu verwirklichen.

    Ich hab's bei mir lokal auf dem Rechner installiert und auch schon mein erstes Template fertig.
    Allerdings funktioniert ungefähr 10% von dem was ich mir vorgestellt habe.

    Deshalb an Euch ein paar Fragen:
    1. Ich habe in der index.php eine Tabelle definiert, die so aussieht:

    <table width="800" border="0" cellspacing="0" cellpadding="0">
    <tr height="100">
    <td colspan="2" class="top">
    <?php mosLoadModules('top'); ?>
    </td>
    </tr>
    <tr height="350">
    <td width="200" class="navi">
    <?php mosLoadModules('left'); ?>
    </td>
    <td width="600" class="main">
    <?php mosLoadModules('user1'); ?>
    </td>
    </tr>
    <tr height="50">
    <td colspan="2" class="bottom">
    <?php mosLoadModules('bottom'); ?>
    </td>
    </tr>
    </table>

    Eigentlich ein recht einfaches Teil - zum Einstieg reichts erstmal
    Was ums Verrecken nicht funktioniert sind die php-Anweisungen an Joomla!
    Das einzigste, was ich sehe sind die Links im Main Menü.
    Obwohl ich auch schon entsprechende Static Content hinter die Links gelegt habe erscheinen diese nicht im "main"-Fenster...
    Schätze, das hat irgendwas mit den Module Postitons zu tun, oder???
    Denke, das wird auch nix Schlimmes sein und hoffe, dass ihr mir helfen könnt.

    2. Wieso sind die Links im Hauptmenü scheinbar durch einen Standard blau und unterstrichen, obwohl ich in der css-Datei definitiv angegeben habe "text-decoration: none;"?

    Das wären für mich erstmal die wichtigsten Fragen an euch...
    Kommen bestimmt noch etliche mehr...

    Hoffe auf Antwort...

    Mac.MR

  2. #2
    Neu an Board Avatar von kraychek
    Registriert seit
    06.05.2005
    Ort
    Berlin
    Alter
    30
    Beiträge
    5
    Bedankte sich
    0
    Erhielt 0 Danksagungen
    in 0 Beiträgen

    Standard

    Mehr Infos zum Code wären hilfreich ... am besten alles!
    Offizielles Fanportal der Ohrbooten: OHRBOOT.de

  3. #3
    Neu an Board
    Registriert seit
    15.10.2005
    Beiträge
    2
    Bedankte sich
    0
    Erhielt 0 Danksagungen
    in 0 Beiträgen

    Standard hier alles!!

    kein Problem:

    1. Index.php

    <?php
    defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
    //needed to seperate the ISO number from the language file constant _ISO
    $iso = split( '=', _ISO );
    //xml prolog
    echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';
    ?>

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

    <head>
    <?php
    if ( $my->id ) {
    initEditor();
    }
    ?>

    <meta **********="Content-Type" content="text/html;charset=iso-8859-1" />

    <?php mosShowHead(); ?>

    <link rel="stylesheet" type="text/css" href="<?php echo $mosConfig_live_site;
    ?>/templates/joomlatemp/css/template_css.css" />

    </head>

    <body>
    <center>

    <table width="800" border="0" cellspacing="0" cellpadding="0">
    <tr height="100">
    <td colspan="2" class="top">
    <?php mosLoadModules('top'); ?>
    </td>
    </tr>
    <tr height="350">
    <td width="200" class="navi">
    <?php mosLoadModules('left'); ?>
    </td>
    <td width="600" class="main">
    <?php mosLoadModules('user1'); ?>
    </td>
    </tr>
    <tr height="50">
    <td colspan="2" class="bottom">
    <?php mosLoadModules('bottom'); ?>
    </td>
    </tr>
    </table>

    </center>
    </body>
    </html>


    2. templateDetails.xml

    <?xml version="1.0" encoding="iso-8859-1"?>
    <mosinstall type="template">
    <name>joomlatemp</name>
    <creationDate>2005-10-13</creationDate>
    <author>ich</author>
    <copyright>Dieses Template ist geschützt</copyright>
    <authorEmail>master@test.com</authorEmail>
    <authorUrl>www.test.com</authorUrl>
    <version>0.1</version>
    <description>test eines joomla temp</description>
    <files>
    <filename>index.php</filename>
    <filename>template_thumbnail.png</filename>
    </files>
    <images>
    <filename>images/topofsite.gif</filename>
    </images>
    <css>
    <filename>css/template_css.css</filename>
    </css>
    </mosinstall>

    3. template_css.css

    /* template_css */

    body {
    background-color: transparent;
    text-decoration: none;
    }

    .top {
    background-color: #FFFF00;
    background-image: url(../images/topofsite.gif)
    text-decoration: none;
    }

    .navi {
    background-color: #FFFF00;
    font-family: Verdana, Arial, Helvetica, san-serif;
    text-decoration: none;
    font-size: 10px;
    vertical-align:top
    }

    .main {
    background-color: #FFFF00;
    font-family: Verdana, Arial, Helvetica, san-serif;
    font-size: 10px;
    text-decoration: none;
    vertical-align:top
    }

    .bottom {
    background-color: #FFFF00;
    font-family: Verdana, Arial, Helvetica, san-serif;
    font-size: 8px;
    color: #996600;
    text-decoration: none;
    text-align: center
    }

    Vielleicht ist's jetzt besser zu sehen??


    Mac-MR

  4. #4
    OJ*
    OJ* ist offline
    Hat hier eine Zweitwohnung
    Registriert seit
    28.08.2005
    Alter
    38
    Beiträge
    1.105
    Bedankte sich
    53
    Erhielt 197 Danksagungen
    in 185 Beiträgen

    Standard Da geht nicht....

    Also, du versuchst in deiner index.php einen aufruf der css via class="blablabla", ist im bezug auf joomla / mambo nicht richtig.
    also ersteinmal l&#246;sche s&#228;mtliche aufrufe (class) aus deiner index.php und kopiere einfach mal von einem anderen template die css in deinen order. wenn du dir dann deine seite anschaust sollte es gehen, nun noch die css datei farblich etc. anpassen, so wie du es haben m&#246;chtest.

    beispiel einer css:

    .highlight
    {
    color: #ff9900;
    border-bottom:1px dotted;
    }
    ul
    {
    margin: 0;
    padding: 0;
    list-style: none;
    }

    li
    {
    line-height: 15px;
    padding-left: 15px;
    padding-top: 0px;
    background-image: url(../images/arrow.png) ;
    background-repeat: no-repeat;
    background-position: 0px 3px;
    }

    .contentpane td
    {
    padding-top: 3px;
    }
    .tdpathway
    {
    background-image: url(../images/pathway.gif);
    background-repeat : no-repeat;
    padding-left:16px;
    }
    a.pathway:link , a.pathway:visited
    {
    font-size: 12px;
    color: #000000;

    }
    a:link, a:visited {
    font-size: 12px;
    color: #000000;
    }

    a:hover {
    text-decoration: none;
    }

    table.contenttoc {
    border: 1px solid #cccccc;
    padding: 2px;
    }

    table.contenttoc th {
    border-bottom : 2px solid #D3D6D3;
    background : #B5BBB6;
    color: #FFFFFF;
    text-align: left;
    padding-top: 4px;
    padding-left : 3px;
    height: 23px;
    font-weight: bold;
    font-size: 11px;
    }

    table.contenttoc td
    {
    background : #989898;
    line-height:12px;
    }

    table.contenttoc a:link , table.contenttoc a:visited
    {
    font-size:11px;
    color: #FFFFFF;
    text-decoration : none;
    }

    table.contenttoc a:hover
    {
    color : #000000;
    text-decoration : none;
    }

    .pagenavbar a:link , .pagenavbar a:visited
    {
    font-size:12px;
    color: #000000;
    }

    .pagenavbar a:hover
    {
    text-decoration: none;
    }


    a.category:link, a.category:visited
    {
    font-size:12px;
    color: #000000;
    }

    a.category:hover
    {
    text-decoration:none;
    }

    .back_button a:link , .back_button a:visited
    {
    font-size:12px;
    color: #000000;
    }

    .back_button a:hover
    {
    text-decoration: none;
    }


    .pagenav a:link , .pagenav a:visited

    {
    font-size:12px;
    color: #000000;
    }
    .pagenav a:hover
    {
    font-size:12px;
    text-decoration: none;

    }

    a.readon:link, a.readon:visited
    {
    font-size:11px;
    color: #000000;
    text-decoration: none;
    border : 1px solid #eeeeee;
    background : #eeeeee;
    padding-left: 3px;
    padding-bottom : 1px;
    padding-top: 1px;
    }

    a.readon:hover
    {
    text-decoration:none;
    color: #ffffff;
    background : #858585;
    }

    a.blogsection:link, a.blogsection:visited
    {
    font-size:12px;
    color: #000000;
    }

    a.blogsection:hover
    {
    text-decoration:none;
    }

    .contentpaneopen
    {
    text-align: justify;
    }
    .createdate , .small
    {
    font-family: verdana;
    font-size:10px;
    color: #B5BBB6;
    }
    .componentheading
    {
    border-bottom: 1px solid;
    font-size: 15px;
    font-weight: bold;
    color : #6788BA;
    }
    .contentheading {
    height: 20px;
    background: url(../images/contenthead.png) no-repeat;
    background-position: 0px 9px;
    color: #666666;
    text-align: left;
    padding-left: 10px;
    font-weight: bold;
    font-size: 14px;
    white-space: nowrap;
    vertical-align : bottom;
    }

    .sectiontableheader
    {
    background :#B5BBB6;
    color : #ffffff;
    }
    .tdmainbody
    {
    padding-top : 3px;
    padding-right: 3px;
    padding-left : 5px;
    padding-bottom : 3px;
    }
    .button
    {
    background : #B5BBB6;
    height : 20px;
    font-size:10px;
    font-family: verdana;
    border : 1px solid #989898;
    }

    .inputbox
    {
    border : 1px solid #B5BBB6;
    font-family: verdana;
    font-size: 11px;
    }
    table.moduletable a:link
    {
    color: #ffffff;
    }

    table.moduletable a:visited
    {
    color: #ffffff;
    }

    table.moduletable a:hover
    {
    color: #000000;
    }

    table.moduletable {
    width : 100%;
    margin-bottom: 5px;
    padding: 0px;
    border-spacing: 0px;
    border-collapse: collapse;
    }


    table.moduletable th {
    border-bottom : 2px solid #D3D6D3;
    background : #B5BBB6;
    color: #FFFFFF;
    text-align: left;
    padding-top: 4px;
    padding-left : 3px;
    height: 23px;
    font-weight: bold;
    font-size: 11px;
    }

    table.moduletable td {
    font-size: 11px;
    margin: 0px;
    font-weight: normal;
    color: #FFFFFF;
    }

    #active_menu {
    background : #D3D6D3;
    color : #000000;
    background-image: url(../images/active_arrow.gif) ;
    background-repeat: no-repeat;
    background-position : 12px 10px;
    padding-left: 23px;
    }
    a.mainlevel:link, a.mainlevel:visited {
    display: block;
    vertical-align: middle;
    color: #FFFFFF;
    text-align: left;
    padding-top : 5px;
    padding-left :12px;
    height: 18px !important;
    height: 23px;
    text-decoration: none;

    }

    a.mainlevel:hover {
    text-decoration: none;
    color : #000000;
    background : #D3D6D3;
    }

    a.sublevel:link, a.sublevel:visited {
    padding-left: 3px;
    font-size: 12px;
    color: #FFFFFF;
    text-align: left;
    text-decoration:none;
    }

    a.sublevel:hover {
    color: #000000;
    text-decoration: none;
    }

    tr, p, div {
    font-family : Arial;
    font-size : 12px;
    color : #848E86;
    }


    Um die css datei ein wenig besser verstehen zu k&#246;nnen schau mal hier:
    http://www.joomlaos.de/CSS_Guide.html

+ Antworten

Ähnliche Themen

  1. super viele fehler und probleme brauche DRINGEND hilfe!!
    Von IckZ im Forum Allgemeine Fragen zu Joomla
    Antworten: 7
    Letzter Beitrag: 07.10.2005, 12:58
  2. Dringend Hilfe beim Einbinden einer Datenbank gesucht!
    Von tropenband im Forum Allgemeine Fragen zu Mambo
    Antworten: 1
    Letzter Beitrag: 04.08.2005, 16:21
  3. Mambo geschoßen (brauche dringend Hilfe)
    Von Met<>< im Forum Allgemeine Fragen zu Mambo
    Antworten: 1
    Letzter Beitrag: 28.04.2005, 07:13
  4. Finde die Farbe nicht ! Ich bitte dringend um Hilfe
    Von smokeyjoe im Forum Mambo Templates
    Antworten: 7
    Letzter Beitrag: 25.03.2005, 22:55
  5. Bin ein Newbie! Brauche hilfe bei installation!
    Von CinimoDRPG im Forum Mambo Installation
    Antworten: 6
    Letzter Beitrag: 03.01.2005, 14:20

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein