Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When importing pages, the template specified in the xml file is ignored. #44

Open
moriaiy opened this issue Jul 10, 2024 · 0 comments
Open

Comments

@moriaiy
Copy link

moriaiy commented Jul 10, 2024

Pages were imported using the Migration Tool.
At this time, a page template is specified for the page to be imported on the xml file side.

Example: xml
<page name="PageTitle" path="/blog/abc" public-date="2019-01-01 18:00:00" filename="" pagetype="blog_entry" template="full" user="admin" description="" package="" theme=""><attributes>
Example: Page Type(Basic Details)

  • Page Type Handle: blog_entry
  • Default Page Template: right_sidebar

Map Content also linked the source and destination page templates.

However, when the page was actually imported, the page was generated with the default page template for the page type instead of the specified page template.
In the example above, the page was actually generated in the "right_sidebar" template when it was intended to be imported in the "full" template.
Even though all page templates were allowed on the page type side, the page was always generated with the default page template.

This is very inconvenient if one page type allows multiple page templates!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant