Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Field group
contentAdfStringified{"type":"doc","version":1,"content":[{"type":"heading","attrs":{"level":2},"content":[{"text":"Purpose","type":"text"}]},{"type":"paragraph","content":[{"text":"Why Doesn't the Composition Plugin Work with Custom Themes?","type":"text"},{"type":"hardBreak"}]},{"type":"heading","attrs":{"level":2},"content":[{"text":"Answer","type":"text"}]},{"type":"extension","attrs":{"extensionType":"com.atlassian.confluence.macro.core","extensionKey":"paragraph","parameters":{"id":"0m2o7ex2zm","extensionKey":"paragraph","name":"longTxt_Fld-z5qggge","isRequired":false,"":"Answer","Type":"area","width":"500px","atlassian-macro-output-type":"BLOCK","height":"200px"},"layout":"default"}}]}
fieldGroupNamemigrated
fieldGroupId37pklxir5p
excerptPurpose Why Doesn't the Composition Plugin Work with Custom Themes? Answer Composition relies on some external javascript files which the default theme includes by for the label feature. If Composition tries to include those files itself manually, the rest of the page will break. There is a <script> include within the labels include that you can simply put instead of the whole labels code, but essentially, you need the following in your theme somewhere: <script type="text/javascript" src="[your webapp context]/includes/js/scriptaculous/lib/prototype.js"></script> <script type="text/javascript" src="[your webapp context]/includes/js/scriptaculous/src/util.js"></script> <script type="text/javascript" src="[your webapp context]/includes/js/scriptaculous/src/effects.js"></script>
propertyKeys["net.customware.confluence.plugin.scaffolding__37pklxir5p__data_0_8rep1jd16v"]