Einbettung s9y in eigene Webseite

Hier können Probleme und alles andere in Deutscher Sprache gelöst werden.
Post Reply
dodu1506
Regular
Posts: 6
Joined: Tue Aug 02, 2011 9:26 pm

Einbettung s9y in eigene Webseite

Post by dodu1506 »

Hallo!

Ich habe eine Frage zur Einbettung von s9y in meine Webseite. Das Einbetten an sich funktioniert auch schon, aber ich bekomme nach dem klicken auf meine erstellte Blogseite im Hintergrund meine Seite mit den skip links angezeigt und im Vordergrund nur den contentbereich mit den Blogeinträgen. wie kann ich das "aufpoppen" des neuen content verhindern?
false.jpg
false.jpg (69.54 KiB) Viewed 3737 times
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Einbettung s9y in eigene Webseite

Post by garvinhicking »

Hi!
Hm, ich glaube wir brauchen noch ein paar Details zur Einrichtung von Dir, wie Du was genau gemacht hast - oder eine URL. Anhand des Screenshots verstehe ich das Problem noch nicht, es scheint mir lediglich als würdest du das CSS (serendipity.css.php) von serendipity nicht mit in deiner Seite einbetten...

Grüße,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
dodu1506
Regular
Posts: 6
Joined: Tue Aug 02, 2011 9:26 pm

Re: Einbettung s9y in eigene Webseite

Post by dodu1506 »

Erstmal danke für die schnelle Antwort.

Die Seite ist leider noch nicht online sondern läuft nur lokal :/. Ich habe es nach der Anleitung"http://www.s9y.org/123.html" gemacht.

Code: Select all

<?php
require("wrapper.php"); // stores S9Y in a variable
?>
<!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" xml:lang="de" lang="de">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

	<title>Dodus Welt</title>
	
	<meta name="keywords" content="Stichworte" />
	<meta name="copyright" content="Urheberrecht" />
	<meta name="author" content="Autor" />
	<meta name="description" content="Beschreibung" />
	<meta name="language" content="de-de" />
	
    <link rel="stylesheet" href="style/style.css" type="text/css" media=			"screen,projection" charset="utf-8" />

	<script type="text/javascript" src="script/jquery.js" charset="utf-8"></script>
    <script type="text/javascript" src="script/script.js" charset="utf-8"></script>    
</head>
<body>

    <div id="wrapper">
        <div id="links"></div>
        <div id="header">
    		<h1><a href="index.php">Startseite Dodus Welt></a> </h1>
            <ul id="menu">
            <li class="login"><a href="login.php">Login</a></li>
            <li class="anmeldung"><a href="anmeldung.php">Anmeldung</a></li>
            <li class="blog chosen"><a href="blog.php">Blog</a></li>
            </ul>
        </div>
        <div id="content">
        <?php
echo $s9y_contents; // Print the variable
?>
        </div>
        <div id="footer">
        	<a href="impressum.php">Impressum</a>
        </div>
    </div>
	
</body>
</html>
Hier mal der Code der Blogseite. Ich könnte dir anbieten es mal über vnc oder TW anzuschauen...

Ich bin echt bald am verzweifeln...
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Einbettung s9y in eigene Webseite

Post by garvinhicking »

Hi!

Yo...du bindest da nur deine style.css ein, aber die deklarieren sicher nicht das, was s9y an styles benötigt.

Du musst jetzt entweder

1.) die serendipity.css.php als stylesheet einbinden oder
2.) deine style.css so anpassen das alles das was in $s9y_content so rauskommt auch in deinem CSS gestylt wird.

grüße,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
dodu1506
Regular
Posts: 6
Joined: Tue Aug 02, 2011 9:26 pm

Re: Einbettung s9y in eigene Webseite

Post by dodu1506 »

okay, ich glaube wir haben aneinader vorbeigeredet :). Aber der Hinweis ist auch hilfreich ;)!
right.jpg
right.jpg (40.78 KiB) Viewed 3727 times
in dem mittleren Bereich sollte der Blog angezeigt werden und nicht wie auf dem anderen Bild ein neuer content bereich im Vordergrung geladen werden. Weiß nicht, wie ich es genauer beschreiben soll :/...

ich werde morgen nochmal 2 Bilder machen.. einmal soll und einmal ist zustand.

hier noch meine style.css

Code: Select all

/*-----------------------------------------------------*/
/*----------------------- Haupt -----------------------*/
/*-----------------------------------------------------*/


* {
	
	margin: 0;
	padding: 0;
	border: 0 none;
	
}

html {
	background:#551a0a url(../layout/background.jpg)repeat fixed;
	}
body {
	background: transparent url(../layout/body-background.png) repeat-x fixed;
	padding: 16px 0 0 0;
	}
	
#wrapper {
	width:671px;
	margin:0 auto;
	min-height:527px;
	padding:0 47px 0 114px;
}

#links {
	width:190px;
	height:537px;
	background: transparent url(../layout/film-links.png) no-repeat;
	top:16px;
	margin:0 0 0 -112px;
	
	display:block;
	position:absolute;
	
}

#header {
	width:708px;
	height:178px;
	background: transparent url(../layout/header-background.png) no-repeat;
	padding: 0 12px 0 18px;
	
	
}

#header h1 {
	width:205px;
	height:36px;
	
	padding:85px 0 0 381px;
}

#header h1 a {
	width:205px;
	height:36px;
	float:left;
	background: transparent url(../layout/logo.png) no-repeat;
	
	display:block;
	
	text-indent:-5000px;
	overflow:hidden;
}

#content {
	width:526px;
	min-height:358px;
	background: transparent 						url(../layout/content-background.png)repeat-y;
	padding:15px 68px 0 76px;
}

#footer{
	background: transparent url(../layout/footer-background.png) no-repeat;
	min-height:117px;
	padding:79px 0 0 490px;
}

#footer a{
	width:75px;
	height:14px;
	background:transparent url(../layout/impressum-background.png)no-repeat;
	display:block;
	text-indent:-5000px;
	overflow:hidden;
	
}
/*-----------------------------------------------------*/
/*--------------------- Schrift -----------------------*/
/*-----------------------------------------------------*/
#body {
	color:#000000;
	font-size:100%;
	font-family:Verdana, Geneva, sans-serif;
	}

#footer {
	font-family:Verdana, Geneva, sans-serif;
	font-size:100%;
}
/*-----------------------------------------------------*/
/*----------------------- Teil ------------------------*/
/*-----------------------------------------------------*/
#menu {
	width:275px;
	height:78px;
	margin:-20px 0 0 80px;
	float:left;
	list-style-type:none;
	
}

#menu li {
	float:left;
	height:78px;
}

/*-----------------------------------------------------*/
/*---------------------- Detail -----------------------*/
/*-----------------------------------------------------*/
#menu li a {
	height:78px;
	background: transparent url(../layout/menu-background.png) no-repeat 0 -78px;
	display:block;
	text-indent:-5000px;
	overflow:hidden;
	
	
}

#menu li.chosen a, #menu li a:hover, #menu li a:focus{
	background-position:0 0;
}

#menu li.login a{
	width:66px;
}

#menu li.anmeldung a{
	width:136px;
	background-position:-66px -78px;
}



#menu li.anmeldung.chosen a, 
#menu li.anmeldung a:hover, 
#menu li.anmeldung a:focus{
	background-position:-66px 0;
}

#menu li.blog a{
	width:73px;
	background-position:-202px -78px;
}

#menu li.blog.chosen a, 
#menu li.blog a:hover, 
#menu li.blog a:focus{
	background-position:-202px 0;
}
/*-----------------------------------------------------*/
/*--------------------- CSS-Hacks ---------------------*/
/*-----------------------------------------------------*/
danke schonmal für deine Mühe ;)
dodu1506
Regular
Posts: 6
Joined: Tue Aug 02, 2011 9:26 pm

Re: Einbettung s9y in eigene Webseite

Post by dodu1506 »

Hallo!

So, habe das Problem jetzt gelöst:). Ich habe einfach die index.tpl so abgeändert, dass es passt.

Aber kaum ist das erste Problem gelöst, folgt das nächste. Und zwar wenn ich auf "Kommentare" klicke, öffnet sich eine neue seite, die aber komplett weiß ist und keinerlei Formatierungen aufweist. Wie bekomme ich die Kommentare in mein Template das ich im Post obendrüber angegeben habe?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Einbettung s9y in eigene Webseite

Post by garvinhicking »

Hi!

Weiße Seite heißt oft dass ein PHP Fehler auftritt, prüf man dein PHP error log oder setz in der php.ini dein display_errors=On.

Viele GRüße,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
dodu1506
Regular
Posts: 6
Joined: Tue Aug 02, 2011 9:26 pm

Re: Einbettung s9y in eigene Webseite

Post by dodu1506 »

In der php.ini sind die display_errors auf on.

Das wird mir ausgegeben, wenn ich auf "Kommentare (0)" klicke.
kommentare.jpg
kommentare.jpg (39.67 KiB) Viewed 3705 times
wie bekommen ich das in meinen content Bereich auf meiner Webseite?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Einbettung s9y in eigene Webseite

Post by garvinhicking »

Hi!

Das ist KEINE "komplett weiße Seite"! Bitte beim beschreiben immer ganz präzise sein, sonst geht das hier in eine Richtung die keinem hilft. :-)

Ich würde dir empfehlen in den s9y einstellungen die kommentare nicht als popup öffnen zu lassen. Dann geht das nicht über die comment.php sondern über die normale einbettung. Wenn Du es über die comment.php laufen lässt wäre noch etwas handarbeit nötig um die comments auch zu wrappen.

Grüße,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
dodu1506
Regular
Posts: 6
Joined: Tue Aug 02, 2011 9:26 pm

Re: Einbettung s9y in eigene Webseite

Post by dodu1506 »

Sorry, da hab ich mich echt etwas doof ausgedrückt :)!

Wenn du diesen Punkt in den Einstellungen meinst, dann habe ich den schon auf "nein" stehen.


"Popups für Kommentare, Trackbacks usw. verwenden?
Sollen die Links zu den Kommentaren, Trackbacks etc. in Popup-Fenstern geöffnet werden?"


Weiß echt nicht, was ich noch versuchen soll...
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Einbettung s9y in eigene Webseite

Post by garvinhicking »

Hi!

Ich fürchte Du wirst es irgendwo auf nen Server hochladen müssen damit wir uns das mal ansehen können.

Viele Grüße,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply