It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How do I render a template from a different plugin? Edited

So far, I've had no trouble including resources (CSS, js, etc) from a separate plugin. For example:

 

<link rel="stylesheet" type="text/css" href="${webResourceHelper.getStaticResourcePrefix()}/download/resources/org.mycompany.themes.intranet-styles:theme-resources/assets/libs/swiper/dist/css/swiper.min.css">

 

What I would also like to be able to do is to include/render a template from this other plugin as well (my goal is to have a main theme for our site with all of the CSS and js, and a handful of HTML includes, and then use a small collection of themes for the site that all point to resources in this other theme).

What's the syntax/method for including a rendered template that lives in another theme/app?

1 answer

0 votes

Hello @Web_Administrator,

Thank you for contacting us about this. Happy to help.

Could you help me to understand exactly what you're trying to do? Is there a specific add-on that you're using, or are you developing for your own add-on?

If it's your own add-on, you might want to ask on the Atlassian Developer Community instead, since that Community contains users who are more familiar with developing for Atlassian software. This Community here is mostly end-users.

Regards,

Shannon

Theme development. I guess I'll post this over in the other community (any plans on just creating one Atlassian Community?)

Hi there,

Thank you for confirming that. No, I am not aware of any plans to combine the communities.

Regards,

Shannon

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

What project did you transition or start on Confluence with the shift to remote work?

It’s been great to hear from fellow users over the last few weeks about the best tips and fun moments you’ve had working on Confluence since the transition to working remote. I’d love to keep the c...

32 views 2 4
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you