<moderator>snipp</moderator>
Anmerkung Moderation: Stein des Anstosses befindet sich jetzt in diesem Beitrag
Beiträge von epic
-
-
Hallo.
Ich bin am ausrasten. Ich habe mir schon unzählige Beiträge durchgelesen aber es will nicht klappen. Ich habe meine FTP Daten und miene DB von freehostia.com gesichert. Jetzt wollt ich Sie bei Funpic importieren und folgender Fehler tritt immer wieder auf.
PHP
Alles anzeigenSQL-Befehl: -- -- Daten für Tabelle `wp_posts` -- INSERT INTO `wp_posts` VALUES ( 2, 1, '2006-11-08 22:30:12', '2006-11-08 20:30:12', 'Unser Angebot enthält Links zu externen Webseiten Dritter, auf deren Inhalte wir keinen Einfluss haben. Deshalb können wir für diese fremden Inhalte auch keine Gewähr übernehmen. Für die Inhalte der verlinkten Seiten ist stets----------------------------------- -- -- Tabellenstruktur für Tabelle `wp_usermeta` -- DROP TABLE IF EXISTS `wp_usermeta`; CREATE TABLE `wp_usermeta` ( `umeta_id` bigint(20) NOT NULL auto_increment, `user_id` bigint(20) NOT NULL default '0 ', `meta_key` varchar(255) default NULL, `meta_value` longtext, PRIMARY KEY (`umeta_id`), KEY `user_id` (`user_id`), KEY `meta_key` (`meta_key`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=23 ; -- -- Daten für Tabelle `wp_usermeta` -- INSERT INTO `wp_usermeta` VALUES (1, 1, 'wp_user_level ', '10 '); INSERT INTO `wp_usermeta` VALUES (2, 1, 'wp_capabilities ', 'a :1 : {s :13 : "administrator" MySQL meldet: http://dev.mysql.com/doc/mysql/en/Error-returns.html http://phpmyadmin.protect1977.pr.funpic.de/themes/original/img/b_help.png #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '0', `meta_key` varchar(255) default NULL, `meta_value` longtext, PRIMARY K' at line 5Bitte um Hilfe was kann ich tun um erfolgreich die Datenbank zu importieren. Irgrndwie hab ichs mir einfacher vorgestellt...:?
-
Hallo Monika. Wie finde ich denn das raus ??
-
Hallo. Ich hab schon alles im Code durchsucht aber irgendwie möchte das nicht klappen.:mad: Ich möchte die Überschrift für den Content ändern und zwar Größe und Schriftart. Kann mir einer sagen wo ? Vielen Dank.
Code
Alles anzeigen/* /* standard elements */ * { margin: 0; padding: 0; } body { background: #6C1400 url(img/bgbody.gif) repeat-y center top; font: normal 0.7em Verdana,sans-serif; } div a { color: #FFF; cursor: pointer; text-decoration: none; } h1 { color: #444; font: normal 2em sans-serif; margin: 18px 0 0 0; } code { background: url(img/bgcode.gif); border: 1px solid #F0F0F0; border-left: 6px solid #CC0033; color: #555; display: block; font: normal 1em "Lucida Sans Unicode",serif; margin-bottom: 12px; padding: 8px 10px; white-space: pre; } blockquote { background: url(img/quote.gif) no-repeat; color: #555; display: block; font: bold 1.2em "Trebuchet MS",serif; margin: 6px 0; padding-left: 28px; } /* structure */ .main { width: 680px; margin: 0 auto; } .main_left { float: left; padding-top: 6px; width: 420px; } .main_right { border-top: 6px solid #FFF; float: right; width: 254px; } .footer {clear: both;} /* misc */ .left { float: left; } .right { float: right; } .header,.link_projects,.lbl,.link_updates a { border-bottom: 6px solid #FFF; } div.link_projects a:hover,div.link_updates a:hover, .content a:hover, div.footer div.left a:hover { background: #006699; color: #FFF; } /* logo */ .header { background: #D91623 url(img/bgheader.gif) repeat-x; height: 180px; } .header h1 { margin: 0; padding: 124px 0 0 24px; font: normal 1.2em Verdana,sans-serif; } /* main navigation */ .link_menu { background: #CC2224 url(img/grdnt_red.png) repeat-x; } .link_menu a { border-bottom: 1px solid #FFF; display: block; font: bold 0.9em Verdana,sans-serif; height: 18px; padding: 6px 0 0 10px; text-decoration: none; } .link_menu a:hover {background: #444;} #navMenu li { list-style-type:none; } /* projects */ .lbl { background: #222 url(img/bglbl.gif) repeat-x; clear: both; color: #FFF; font: normal 1.2em Verdana,sans-serif; height: 50px; line-height: 50px; overflow: hidden; text-align: center; } .link_projects a { display: block; height: 100px; text-align: center; color: #FFF; padding-top: 24px; width: 124px; font-size: 0.9em; font-family: sans-serif; } .link_projects a span { font: normal 5em sans-serif; } a.g1 { background: #009933; } a.g2 { background: #ff6633; border-left: 6px solid #FFF; } /* updates */ .link_updates { background: #0099FF repeat-x; } .link_updates .lbl { border-top: 6px solid #FFF; height: 100px; line-height: 100px; } .link_updates a { clear: right; display: block; font: normal 1em Verdana,sans-serif; height: 55px; padding: 10px 0; text-align: center; } .link_updates a span { float: left; font: normal 1em Verdana,sans-serif; font-weight:bold; letter-spacing: 0px; margin-left: 10px; margin-top: 3px; padding:5px; } /* content */ .content { color: #444; font-family: Verdana,sans-serif; line-height: 1.3em; padding: 0 10px 10px; } .content a { color: #006699; } .content p { margin: 4px 0 10px 0; border-bottom: 1px dotted #666666; } .content .descr { color: #666; margin-bottom: 10px; } .content li { list-style: url(img/li.gif); margin-left: 18px; } /* footer */ .footer { color: #666; clear: both; } .footer .right a { background: #2A2A2A; color: #555; padding: 1px 3px; } .footer .right a:hover { background: #006699; color: #999; } .footer .left a { color: #777; } .footer .left { border-top: 1px solid #F0F0F0; padding: 9px 0 9px 9px; width: 407px; } .footer .right { margin-right: 8px; padding: 9px 0; text-align: right; width: 220px; } /* COMENTS */ .commentlist li { background: url(img/bgcode.gif); border: 1px solid #F0F0F0; border-left: 6px solid #D91623; color: #555; display: block; font: normal 1em "Lucida Sans Unicode",serif; margin-bottom: 12px; padding: 8px 10px; } .commentmetadata a, #commentform a { color:#D91623; } #comment { width:97%; height:15em; } .insertando { text-align:center; font-size:1.5em; } .gravatar { float:right; } -
Sorry habs hinbekommen. Musste natürlich in die Sidebar. Danke an alle
-
Kann sich das mal jemand anschauen wenn ich die Log Daten gebe ?
-
Beispiele:
PHP
Alles anzeigen<li id="search"> <label for="s"> <h2 style="margin-bottom:-6px; padding-bottom:0px;"> Suchen </h2></label> <form id="searchform" method="get" action="<?php bloginfo('url'); ?>/index.php" style="margin-bottom:-2px;"> <div> <input type="text" name="s" size="12" /> <input type="submit" id="buton" name="Submit" value="los!" style="height:16px;" /> </div> </form> </li>Und das kommt in die Style.css ??
Folgende Dateien befinden sich im Theme Ordner: comments.php footer.php. header.php index.php sidebar.php style.css -
Was hast du denn schon alles probiert? Wir sind heir keine Hellseher und benötigen schon ein wenig mehr konkreten Input (code, links etc.).
Grüße
MoAlso ich habe versch. "Search Plugins" eingebunden, dann Dateien von einem anderen Theme in die Index.php eingebunden und die Forumssuche benutzt.
-
Kannst Du bitte mal das [COLOR=Red]<form></form> [/COLOR]hier posten? Kannst auch mal versuchen, das aus dem Standard-Template zu nehmen.
Das Formular sorgt nur dafür, dass die Anfrage an den Server geschickt wird. Die Suchanfrage kannst Du auch erzeugen, indem Du an Deine URL sowas wie ?s=suchbegriff anhängst.
Wo finde ich die ??
-
Oh ja hab schon alles probiert. Es will nicht klappen.:confused:
Edit: das Problem ist ja das das Theme ohne "Suche" existiert. Ich habe das Theme jetzt aber so lange bearbeitet bis es mir gefiel und auf einmal bemerkte ich das keine Suchfunktion existiert. Ich möchte auch kein anderes Theme unbedingt benutzen.
-
Hallo.
Wie kann man in ein Theme das keine Suchfunktion beinhaltet, nachträglich eine einbauen? Funktioniert das ?
-
Hallo. Ich würde ger wissen ob man in der CSS einen automatischen Zeilenumbruch einstellen kann und wenn ja wo und wie. Leider hab ich das Forum schon dursucht aber nichts gefunden. Vielen Dank schonmal.
PHP
Alles anzeigen/* Theme Name: Simpla Theme URI: http://ifelse.co.uk/simpla/ Description: A clean, minimalist theme Version: 1.01 Author: Phu Ly Author URI: http://ifelse.co.uk/ */ /************************************* +Containers *************************************/ body{ background:#fff url(./images/bg.gif) repeat-x; border-top:5px solid #333; color:#555; font-family: "Times New Roman", Times, serif; font-size:82.5%; line-height:1.5; margin:0; padding:0; text-align:center; } #wrap{ margin:0 auto; text-align:left; width:76em; } #content{ font-size:1.2em; float:left; padding:1em; width:40em; } #sidebar{ font-size:0.9em; color:#993333; float:right; padding-top:2em; width:20em; } #header{ padding:3em 1em; } #footer{ background:#3399cc; border-top:1px solid #777; color:#cccccc; clear:both; font-size:0.9em; padding:0.5em; } /************************************* +Hn and p *************************************/ h1, h2, h3{ font-family: "Times New Roman", Times, serif; font-weight:normal; letter-spacing: 0px; margin:0; } #header h1{ font-family: Georgia, "Times New Roman", Times, serif; font-size:3em; margin:0; margin-right:1em; } #header h1 a{ color:#66ccff; } #header h1 a:hover{ color:#448CCA; } #header p{ color:#aaa; font-size:1.1em; margin:0; margin-top:-0.5em; } .entrytitle h2{ font-size:1.5em; } .entrytitle h2 a { color:#39B44A; } .entrytitle h2 a:hover{ color:#58BBEB; } .entrytitle h3{ font-size:1.0em; color:#6F6F6F; } #sidebar h3{ color:#555; font-size:1.5em; margin:1em 0; } /************************************* +Entry *************************************/ .entry{ margin-bottom:-2em; border-bottom: 1px dotted #666666; } .entrymeta{ font-size:0.9em; } .postedby{ background:#fff url(./images/user.gif) no-repeat; padding:3px; padding-left:20px; } .filedto{ background:#fff url(./images/post.gif) no-repeat; padding:3px; padding-left:20px; } .commentslink{ background:#fff url(./images/packaged.gif) no-repeat; padding:3px; padding-left:20px; } /************************************* +Sidebar *************************************/ #sidebar ul{ list-style-type:none; margin:0; padding:0; } #sidebar ul li{ border-bottom:1px dotted #ddd; margin-bottom:0.3em; padding:0.3em; } /************************************* +Comments *************************************/ .commentsblock{ margin:0.5em; padding:1em; } .commentsblock textarea{ width:35em; } .commentsblock input, .commentsblock textarea{ border:1px solid #d1d1d1; } .commentsblock textarea:focus{ background:#eee; border:1px solid #a1a1a1; } .commentsblock textarea:focus, .commentsblock input:focus{ background:#eee; border:1px solid #a1a1a1; } .commentauthor{ display:block; font-size:1.5em; } ol.commentlist{ color:#777; font-size:0.9em; list-style-type:none; margin:0; margin-top:1.5em; padding:0; } .commentlist li{ margin-bottom:0.5em; padding:0.5em 1em; } .alt{ background:#f3f5e9; border:1px dotted #d2d2d2; padding:0.5em; } h3#comments{ font-size:1.6em; } /************************************* +Misc *************************************/ a{ color:#579; text-decoration:none; } a:hover{ color:#CC0000; } -
ja danke, das war es
-
Hallo. Habe eine frage zur Template Konfiguration
Wo ändere ich in der CMS die Abstandsgröße für die Beiträge ?Screen hier:
http://img177.imageshack.us/my.php?image=unbenannt1jn2.jpgCMS:
PHP
Alles anzeigen/* Theme Name: Simpla Theme URI: http://ifelse.co.uk/simpla/ Description: A clean, minimalist theme Version: 1.01 Author: Phu Ly Author URI: http://ifelse.co.uk/ */ /************************************* +Containers *************************************/ body{ background:#fff url(./images/bg.gif) repeat-x; border-top:5px solid #333; color:#555; font-family: "Times New Roman", Times, serif; font-size:82.5%; line-height:1.5; margin:0; padding:0; text-align:center; } #wrap{ margin:0 auto; text-align:left; width:76em; } #content{ font-size:1.2em; float:left; padding:1em; width:40em; } #sidebar{ font-size:1.1em; float:right; padding-top:2em; width:20em; } #header{ padding:3em 1em; } #footer{ background:#333; border-top:1px solid #777; color:#888; clear:both; font-size:0.9em; padding:0.5em; } /************************************* +Hn and p *************************************/ h1, h2, h3{ font-family: "Times New Roman", Times, serif; font-weight:normal; letter-spacing: 0px; margin:0; } #header h1{ font-family: Georgia, "Times New Roman", Times, serif; font-size:3em; margin:0; margin-right:1em; } #header h1 a{ color:#C0C0C0; } #header h1 a:hover{ color:#448CCA; } #header p{ color:#aaa; font-size:1.1em; margin:0; margin-top:-0.5em; } .entrytitle h2{ font-size:1.5em; } .entrytitle h2 a { color:#39B44A; } .entrytitle h2 a:hover{ color:#58BBEB; } .entrytitle h3{ font-size:1.5em; color:#6F6F6F; } #sidebar h3{ color:#555; font-size:1.5em; margin:1em 0; } /************************************* +Entry *************************************/ .entry{ margin-bottom:3em; } .entrymeta{ font-size:0.9em; } .postedby{ background:#fff url(./images/user.gif) no-repeat; padding:3px; padding-left:20px; } .filedto{ background:#fff url(./images/post.gif) no-repeat; padding:3px; padding-left:20px; } .commentslink{ background:#fff url(./images/packaged.gif) no-repeat; padding:3px; padding-left:20px; } /************************************* +Sidebar *************************************/ #sidebar ul{ list-style-type:none; margin:0; padding:0; } #sidebar ul li{ border-bottom:1px dotted #ddd; margin-bottom:0.3em; padding:0.3em; } /************************************* +Comments *************************************/ .commentsblock{ margin:0.5em; padding:1em; } .commentsblock textarea{ width:35em; } .commentsblock input, .commentsblock textarea{ border:1px solid #d1d1d1; } .commentsblock textarea:focus{ background:#eee; border:1px solid #a1a1a1; } .commentsblock textarea:focus, .commentsblock input:focus{ background:#eee; border:1px solid #a1a1a1; } .commentauthor{ display:block; font-size:1.5em; } ol.commentlist{ color:#777; font-size:0.9em; list-style-type:none; margin:0; margin-top:1.5em; padding:0; } .commentlist li{ margin-bottom:0.5em; padding:0.5em 1em; } .alt{ background:#f3f5e9; border:1px dotted #d1d1d1; padding:0.5em; } h3#comments{ font-size:1.6em; } /************************************* +Misc *************************************/ a{ color:#579; text-decoration:none; } a:hover{ color:#CC0000; }