Thanks for the response Michael.

I'll give what you suggest a try. Sounds too easy to be true,
especially after I've spent so much time on it, but hopefully I was
just over complicating things.

Thanks again, I'll report back.

On Dec 14, 4:51 pm, "Michael C. Harris" <[email protected]>
wrote:
> 2009/12/15 Seneca The Younger <[email protected]>:
>
>
>
> > I've been trying to customize habari on and off now for a few months.
> > I've had experience in css, html and php in the past, yet for some
> > reason I haven't been able to figure out how to customize a theme.
>
> Welcome to Habari, and sorry creating a theme has been difficult.
>
> > I haven't found any very well commented themes and the howto on the
> > wiki is too basic.
>
> This page,http://wiki.habariproject.org/en/Themes, is a hub for other theming
> pages, so you might find helpful things there.
>
> > Maybe my css, php skills aren't up to par, and this I am working on,
> > but does anyone have constructive suggestions on how to go about
> > creating my own theme?
>
> > I'm mostly having a hard time figuring out how css is working with php
> > to render pages. If I could figure out how the php renders the html so
> > as to use css to organize it, I would be in good shape....
>
> Create a directory for your theme in user/themes. Let's call it seneca.
>
> In the seneca directory, create the theme.php and theme.xml files (just copy
> them from one of the core themes, such as mzingi, and change names etc to your
> theme's name). You can customise stuff in there later.
>
> If you have a static HTML file with the design you want, copy that into the
> seneca directory and rename it home.php. Copy your CSS file in as well, and
> call it style.css.
>
> In the HTML head element in home.php, link to your CSS file like this:
> <link rel="stylesheet" type="text/css" media="screen" href="<?php
> Site::out_url( 'theme' ); ?>/style.css">
>
> You now have a basic theme. There are a bunch of other templates that you 
> might
> want to create, such as for displaying single posts, but that's the basics.
>
> Hope that helps.
>
> --
> Michael C. Harris, School of CS&IT, RMIT 
> Universityhttp://twofishcreative.com/michael/blog
> IRC: michaeltwofish #habari

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/habari-users

Reply via email to