SignUp button not working correctly

Hi - following advice posted elsewhere, I updated my signup.hbs file so that it now has:
{{else}}

    <p class="text-center mt-2">{{*t* "CPO Circles is an exclusive community for Chief Product Officers (and those doing the role)"}}</p>

  {{/unless}}

  <p class="mt-3 text-center text-typ-tone">

    <small>{{*t* "Interested in becoming a member?"}} 

      {{#link *class*="underline hover:text-brand" *href*="/apply/"}}{{*t* "Apply to join now"}}{{/link}}

    </small>

  </p>

</div>

This works great…. when it works. The site keeps flipping back and forth between my version and the default. (also, my version does not appear as a pop-up while the default does. any ideas there?)

DEFAULT:

New version:

Your top image is portal. It’s a separate app, and not something you can edit with theme code.

Your lower image is a theme creation. Some themes link to a theme-provided sign-up rather than the portal. It’s possible to mostly avoid opening the portal, but your theme creator may have missed a few spots (check the content-cta.hbs file, and add one if needed – you can grab the default from github). The comments app had a hard-coded link into portal, last I looked. If you can track down when you end up with the portal, then you’ll know where to look in the theme.

If you want a popover (modal) sign up form, then you’re going to need a different approach than creating signup.hbs and routing. You’d need the content available on all pages, initially hidden, with some javascript to reveal it.

Thanks! Got it sorted; the issue was a data-portal element that needed to be removed.
It doesn’t link to a modal, but that wasn’t a requirement - it now links directly to a page, which works a treat.

1 Like