Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7792431
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T22:10:56+00:00 2026-06-01T22:10:56+00:00

Plone’s base setup profile — in Products.CMFPlone.setuphandlers.setupPortalContent() — queries for a registered view named

  • 0

Plone’s base setup profile — in Products.CMFPlone.setuphandlers.setupPortalContent() — queries for a registered view named ‘plone-frontpage-setup’ to obtain body text for the front-page populated into a new site.

An add-on site policy product package could register a view (with, unfortunately, no layer interface constraining it) to override the default — however, this would be applicable to all new sites created in an instance.

Is there a pluggable way to use GenericSetup extension profiles to install new front-page content on add-on installation, or does this require a DIY setup handler / import-step?

Reading the source for the base setupPortalContent(), it seems that this was set up for ease of out-of-the-box i18n, but not (yet) for pluggable extension by add-ons?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T22:10:59+00:00Added an answer on June 1, 2026 at 10:10 pm

    Have you tried content generation using Generic Setup?

    The following example should reset the content generated by setupPortalContent():

    1. Add folder named structure under your site policy product’s default profile folder (e.g. src/my.site.policy/my/site/policy/profiles/default/structure/).

    2. Under that folder, add a new file named .delete with content

      events
      front-page
      Members
      news
      
    3. Under the same folder, add a new file named .objects with content

      front-page,Document
      
    4. Still under the same folder, add a new file named front-page with content

      id: front-page
      title: Foo
      description: Bar
      Content-Type: text/html
      
      <p>Hello World!</p>
      

    The new Plone site created with this policy should contain only the front-page described above. (Note that the new front-page has the initial state of its default workflow, which is private by default.)

    The easiest way to experiment with content generation further, I think, is to just create something, export Content-step from portal_setup and examine the results. Also the Generic Setup Quick Reference by Six Feet Up gives an overview for content generation support in Generic Setup.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Plone main_template includes <base> tag which is generated by `parts/omelette/Products/CMFDefault/skins/zpt_content/getBaseTag.pt. It points to the
Trying to setup plone2pdf in Plone 4. I have downloaded the Plone2pdf archive, extracted
I have Apache setup with Plone 4.2 and SSL with the following rules in
Plone 4.1.4 I can hide author information through Setup → Security → uncheck Allow
I'd like to Plone load Javascripts only for a specific view. I really really
In Plone adding a member variable in a view class instance automatically makes it
I am new to Plone and trying to learn how to setup and maintain
We are using Plone 4.1, and would like to have a custom view of
Plone has a neat categorization feature of content using tags and a tag cloub.
I have configured Plone with the following buildout (via http://build.pythonpackages.com/buildout/plone/4.2.x ): [buildout] allow-hosts =

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.