pycs-devel archive weblog

A blog for archiving the pycs-devel mailing list

2003-4-20

Kevin Altis: RE: [PyCS-devel] Radio templates used for rendering

> From: Georg Bauer
>
> > What I would like to do is simplify the nav bar for everything except
> > the
> > home page, but so far it looks like the only template that ever gets
> > used is
> > the home page template. That means that the large number of nav items
>
> If I recall correctly, the homepage tempate is the one that is
> primarily used. The main template is mostly used in the desktop site
> stuff and pages like that (and maybe in non-weblog-related pages on the
> cloud, too). So the only idea I can offer would be to put in some
> conditional stuff into your homepage template to prohibit rendering of
> stuff that shouldn't be on the main index.html page.
>
> But please don't ask me what could trigger this conditional, as I never
> hacked up something like that and don't have a Radio installation to
> check against any more :-)

Gee Georg, I expected you to say "You can't do it with Radio, but it is
simple with PyDS."

I need some extra incentive to move off of Radio completely :)

ka

Georg Bauer: Re: [PyCS-devel] Radio templates used for rendering

Hi!

> What I would like to do is simplify the nav bar for everything except
> the
> home page, but so far it looks like the only template that ever gets
> used is
> the home page template. That means that the large number of nav items

If I recall correctly, the homepage tempate is the one that is
primarily used. The main template is mostly used in the desktop site
stuff and pages like that (and maybe in non-weblog-related pages on the
cloud, too). So the only idea I can offer would be to put in some
conditional stuff into your homepage template to prohibit rendering of
stuff that shouldn't be on the main index.html page.

But please don't ask me what could trigger this conditional, as I never
hacked up something like that and don't have a Radio installation to
check against any more :-)

bye, Georg

Kevin Altis: [PyCS-devel] Radio templates used for rendering

I think this is a Radio problem, not something in PyCS, but maybe someone
here will know for sure or have a workaround.

http://altis.pycs.net/

In my Radio Userland\www directory (Windows 2000 box) there is a
#homeTemplate.txt which appears to be what is used to render all of the
pages going to the community server. This corresponds to what Radio calls
the "Home page template". There is also a "Main template" which corresponds
to the "#template.txt" file in the www directory. Based on the description
of the main template it seems like that is the template that should be used
to render everything except the main category pages and home page.

What I would like to do is simplify the nav bar for everything except the
home page, but so far it looks like the only template that ever gets used is
the home page template. That means that the large number of nav items I
would like to use on the home page for topics, blogrolls, etc. also get used
on individual day pages which ends up looking bad because of the limitations
of the CSS template, plus it is just a whole lot of extra bytes that those
pages don't need, it is enough to have the blogroll... on just the home
page.

Anyone know how to get around this?

ka