Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

You can use dynamic content to create text that will appear in English or in Spanish, depending upon which edX Help Center learners visit. Dynamic content is a placeholder code snippet that includes text, hyperlinks, and even images, that can be added to page templates.  When updating the hyperlinks in the hero image, use dynamic content code to ensure that the links launch the correct page in the correct language.

ZD Guide Usage

Help Center TemplatePage Section<div>Uses{{dc code}}Code as entered in template
home_page.hbsHero image<div class="quick search">To update Popular search topics hyperlinks and ensure they appear in English/Spanish

{{dc.hero-UI_text}}

{{dc 'hero-UI_text'}}

Create dynamic content to change link path in Spanish

To create dynamic content to control hyperlinks

...

See the Zendesk Support article for future updates and more details.


Info

Filter by label (Content by label)
showLabelsfalse
max5
spacescom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@10918
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel = "kb-how-to-article" and type = "page" and space = "DOC"
labelskb-how-to-article

...