Jump to content

Duplicating a page with its content

Recommended Posts

Site URL: https://andrew-wilkins-6fzg.squarespace.com/

In my template if I use:

<squarespace:block-field id="{id}" />

After populating the block - I am able to duplicate the page with its content. The issue I have with this is that if I edit the block on either the original or duplicate page - the content in the block changes on both pages and is not unique to the page.

If I use:

<squarespace:block-field id="{collection.id} />

The content in the block is unique (does not change on all pages) but when duplicating the page - the content is not carried across.

How can I duplicate an existing page while copying all the existing blocks content from the original page to the duplicate but keep its content unique?

Link to comment
  • Replies 0
  • Views 306
  • Created
  • Last Reply


This topic is now archived and is closed to further replies.

  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.