Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

A call-to-action button

The Button / Link block (Text, Style, Target, Use link), or a link in a template.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/build-two-ways/examples/build/call-to-action-button.md

On this page

A call-to-action button

One button that leads to the sign-up page.

Life cycle: Build, example 6 of 35. Worked out on the Fit & Healthy site of Exponential 6.0.15+.

Contents

  1. In the Layouts editor
  2. With templates
  3. Which to choose
  4. Check

In the Layouts editor

  1. Open Layouts > Layouts and the layout Landing Page / Home; the editor opens it in a draft.
  2. Open the block palette (+ at the top left) and drag Button / Link (group Basic) into the zone main.
  3. Select the block, open the Design tab and fill Text, Style (default default_button), Target (default _self) and Use link with the link.
  4. Publish layout. The pages that use the layout show the block on their next view.

The media design draws it with its own explayouts/block/button.tpl.

With templates

  1. In any template of your design extension:
<a class="btn btn-primary" href={'/user/register'|ezurl}>{'Sign up'|i18n( 'mysite' )}</a>

Which to choose

Buttons that change with campaigns: the block. A button that belongs to the page design (always there): the template.

Check

  • The link opens the right page and, with Target _blank, a new window.

Become an Exponential Partner

Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x