[Zope-CMF] Help: New install of CMF and lots of problems customizing index_html

John D. Heintz jheintz@pobox.com
26 Apr 2002 09:48:05 -0500


--=-2I0lDqdMIBnM9gaa8G5A
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Anybody?

This is a really big problem for me, and I'm sure others as well.

John

On Wed, 2002-04-24 at 14:47, John D. Heintz wrote:
> Hi all!
>=20
> I have just logged a bug in the tracker, but was hoping that someone on
> the list could help we figure this out.
>=20
> The short of my config is Linux 2.4, Zope 2.5.0, and CMF from CVS.
>=20
> The behavior I'm getting is a bunch of dead-ends from every direction I
> know of to change the front page of my new portal.
>=20
> I am trying to:
> 1) add local_html to Portal Folder and getting:
> "'local_html' body goes here." in the center and left side.
> This appears to be coming from the index_html.pt but I can't figure out
> why.
> =20
> If I browse to /Portal/local_html I see the dtml output without the
> standard header and footer.
> =20
> 2) customize portal_skins/generic/index_html.dtml to
> custom/index_html.dtml and getting a KeyError.
> =20
> 3) Modify index_html.dtml file on filesystem to force some changes and
> restart Zope. Modified beginning to include some extra <h1> tags like:
> <dtml-var standard_html_header>
> =20
> <dtml-if expr=3D"'local_html' in objectIds()">
> <!-- localattr -->
> <h1>Use local_html!!!!!</h1>
> <dtml-var local_html>
> <dtml-else>
> =20
> <h2><h1>Use built-in index_html!!!</h1> <dtml-var title_or_id></h2>
> =20
> =20
> I didn't see any of the headings in the generated html, but the new
> content is visible after restart by using ZMI to look at
> /Portal/portal_skins/generic/index_html=20
>=20
> The details can be found in the Tracker at:
> http://www.zope.org/Products/PTK/Tracker/504
>=20
> Thanks for any help,
> John Heintz
>=20
>=20
> _______________________________________________
> Zope-CMF maillist  -  Zope-CMF@zope.org
> http://lists.zope.org/mailman/listinfo/zope-cmf
>=20
> See http://www.zope.org/Products/PTK/Tracker for bug reports and feature =
requests
>=20
--=20

--=-2I0lDqdMIBnM9gaa8G5A
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQA8yWilQqedVYxQ18MRAlAeAJsFn08qeUNLVl754l5QfnxIjCQIBQCguEAs
WJ0Hcn3TACCZsQkOuzAXBG4=
=tmAR
-----END PGP SIGNATURE-----

--=-2I0lDqdMIBnM9gaa8G5A--