pragmaMx Support Forum

pragmaMx => Individuelle Anpassungen => Thema gestartet von: goodssale am 22 Dezember 2006, 16:58:58

Titel: möchte block erweitern wer kann helfen
Beitrag von: goodssale am 22 Dezember 2006, 16:58:58
hallo ich bräuchte hilfe,
ich habe mir im forum einen block rundergeladen.
block-2_nebeneinander.php und habe ihn auf 3 blöcke erweitert jetzt kommt mein problem.


(https://forum.pragmamx.org/proxy.php?request=http%3A%2F%2Fwww.goodssale.de%2Fblock.JPG&hash=bc7a23b3c4d860ca6b14172d4406eb877c0304ad)


so sieht das ganze nicht gut aus, ich möchte das der block wer ist online links steht und der block uhr in der mitte ist und der block wochenende links steht.

hier mal der code vom block

if (!defined("mxMainFileLoaded")) die ("You can't access this file directly...");

$mxblockcache = false;

include("block-Weekend_Counter.php");
$out1 = $content;
unset($content);
include("block-Clock.php");
$out2 = $content;
unset($content);

include("block-Who-is-Where.php");
$out3 = $content;

$content = "<table><tr>
<td>".$out1."</td>
<td>".$out2."</td>
<td>".$out3."</td>
</tr></table>";

$blockfiletitele = "block-Top10_Downloads.php";

?>

kann mir einer sagen was ich ändern muß, habe im forum nichts gefunden.
danke schon mal für euere hilfe
grüße heinz
Titel: Re: möchte block erweitern wer kann helfen
Beitrag von: cihan am 22 Dezember 2006, 18:25:43
hi, versuch mal so:



if (!defined("mxMainFileLoaded")) die ("You can't access this file directly...");

$mxblockcache = false;

include("block-Weekend_Counter.php");
$out1 = $content;
unset($content);
include("block-Clock.php");
$out2 = $content;
unset($content);

include("block-Who-is-Where.php");
$out3 = $content;

$content = "<table><tr>
<td>".$out3."</td>
<td>".$out2."</td>
<td>".$out1."</td>
</tr></table>";

$blockfiletitele = "block-Top10_Downloads.php";

?>
Titel: Re: möchte block erweitern wer kann helfen
Beitrag von: goodssale am 23 Dezember 2006, 16:50:25
hallo zusammen,
danke für die hilfe. ich habe mich falsch ausgedrückt, mein fehler.
was ich möchte ist das die blöcke nicht so zusammengpresst sind, das heist ich möchte das der block
wochenende links ist.
der uhr block sollte center sein
der wer ist online sollte rechts stehen.

so sieht es im moment aus
(https://forum.pragmamx.org/proxy.php?request=http%3A%2F%2Fwww.goodssale.de%2Fblockbild1.JPG&hash=d7a2da4e88fcfcf17680e781b5f876be774809d9)


so möchte ich das es aussieht
(https://forum.pragmamx.org/proxy.php?request=http%3A%2F%2Fwww.goodssale.de%2Fblockbild2.JPG&hash=b96f07d5ae87a85ae761b4b02fb69e2a950297a7)

grüße heinz
Titel: Re: möchte block erweitern wer kann helfen
Beitrag von: bajazzo am 23 Dezember 2006, 18:08:17
<table width=\"100%\" ....... ???
Titel: Re: möchte block erweitern wer kann helfen
Beitrag von: goodssale am 23 Dezember 2006, 18:42:28
Zitat von: bajazzo am 23 Dezember 2006, 18:08:17
<table width=\"100%\" ....... ???
was meinst du??
Titel: Re: möchte block erweitern wer kann helfen
Beitrag von: goodssale am 23 Dezember 2006, 18:54:45
hallo,
danke es geht super.
schöne weihnachten allen.
grüße heinz
Titel: Re: möchte block erweitern wer kann helfen
Beitrag von: tuningcar am 02 April 2007, 21:12:01
Zitatdanke es geht super.

Könntest du mir deinen Code zeigen ??

Ich bekomm es einfach nicht hin  :mad2:
Titel: Re: möchte block erweitern wer kann helfen
Beitrag von: goodssale am 24 April 2007, 21:10:55
sorry habe deine frage nicht früher gesehen.
hier ist der code

<?php
/**
* pragmaMx  Content Management System
* Copyright (c) 2005 pragmaMx Dev Team - http://pragmaMx.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*/

if (!defined("mxMainFileLoaded")) die ("You can't access this file directly...");

$mxblockcache = false;
include("block-Letter.php");
$out1 = $content;
unset($content);
include("block-Birthday.php");
$out2 = $content;
unset($content);
include("block-Zitat.php");
$out3 = $content;

$content = "<table width=\"100%\"><tr>
<td>".$out1."</td>
<td>".$out2."</td>
<td>".$out3."</td>
</tr></table>";

$blockfiletitele = "block-Top10_Downloads.php";

?>

grüße heinz