pragmaMx Support Forum

pragmaMx => Zusatzmodule => Thema gestartet von: Cihan2288 in 28 Juni 2007, 15:49:36

Titel: Bookmark Block Zentrieren
Beitrag von: Cihan2288 in 28 Juni 2007, 15:49:36
Hallo,  :BD:

hat jemand von euch vielleicht ne Idee, wie man diesen aktuellen Bookmark Block aus dem Downloadbereich auf der Startseite zentriert (in der Mitte) darstellen kann ?

Hier ist der Inhalt von Block :

<?php // $Id: block-bookmarks.php,v 0.4 2007/06/22 13:31:32 ollip2k Exp $
/************************************
pragmaMx  Content Management System
Copyright (c) 2007 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.
***********************************
U can find the original block here: http://www.imbaimba.de
or mail to: einfach at mailde dot de
************************************/

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

$mxblockcache = FALSE;

$content = "<script type=\"text/javascript\">bookmarks('all');</script>";
?>


und hier die dafür geänderte Stelle im Theme.html


<!-- START more_header -->
<script language="javascript" src="http://www.imbaimba.de/files/bookmarks.js" type="text/javascript"></script>




Freundliche Grüße

Cihan
Titel: Re: Bookmark Block Zentrieren
Beitrag von: Cihan2288 in 28 Juni 2007, 16:02:04
Hat sich geklärt. Könnt das Thema löschen  :thumbup:
Titel: Re: Bookmark Block Zentrieren
Beitrag von: JoergK in 28 Juni 2007, 16:14:34
Zitat von: Cihan2288 in 28 Juni 2007, 16:02:04
Hat sich geklärt.

Und wie?

Wär nett, wennste die Lösung gepostet hättest, so könnten andere (Einsteiger) auch noch was lernen.  ;)
Titel: Re: Bookmark Block Zentrieren
Beitrag von: Cihan2288 in 28 Juni 2007, 16:26:47
Achso, dacht wär uninteressant,

also man muss den Code im Block nur richtig ändern.

Also von (Z 19):

$content = "<script type=\"text/javascript\">bookmarks('all');</script>"; 

zu (Z 19):

$content = "<center><script type=\"text/javascript\">bookmarks('all');</script></center>";   


Ganz easy, man muss nur drauf kommen.  :BD:


Freundliche Grüße

Cihan
Titel: Re: Bookmark Block Zentrieren
Beitrag von: ollip2k in 07 August 2007, 11:23:53
ooops, sry .. war hier ein paar wochen nicht aktiv. wenn wieder mal einer support zu diesem block braucht, könnt ihr mich gerne per icq kontaktieren.

mfg ollip2k