Archive for January, 2007

  • Archetypes and ATContentTypes, part 2: Templates and customization slots

    Archetypes and ATContentTypes, part 2: Templates and customization slots

    We will now look at how these schemas are called by the edit templates, and point out slots and hooks which Archetypes have left for customization. Let us return to our Image type: selecting this type in portal_types and looking at properties will show that atct_edit is the default editing form, as it is for […]

    Read more »
  • How do they do the navigation on the plone.org site?

    How do they do the navigation on the plone.org site?

    When you visit the plone site (http://plone.org) you see that the side navigation bar (viewable at any page besides homepage) contains only the root folders, the item and its immediate ancestors. A very nice behaviour, and one I spent a while fiddling with navigation properties trying to make happen. But actually the solution is much […]

    Read more »
  • Hide  email address from spammers

    Hide email address from spammers

    hide email <p>Send your comments and questions Richard <script language=javascript> <!– var contact = "Joe Blogs" var email = "joebloggs" var emailHost = "vasudevaservice.com" document.write("<a href=" + "mail" + "to:" + email + "@" + emailHost+ ">" + contact + "</a>" + ".") //–> </script> </p> NOte many plone sites have javascript automatically disenabled. to […]

    Read more »
  • Archetypes and ATContentTypes, part 1: The Archetype Schema

    Archetypes and ATContentTypes, part 1: The Archetype Schema

    All the default types in Plone – file, image, folder – are part of the ATContentTypes product, and are examples of archetypes. Archetypes were integrated into Plone 2.1, and allow you to create content types easily by providing a range of readymade tools so you can generate edit forms without using any HTML. An example […]

    Read more »