Hallo,
wie könnte ich das anstellen?
.post img { display:block; margin-left:auto } half leider nicht.
Hat wer nen Tipp?
Danke,
Christian
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 erstellenHallo,
wie könnte ich das anstellen?
.post img { display:block; margin-left:auto } half leider nicht.
Hat wer nen Tipp?
Danke,
Christian
//EDIT: Sollte eigentlich in "Plugins und Hacks", sorry
Hallo,
ich will diese Gallery als Plugin einbinden:
http://www.smartbrother.org/archives/2004/…y_rss-announce/
Doch wie um Himmels Willen komme ich zu der Datei rss.php, die ganz unten in der Anleitung erwähnt wird?
Magpie habe ich installiert :roll:
ZitatAlles anzeigen<?php
/*
Plugin Name: Gallery RSS
Description: A simple Gallery RSS thumbnail generator. Uses magpie RSS.
Author: Jon Madison
Author URI: http://www.smartbrother.org
Version: 0.3
0.2 - Fixed error when you specify "0" on showAlbumTitles
0.25 - Added title hover text
0.3 - cache dir configuration pointing to the place specified by
the install directions, choice of layout types
(currently list or div)
*//*
STUFF TO NOTE:
In my estimatiion, gallery having the "imgsrc" tag represent the
thumbnail, and the "thumbnail" represent the "sized" image is incorrect,
and perhaps a bug. When they fix it, you'll want to update your
plugin as i will have fixed it.TODO:
besides fixes, want to use the actual thumbnail attributes. From
what I understand, Magpie RSS does not handle attributes.INSTALL:
1) make sure you have downloaded Magpie RSS from
http://magpierss.sourceforge.net
and have unzipped or untarred it somewhere your webserver can see it.2) put this plugin (gallery_rss.php) in place:
wp-content/plugins3) create the cache directory:
cd [Wordpress Installation Dir]/wp-content/plugins
mkdir cache_gallery_rss
chgrp [web group of your server] cache_gallery_rss
chmod g+w cache_gallery_rssgo to your Wordpress admin, and enable the "Gallery RSS" plugin
USAGE:
in your template Call the gallery_rss function somewhere in your
index.php as:
"echo gallery_rss(4,"",0,0.50,"div")";
and style the output using CSS.parameters:
numItems - number of items to show from feed (defaults to 5)
photoTitle - title header of the displayed thumbnails
showAlbumTitles - show album titles with thumbnails
scaleMultiple - decimal amount to scale image thumbnails.
1.0 is fullsize. use a fractional amount for smaller
thumbnails (i.e. 0.50)
layoutType - layout type. currently supported:
"ul" - unordered list
"div" - divs allowing for box type styling
The default is "ul".*/
/**********************************
* Set up the following variables:
**********************************/
//where you installed magpie RSS
$magpie_install_dir = "/home/jmm/jon/magpie";
//set the URL to where your gallery RSS is, typically something
//like
//$gallery_rss_url = "http://[yoursite]/gallery/rss.php";
$gallery_rss_url = "http://www.smartbrother.org/gallery/rss.php";
$gallery_rss_cache_dir = "./wp-content/plugins/cache_gallery_rss";//cache timeout, in seconds.
$cache_timeout = 3600;/**********************************
* End variable setup
**********************************/
Sehr gut, depth=1 hat mich weitergebracht! Super Link, genau das, was ich suchte.
Jetzt stellt sich mir allerdings die Frage, wie man nach einem Klick auf den Menüpunkt die Untermenüs anzeigen lassen kann.
:roll:
Und noch eine andere Frage: ich benutze zur Zeit das deutsche Kubrick, das ich noch komplett an meine Vorstellungen anpassen muss. Gibt es vielleicht Themes, die ebenfalls aus zwei Spalten bestehen, die für eine richtige Page eher zu empfehlen sind?
Hallo,
ich bin schwer begeistert von WordPress und baue für meine Schule gerade eine Homepage, wo ich WP als CMS einsetzen möchte. Für Lehrer und Schüler soll es einfach sein, neue Seiten zu erstellen und zu überarbeiten.
Ich benutze zum Erstellen der Seiten die Funktion "neue Seite" und für aktuelle Mitteilungen "neue Beitrag (Blog). Das klappt auch alles.
Was ich jetzt noch gerne hinbekommen würde, wären Submenüs, die erst sichtbar werden, wenn man auf eine "Kategorie" geklickt hat. Zur Zeit ist es ja so, dass alle Seiten auf der Startseite direkt verlinkt sind.
Wie schaffe ich es, das zu lösen?
Grüße aus Hannover und noch einen schönen Tag,
Christian :)