[Moin-user] Advice on page structure

Christopher MacMinn cmac at mit.edu
Sun Apr 5 20:02:07 EDT 2009


> > I'm trying to create a page that includes a list of people, with each
> > entry containing a paragraph of text and a right-aligned photo (see,
> > e.g., here:  http://almlab.mit.edu/ALM/Lab_Members/Lab_Members.html).
>
> yes with the moinmoin engine this is possible, but the moinmoin wiki
> syntax is not "about" layout, so you have to modify the css by yourself.
> (an example of customized themes are here: http://moinmo.in/ThemeMarket)
>

Don't worry, doing the CSS myself is not a problem.

future ideas: it would be possible that you can create only the
> userhompages and then with some include macro generate automatically a
> main/overview page.
>

Is it possible to include only some of the information from the user
homepage on the main page, or does it have to be the entire page?

Thanks for the example below -- this should do the trick.  I was stuck on
containing the name, description, and picture all together in some sort <li>
and then making a list of them, but your suggestion is certainly easier.

Thanks!

Best, Chris


1. EXAMPLE WIKIPAGE:
>
> = Lab Members =
> == Lastname Surname ==
> [[LastnameSurname|{{attachment:image.png||class=photo right}}]]
> Text Text Text
>
>
> [[LastNameSurname|Read more...]]
>
> ------
>
> == Lastname Surname ==
> [[LastnameSurname|{{attachment:image.png||class=photo right}}]]
> Text Text Text
>
>
> [[LastNameSurname|Read more...]]
>
> ------
>
> 2. EXAMPLE CSS
> and into your css (e.g. common.css) you can add those:
>
>
>
> .photo {
>        border:5px solid gray;
>        margin:10px;
>        width:250px;
> }
> .right {
>        float:right;
> }
> .hr2 {
>        height: 3px;
>        color: gray;
>        clear: both;
> }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/moin-user/attachments/20090405/9e636ab5/attachment.html>


More information about the Moin-user mailing list