Sie sind nicht angemeldet.

1

Samstag, 24. April 2010, 11:46

Template wird nicht angezeigt

Hier ist die Index (links sind noch nicht angepasst)

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php page_header() ?>
<link rel="stylesheet" type="text/css" href="style.css" />
<link rel="copyright" href="http://heavenscry.de" />
</head>

<body>
<div id="page">

<!-- Header START -->
	<div id="header"></div>
<!-- Header ENDE -->
  	
<!-- Navigation START -->
	<div id="topnavi">
	  <ul id="navi">
		<li><a href="index.html">Startseite</a></li>
		<li><a href="about.html">&Uuml;ber mich</a></li>
		<li><a href="news.html">Neuigkeiten</a></li>
		<li><a href="portfolio.html">Portfolio</a></li>
		<li><a href="downloads.html">Downloads</a></li>
		<li><a href="gbook.html">G&auml;stebuch</a></li>
		<li><a href="contact.html">Kontakt</a></li>
		<li><a href="imprint.html">Impressum</a></li>
	  </ul>
	</div>
<!-- Navigation ENDE -->
                       	
<!-- Content START -->
	<div id="content">
	  <div id="contentbox">
  	<?php page_content(); ?>
	  </div>
	</div>
<!-- Content ENDE -->
	</div>
<!-- Footer START -->
	<div id="footer">
	 <?php page_footer(); ?>
	</div>
<!-- Footer ENDE -->
  
</body>
</html>


und das ist die dazugehörige css

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
/* Globale Definitionen START */

body {
	font: normal 11px tahoma, sans-serif;
	color:#514C3A;
	margin: 0 auto;
	width:850px;
	background-color:#0F0F0A;
	text-align: center;
}
a:link, a:visited, a:active {
	color: #5B5B44;
	font-weight:bold;
}
a:hover {
	color:#694F11;
	text-decoration: none;
}
p {
	padding: 0;
	margin: 0;
}
#page {
	width:850px;
	margin:0 auto;
	background-image:url('images/bg.jpg');
	background-repeat:repeat-y;
}
h1 {
	font: bold 22px fantasy;
	color: #4E4D0C;
	margin: 0;
	padding: 0 0 10px 0;
}

/* Globale Definitionen ENDE */


/* Header START */
#header {
	background-image:url('images/header.jpg');
	width:850px;
	height:224px;
	margin: 0 auto;
}
/* Header ENDE */


/* Navigation START */
#topnavi {
	background-image:url('images/topnavi.jpg');
	width:850px;
	height:54px;
	float:left;
	text-align: center;
}
ul#navi {
	margin: 8px;
	padding: 0.8em;
}
ul#navi li {
	list-style:none;
	display:inline;
	margin:0;
	padding-left: 5px;
}
ul#navi li a {
	font-weight:bold;
	color:#27759d;
	margin:0;
	padding: 8px;
	height: 15px;
	text-decoration: none;
	text-align: center;
}	
ul#navi li a:hover {
	text-decoration:underline;
	color:#535353;
	margin:0;
	text-decoration: none;
	text-align: center;
}
/* Navigation ENDE */


/* Content START */
#content {
	background-image:url('images/contenttop.jpg');
	background-repeat: no-repeat;
	background-position: top;
	width:850px;
	float:left;
	margin:0 auto;
	padding: 10px 0 0 0;
}
#contentbox {
	width:660px;
	margin: 0;
	padding: 20px 90px 0 100px;
	background-image:url('images/contentend.jpg');
	background-repeat: no-repeat;
	background-position: bottom;
	text-align: left;
}
#contentbox ul {
	padding: 0 0 0 10px;
	font-weight: bold;
	color:#694F11;
}
#content-foot {
	background-image:url('includes/templates/hc/images/content_foot.png');
	width:914px;
	height:32px;
	float:left;
}
/* Content ENDE */


/* Footer START */
#footer {
	font: normal 10px tahoma, sans-serif;
	width:690px;
	float:left;
	padding:30px 80px 50px 80px;
	text-align:right;
	background-image:url('images/footer.jpg');
	background-repeat: no-repeat;
	background-position: top;
}
#footer a:link, #footer a:visited, #footer a:active {
	text-decoration: none;
}
#footer a:hover {
	text-decoration:none;
}
/* Footer ENDE */


wo hab ich da jetzt den fehler drin ?

Werbung

2

Samstag, 24. April 2010, 11:57

Hi,

du meinst bestimmt das die Bilder nicht angezeigt werden oder? Meiner Meinung nach hast du überall bei den Images die Punkte vergessen.

So müsste das aussehen:

Zitat

/* Globale Definitionen START */

body {
font: normal 11px tahoma, sans-serif;
color:#514C3A;
margin: 0 auto;
width:850px;
background-color:#0F0F0A;
text-align: center;
}
a:link, a:visited, a:active {
color: #5B5B44;
font-weight:bold;
}
a:hover {
color:#694F11;
text-decoration: none;
}
p {
padding: 0;
margin: 0;
}
#page {
width:850px;
margin:0 auto;
background-image:url('..images/bg.jpg');
background-repeat:repeat-y;
}
h1 {
font: bold 22px fantasy;
color: #4E4D0C;
margin: 0;
padding: 0 0 10px 0;
}

/* Globale Definitionen ENDE */


/* Header START */
#header {
background-image:url('..images/header.jpg');
width:850px;
height:224px;
margin: 0 auto;
}
/* Header ENDE */


/* Navigation START */
#topnavi {
background-image:url('..images/topnavi.jpg');
width:850px;
height:54px;
float:left;
text-align: center;
}
ul#navi {
margin: 8px;
padding: 0.8em;
}
ul#navi li {
list-style:none;
display:inline;
margin:0;
padding-left: 5px;
}
ul#navi li a {
font-weight:bold;
color:#27759d;
margin:0;
padding: 8px;
height: 15px;
text-decoration: none;
text-align: center;
}
ul#navi li a:hover {
text-decoration:underline;
color:#535353;
margin:0;
text-decoration: none;
text-align: center;
}
/* Navigation ENDE */


/* Content START */
#content {
background-image:url('..images/contenttop.jpg');
background-repeat: no-repeat;
background-position: top;
width:850px;
float:left;
margin:0 auto;
padding: 10px 0 0 0;
}
#contentbox {
width:660px;
margin: 0;
padding: 20px 90px 0 100px;
background-image:url('..images/contentend.jpg');
background-repeat: no-repeat;
background-position: bottom;
text-align: left;
}
#contentbox ul {
padding: 0 0 0 10px;
font-weight: bold;
color:#694F11;
}
#content-foot {
background-image:url('../includes/templates/hc/images/content_foot.png');
width:914px;
height:32px;
float:left;
}
/* Content ENDE */


/* Footer START */
#footer {
font: normal 10px tahoma, sans-serif;
width:690px;
float:left;
padding:30px 80px 50px 80px;
text-align:right;
background-image:url('..images/footer.jpg');
background-repeat: no-repeat;
background-position: top;
}
#footer a:link, #footer a:visited, #footer a:active {
text-decoration: none;
}
#footer a:hover {
text-decoration:none;
}
/* Footer ENDE */

mfg Mario

Werbung

3

Samstag, 24. April 2010, 11:58

Der Aufbau haut so nicht hin. Für deine Navigation reicht es zum Beispiel wenn du <?php page_menu("0"); ?> benutzt. cms2day erstellt die Liste der Links von selbst. Am besten schaust du dir mal den Aufbau der kostenlosen Templates an, mit denen kannst du das am besten nachvollziehen.

mfg MINDHUNTER

Werbung

4

Samstag, 24. April 2010, 12:09

das mit der css änderung geht auch nicht
da wird nicht ein bild angezeigt

@mindhunter
das mit den buttons ist alles nicht so wichtig
es ist ja egal ob ich das jetzt manuell verlinke oder ob das mittels der variable geht

die links sind ja alle zu sehen nur halt die hintergrundgrafik nicht

http://heavenscry.de/index.php?seite=4.blog&action=1

hier kann man das ganze sehen

und soo sollte es in etwa aussehen;)

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Heavenscry« (24. April 2010, 12:16)


Werbung

emet

Admin & Support

  • »emet« ist männlich

Beiträge: 2 530

Wohnort: Rhein/Main

Paypal:

  • Nachricht senden

5

Samstag, 24. April 2010, 12:15

Als erstes mach das hier bitte mal so, da alles zukünftig auf den cms2day-Standard auch so angeboten wird:

Quellcode

1
2
	<div id="content">
      <div id="text">


Das da brauchst du gar nicht, ...

Quellcode

1
<link rel="stylesheet" type="text/css" href="style.css" />

... weil das im Backend geladene Template automatisch ausgelesen wird über

Quellcode

1
<?php page_header() ?>

..sowie auch die Metatags

Das da kann- muss nicht - reicht auch ausdomumentiert

Quellcode

1
<link rel="copyright" href="http://heavenscry.de" />


Das da verhindert den automatischen Aufbau des Menüs beim anlegen von Seiten ...

Quellcode

1
2
3
<ul id="navi">
   	 <li><a href="index.html">Startseite</a></li>
   	 <li><a href="about.html">&Uuml;ber mich</a></li>


...- das macht das CMS von alleine:

z.B.

Quellcode

1
<?php page_menu("0"); ?>	


Dann vergleiche bitte, welche Dateien du alles in deinem Template hast und welche in einem fertigen enthalten sind.

So wird auch die info.php benötigt als auch die global.css.

Fehlt etwas, dann wird es nicht angezeigt.

Ausserdem muss du das Template im Backend auswählen, was angezigt werden soll.
.
HTML, was ist das? Ein neues Männermagazin? Css.., was es so alles gibt!

News: http://www.cms2day.de/news/1/
Features: http://www.cms2day.de/cms-funktionen/

Zufrieden mit cms2day und unserer Arbeit/Support - Spenden (-Button links) sind herzlich Willkommen - Dankeschön.
.

Werbung

6

Samstag, 24. April 2010, 12:28

ahhh es geht :D danke das war es auch schön :thumbsup:

Werbung