Uploaded image for project: 'Planet4'
  1. Planet4
  2. PLANET-4712

Support multi page campaigns

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Should have Should have
    • 2.22
    • pandora

    • 2
    • Campaigns
    • Sprint #120, Sprint #121, Sprint #122, Sprint #123

      Create a "campaign" type to represent a campaign, separate from the pages that are under the campaign. This will be the place where any settings that apply to all pages under a campaign will live. Make "campaign" type hierarchical, so that a campaign page uses the settings (style and tracking) of the top level campaign it is under. The behavior doesn't change if the page is the top level campaign.

      "Campaign pages" will be linked to a "campaign" Campaign pages will be able to be linked to another campaign page (using the post id of the campaign in a "campaign_id" post meta field parent_post field) and use all graphic and analytics settings from that campaign. As long as a "campaign page" isn't linked to a "campaign" another campaign it will keep using its own settings. This allows us to keep backwards compatibility.

      It should have a admin left menu item called "Campaigns" with the same options as other wordpress post types ("add new" and "all campaigns"). EDIT: we can keep the admin menu items as they are for the first iteration.

      On the edit page of the campaign:

      • You can edit all campaign specific options.
      • There is a listing of all pages under the campaign (if possible this should use the same interface as the default admin post listing, though if that is not possible this can be a minimal interface). Mind wpml.

       

      To refine:

      • All Campaign pages should include the campaign customiser sidebar. When changes are made on the customiser, then the changes are applied to all pages of the same campaign. EDIT: for the first iteration I included just a link to the edit page of the parent page. Changing the sidebar to modify the root campaign page would have been quite a lot of work, so it's better to do this when we have worked out a clearer spec for the behavior.
      • Slug structure? e.g. /campaign/{campaign_slug}/{page_slug}
      • For now structure the menu as:
        Campaigns

        + Add new

        + All Campaigns

        + Pages

        -Add new

        -All Pages

            pvincent Pieter Vincent
            pcuadrad Pablo Cuadrado (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: