Danach im Backend: Write => page eine Seite schreiben und das neu pagetemplate auswählen
der Schritt ist mir nicht ganz klar *hust* :oops:
Um schreiben oder kommentieren zu können, benötigen Sie ein Benutzerkonto.
Sie haben schon ein Benutzerkonto? Melden Sie sich hier an.
Jetzt anmeldenHier können Sie ein neues Benutzerkonto erstellen.
Neues Benutzerkonto erstellenDanach im Backend: Write => page eine Seite schreiben und das neu pagetemplate auswählen
der Schritt ist mir nicht ganz klar *hust* :oops:
Hallo,
ich bin ein bissel am verzweifeln und muss also doch ein neues "Thema" aufmachen.
Ich hab mich jetzt mal über diese "Seitentemplates" schlau gemacht und
steig absolut nicht durch.
Mein Problem:
Ich hab im header.php - Bereich einen Balken erstellt, auf dem Buttons zum verlinken sind. Bsp. Galerie, Gästebuch & Events
So jetzt hab ich einfach die index.php genommen, diese kopiert und einfach den
entsprechenden Text umgeschrieben. Auf der header.php die Buttons noch dem entsprechend verlinkt. Bsp. Galerie => galerie.php und wenn ich es nun im Explorer anklicke, kommt eine Fehlermeldung.
Wie stell ich das jetzt richtig mit diesen "Seitentemplates" an?
dann bedank ich mich erst einmal recht herzlich :-)
und werde auf suche gehen ;-)
thnxX
ohHh, sorry ..
das "<href="" war zu viel, sorry ..
stand aber so auch nicht im quellcode.
habs versehendlich hier doppelt rein?! :mrgreen:
<?php get_header(); ?>
<div id="main">
<?php get_sidebar(); ?>
<div class="left_side">
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanenter Link zu <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<h3><img src="<?php bloginfo('stylesheet_directory'); ?>/images/timeicon.gif" alt="" /> <?php the_time('F jS, Y') ?> von <img src="<?php bloginfo('stylesheet_directory'); ?>/images/author.gif" alt="" /> <?php the_author() ?> </h3>
<div class="entry">
<?php the_content('Den Rest des Eintrags lesen »'); ?>
</div>
<p class="info">Geschrieben in <?php the_category(', ') ?> <strong>|</strong> <?php edit_post_link('Bearbeiten','','<strong>|</strong>'); ?> <img src="<?php bloginfo('stylesheet_directory'); ?>/images/comments.gif" alt="" /> <?php comments_popup_link('Keine Kommentare »', '1 Kommentar »', '% Kommentare »'); ?></p>
</div>
<?php comments_template(); ?>
<?php endwhile; ?>
<p align="center"><?php next_posts_link('« Frühere Einträge') ?> <?php previous_posts_link('Nächste Einträge »') ?></p>
<?php else : ?>
<h2 align="left">roxxz-entertainment GbR </h2>
<p>Wir sind ein junges Unternehmen im Bereich “Eventorganisation & - durchführung”<em><br />
<br />
Was wir für dich tun können?</em><br />
Du möchtest ein Event veranstalten und weisst nicht wo du anfangen sollst?<br />
Kein Problem!</p>
<p>Wir organisieren und führen das komplette Event für dich durch und versuchen deine Wünsche zu erfüllen und mit einzubringen. <br />
Von Kleinevents wie z.B. Geburtstage, Straßenfeste oder
Eintags - Veranstaltungen bis zur großen Wochenendevents wie <br />
Kirmes, Schützenfeste, Discos oder auch Trucker-, Oldtimertreffen organisieren wir dir Werbung, Lokation, Ausschank, Speisen, Personal <br />
und alles was sonst noch dazu gehört.</p>
<p><em>Das ist dir zu viel?<br />
</em>Benötigst du lediglich ein Teil von unserem Angebot?<br />
Auch das ist kein Problem. Wir stellen dir gerne für deine Veranstaltung, dass fehlende Personal, einen DJ, Alleinunterhalter, Band, <br />
Ausschankwagen mit und ohne Personal, Werbung und alles andere zur Verfügung oder beraten dich gerne über alles.</p>
<p><em>Das ist noch immer nicht alles?!<br />
</em>Außerdem veranstalten wir auch eigene Events, die du gerne besuchen kannst.<br />
Unter “Events” kannst du anstehende Veranstaltungen anschauen und weitere Informationen erhalten.<br />
<br />
greeze<br />
roxxz-entertainment TEAM<br />
<br />
<em>Geschäftsführer und Ansprechpartner: </em><br />
<a href="impressum.php">Impressum</a>; <a href="kontakt.php">Kontakte</a></p>
<p align="center"> </p>
<?php endif; ?>
</div>
</div>
<?php get_footer(); ?>
</div>
</body>
</html>
Alles anzeigen
das ist die roxxz.php
im prinzip genau wie die index.php nur mit einem andern text...
sorry, aber ich steig nicht durch :(
was mach ich bitte falsch?
<a href="<a href="http://localhost/wordpress/wp-c…og_DE/roxxz.php"><img src="<?php bloginfo('template_directory') ?>\images\roxxz.jpg" alt="Kontakte"/></a>
also ..
es funktioniert immernoch nicht : (
http://localhost/wordpress/ (so öffnet er mir die index.php)
http://localhost/blog/kontakt (er öffnet mir so aber nicht die kontakt.php)
http://localhost/wordpress/kontakt (und so öffnet er sie mir auch nicht)
ich bin am verzweifeln...
verflucht, warum kann ich nicht einfach wie bei html "/kontakt.htm" :?:
einfach "/kontakt.php"
also, wie gesagt, es gibt immernoch keine lösung, des problems?!
hätte ich vielleicht dazu sagen sollen ...
die ganze homepage entsteht OFFLINE,
kann also keine genaue URL angeben...
Es befindet sich aber alles in einem Ordner ..
Wie verlinke ich jetzt :confused:
Scheinbar ist das Thema gelöst;
allerdings hab ich auch ein kleines Problem und wollte nicht direkt nenn neues Theard dafür aufmachen ..
und zwar ..
hab ich im header.php Bilder als Link,
diese sind momentan alle auf die Startseite verlinkt.
Wie verlinke ich diese denn jetzt mit meinem kontakt.php?
(ich weiss ist ne totale noob frage, aber der bin ich auch in sachen php)
bitte um hilfe ; )
du bist der beste 8-)
genau das war der fehler ;)
*problem gelöst und closed
Also drauf klicken kann ich,
allerdings passiert nichts ^^
Und was meinst du mit:
"auf meinen Server schieben?"
Ich bau doch OFFLINE? ^^
Hier mal noch das "bla bla ... läd nicht"
Also dieses "Flash nicht geladen",
das ist in "Transperent" geschrieben.
Ich stell mal ein paar Bildchen online ; )
Bild 01:
Ordner "blueblog_DE" (Homepageordner)
Bild 02:
Ordner "images"
Den ganzen Spass mit dem Flash hau ich
übrigens in die header.php
greeze copy
Ja, kann sie seperat im ordner anklicken ; )
und mit einmal anklicken ist auch nix getan : (
@ jottlieb:
wie du sicherlich gelesen hast, bin ich am OFFLINE basteln ;-)
@ Alphawolf:
Ja, wenn ich rechts klicke, steht "Film nicht geladen ..."
Die Datei liegt aber WIRKLICH im Ordner.
Bitte weiterhin um Hilfe.
Hallo,
also ich hab die Suchfunktion schon benutzt aber hat mir speziell jetzt
nichts gebracht.
Kann mir vielleicht mal jemand sagen wo mein Fehler steckt?
Möchte nur ein einfachen Flashfilm in die Homepage einbinden,
wenn ich allerdings die Homepage mit dem I-Explorer öffne kommt nur ein
"weisses Fenster"
<div id="subheader">
<div id="menu">
<ul><?php wp_list_pages('title_li='); ?>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="[URL]http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0[/URL]" width="647" height="147">
<param name="movie" value="images/film.swf" />
<param name="quality" value="high" />
<embed src="images/film.swf" quality="high" pluginspage="[URL]http://www.macromedia.com/go/getflashplayer[/URL]" type="application/x-shockwave-flash" width="647" height="147"></embed>
</object>
</ul>
</div>
</div>
Alles anzeigen
P.S.:
Ich bau das ganze im moment erst OFFLINE,
deshalb kein genauer Link zur Homepage
[COLOR=seagreen]HELFT EINEM NOOB[/COLOR] :mrgreen:
Danke,
du bist der Burner : )
Hat funktioniert *happy*
<!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 profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> » Blog Archi <?php } ?> <?php wp_title(); ?></title>
<meta name="generator" content="Bluefish 1.0.7"/> <!-- leave this for stats -->
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php wp_get_archives('type=monthly&format=link'); ?>
<?php wp_head(); ?>
</head>
<body>
<div class="content">
<div id="top">
<div class="padding">
<a href="<?php bloginfo('url'); ?>/wp-admin">Login</a> | <a href="<?php bloginfo('rss2_url'); ?>">RSS</a>
</div>
</div>
<div id="header">
<div class="f_search">
<a href="<?php bloginfo('url'); ?> "><img src="/images/home.jpg" alt="Home"/></a>
</div>
<div class="title">
<h1><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1>
<h2><?php bloginfo('description'); ?></h2>
</div>
</div>
<div id="subheader">
<div id="menu">
<ul>
<li class="page_item"><a href="<?php bloginfo('url'); ?>">Home</a></li>
<?php wp_list_pages('title_li='); ?>
</ul>
</div>
</div>
Alles anzeigen
so sieht jetzt meine header.php aus...
das Bild für die Verlinkung wird aber immer noch nicht angezeigt.
So langsam verzweifel ich,
denn wenn ich es mit Dreamwaver öffne, erkennt das Programm das Bild
und zeigt es auch in der Dreamwaver vorschau an.
HILFE! :twisted: :???:
bitte um Antwort : )
und hier noch die style.css
(Buchstabenanzahl war zu lang)
[code=php]
/*
Theme Name: DJOberdreis
Theme URI: http://www.dj-oberdreis.com
Version: 3.0
Description: DJ Page (weiss blau)
Author: René Zerres
*/
/*
DJOberdreis
by Rene Zerres
*/
body {
margin:0px 0;
padding:0;
color:#ccc;
background: #1d1f20 url(file:///F|/XAMPP/xampp/htdocs/wordpress/wp-content/themes/blueblog_DE/blueblog_DE/images/bg.jpg) repeat-x;
line-height: 1.4em; font-style:normal; font-variant:normal; font-weight:normal; font-size:74%; font-family:Arial, Sans-Serif
}
a img
{
border:none;
}
.content {
background: #1d1f20 url(file:///F|/XAMPP/xampp/htdocs/wordpress/wp-content/themes/blueblog_DE/blueblog_DE/images/mainbg.jpg) repeat-y center;
color: #ccc;
margin: 0 auto;
padding: 0;
width: 1024px
}
.img {
padding: 0 8px 8px 0;
float: left;
}
.img2 {
padding: 0 0 3px 3px;
float: right;
}
/* HEADER
---------------------------------------------------------------------------------------------------------------------------------------------------
*/
#top {
padding: 0;
margin: 0;
background: #1d1f20 url(file:///F|/XAMPP/xampp/htdocs/wordpress/wp-content/themes/blueblog_DE/blueblog_DE/images/top.jpg) no-repeat top;
height: 28px
}
#header {
margin: 0;
width: 1024px;
background: #FFF url(file:///F|/XAMPP/xampp/htdocs/wordpress/wp-content/themes/blueblog_DE/blueblog_DE/images/header.jpg) no-repeat center top;
height: 135px;
color: #FFF
}
#header .f_search { float: right; padding: 70px 100px 0 0; }
#header .title { padding: 45px 0 0 50px; }
#header h1 {
font-family: Arial, Verdana, Helvetica, sans-serif;
font-size: 22px; font-weight: bold;
margin: 0;
padding: 0;
}
#header h2 {
font-family: Arial, Verdana, Helvetica, sans-serif;
font-size: 12px;
background-image: none;
color: #075181;
margin: 0;
padding-left:2px; padding-right:0; padding-top:0; padding-bottom:0
}
/* SUBHEADER
---------------------------------------------------------------------------------------------------------------------------------------------------*/
#subheader {
background: #000 repeat-y center;
width: 770px;
height: 35px;
color: #FFF;
margin-left: 15px;
}
#subheader .padding { padding: 10px 15px 10px 15px; }
#subheader h2 { color: #FEAB06; }
#subheader a {color: #FECF5F; }
/* NAVIGATION
---------------------------------------------------------------------------------------------------------------------------------------------------*/
.nav { text-align: left; color: #7D8085; padding: 20px 0 0 0px; width: 200px; }
.nav li {
margin: 5px 0 5px 0px;
padding: 0px 0 0 0px;
border-bottom: 1px dotted #ccc;
list-style: none;
}
.nav li a { color: #546078; text-decoration: none; padding: 5px 0 0 0px; display: block; margin-bottom: 2px;}
.nav li a:hover { color: #075181; text-decoration: none; background: #E5F6FF; display: block; margin-bottom: 2px;}
/* MAIN
---------------------------------------------------------------------------------------------------------------------------------------------------*/
#main { background: #FFF; width: 760px; margin: 0 20px 0 50px; color: #808080; }
#main .right_side { float: right;
padding:0px 0 0 10px; margin:0;
background-color: #FFF;
width: 60px;
}
#main .right_side .hitems { margin: 0; padding: 0; }
#main .right_side .hitems ul {
margin: 5px 0;
padding : 0;
color: #a90000;
list-style-image: url(file:///F|/XAMPP/xampp/htdocs/wordpress/wp-content/themes/blueblog_DE/blueblog_DE/images/arrow.gif);
}
#main .right_side .hitems li {
margin: 0 0 2px 20px;
padding: 0 0 0 0px;
color: #555;
}
#main .left_side { float: left; width: 500px; background: #FFF; padding:15px 15px 0 20px; margin:0; }
#main h3 { font: 85% Arial, Sans-Serif; margin: 0 0 10px 0px; padding: 0; color: #5f5f5f; background: inherit;
border-bottom: 1px solid #036CB4;
}
#main .box { background: #efefef; padding: 5px; border: 1px solid #ccc;}
#main .right_side ul {
margin: 5px 0 5px 0;
padding : 0;
list-style : none;
border-bottom: 0px solid #eee;
list-style-type: square;
color: #a90000;
}
#main .right_side li {
margin: 0 0 2px 15px;
padding: 0 0 0 0px;
color: #555;
}
#main .right_side .padding {
margin: 0 0 20px 15px;
padding: 0 0 0 0px;
color: #555;
}
/* FOOTER
---------------------------------------------------------------------------------------------------------------------------------------------------*/
#footer {
clear:both;
height: 43px;
color:#ccc;
background: #000 url(file:///F|/XAMPP/xampp/htdocs/wordpress/wp-content/themes/blueblog_DE/blueblog_DE/images/footer.jpg) no-repeat top;
font-size:90%;
padding: 0;
text-align:center
}
#footer .padding { padding: 10px 0px 0px 0px; }
#footer .right {
float:right;
clear:right;
text-align:right;
}
#footer a { color: #E0F5FF; }
/* Top Menu */
#menu {
background: #000 url(file:///F|/XAMPP/xampp/htdocs/wordpress/wp-content/themes/blueblog_DE/blueblog_DE/images/menu.jpg) no-repeat center bottom;
width: 760px;
height: 35px;
margin: 0;
padding: 0
}
#menu ul { margin:0; list-style:none; padding: 5px 0 0 20px; }
#menu a, #nav strong, #nav span { float:left; display:block; color:#fff; padding: 5px; text-decoration:none; }
#menu a { float:none; }
#menu li { float:left; color: #FFF; background: #000; margin:0; padding:0 0 0 0px; }
#menu a:hover { text-decoration:underline;}
#menu .padding { padding: 5px 0 0 10px; font-weight: bold; }
/* ---------------------------------------------------------------------------------------------------------------------------------------------------*/
input.search { width: 150px; border: 1px solid #075181; color: #666; }
input.submit {
background: none;
color: #075181;
border: 0px none;; font-style:normal; font-variant:normal; font-weight:bold; font-size:1.1em; font-family:Arial, Verdana, Helvetica, sans-serif
}
input.search:hover { background: #FFFFF4; }
ul { margin-left: 0; padding-left: 5px; list-style : square; }
li { margin: 0 0 2px 15px; padding: 0 0 0 0px; color: #555; }
.sub {margin: 0 0 2px 30px; padding: 0 0 0 0px; color: #888; }
p { margin: 0 0 5px 0; padding: 0; color: #808080; background: inherit; }
a { color: #075181; background: inherit; text-decoration:none; }
a:hover { background: inherit; text-decoration:underline; }
h1 {
padding:0;
margin:0;
color: #FFF;
background: inherit;
font: bold 1.8em Arial, Sans-Serif;
letter-spacing: -1px;
}
h1 a { color: #FFF; background: inherit; }
h2 {
background: url(file:///F|/XAMPP/xampp/htdocs/wordpress/wp-content/themes/blueblog_DE/blueblog_DE/images/h.gif) no-repeat left;
color:#075181;
font-size:140%;
font-weight:bold;
margin-left:0px; margin-right:0; margin-top:5px; margin-bottom:5px; padding-left:30px; padding-right:0; padding-top:0; padding-bottom:0
}
h2 a { background: #FFF; color: #075181; }
h2 a:hover { background: #FFF; color: #68ADD5; text-decoration:none; }
fieldset { border: 1px solid #075181; }
textarea.text {
height: 150px;
width: 90%;
border: 1px solid #A90000;
background: #FFF;
color: #354D5F;
}
textarea.text:hover {
border: 1px solid #A70000;
background: #FFFFF4;
color: #000;
}
input.field {
border: 1px solid #075181;
background-color: #FFFFFF;
width: 283px;
color: #000;
}
input.field:hover {
border: 1px solid #68ADD5;
background: #FFFFF4;
color: #000;
}
input.text {
border: 1px solid #A70000;
margin: 0;
width: 150px;
background: inherit;
color: #000;
padding: 4px;
}
input.text:hover {
border: 0px solid #68ADD5;
}
.date {
color: #808080;
background: #FFFFFF;
text-align: right;
margin: 4px 0 5px 0;
padding: 0.4em 0 0 0;
border-top: 1px solid #eee;
}
.comments {
padding: 10px 10px 8px 10px;
margin: 0 0 7px 0;
background: #f8f8f8;
color: #000;
}
.commentsbox {
padding: 8px 0 10px 10px;
margin: 0 0 10px 0;
background: #f4f4f4;
color: #000;
}
.error {
color: #990000;
background-color: #FFF0F0;
padding: 7px;
margin-top: 5px;
margin-bottom: 10px;
border: 1px dashed #990000;
}
.error h2 {
color: #990000;
background: inherit;
}
.success {
color: #000000;
background: #F5FBE1;
padding: 7px;
margin-top: 5px;
margin-bottom: 5px;
border: 1px dashed #7BA813;
}
.success h2 {
color: #7BA813;
background: inherit;
}
/*post stylng*/
.post{margin:0 0 25px 0;}
.post .info{
padding:2px 3px 3px 8px;
border:1px solid #e3e4e4;
background-color:#f5f5f5;
font-size:0.9em;
color:#505050;
}
/*comment styling*/
/* Comments Styling */
#commentlist li {
margin-bottom: 1.5em;
padding-bottom: 1em;
border-bottom: 1px solid #700000;
}
#commentform {
margin: 1em 0;
background: #ffffff;
width: 280px;
}
#commentform textarea {
background: #f8f7f6;
border: 1px solid #d6d3d3;
width: 280px;
}
#commentform textarea:hover {
background: #FFFFFF;
border: 1px solid #d6d3d3;
}
#commentform textarea:focus {
background: #ffffff;
border: 1px solid #939793;
}
#commentform #email, #commentform #author, #commentform #url {
font-size: 1.1em;
background: #f8f7f6;
border: 1px solid #d6d3d3;
width: 280px;
}
#commentform #email:hover, #commentform #author:hover, #commentform #url:hover {
font-size: 1.1em;
background: #ffffff;
border: 1px solid #d6d3d3;
width: 280px;
}
#commentform #email:focus, #commentform #author:focus, #commentform #url:focus {
font-size: 1.1em;
background: #ffffff;
border: 1px solid #939793;
width: 280px;
}
#commentform input{
margin-bottom: 3px;
}
Alles anzeigen
Theme: "blueblog_DE"
Da ich nur Offline baue,
leider kein Blog zum anschauen