Welcome Notice?

RobParker

Customer
Does XenBase/FA+ have any sort of built in welcome notice? What I'd really like is a sidebar block (widget).

A related question is do you guys plan to release any widgets at all with the styles? I'd say there's a fair bit of scope there to do some cool things.
 

RobParker

Customer

RobParker

Customer
Code:
<xf:if is=" !$xf.visitor.user_id">
<div class="xb-welcome-notice">
   <div class="xb-welcome-notice--inner">
       <h3>Welcome</h3>
       <h4>Blah</h4>
       <xf:if is="$xf.options.registrationSetup.enabled">
       <a href="{{ link('register') }}" class="button"><span class="button-text">Register</span></a>
       </xf:if>
       
       <a href="{{ link('login') }}" class="button--cta button" rel="nofollow" data-xf-click="overlay" data-menu-close="true">
           <span class="button-text">{{ phrase('log_in') }}</span>
       </a>
       
   </div>
</div>
</xf:if>

This almost works but the login and register links don't work (e.g. they point to %7B%7B%20link('register')%20%7D%7D)
 

Russ

Pixel Exit Staff
So made 2 adjustments here,

Screenshot_2.png


First added a sidebar option, it'll add in the welcome to the sidebar (you may want to decrease the font size using our property).

Screenshot_1.png


Or if you choose widget system it will still activate the template but not show anywhere else. However, you can use an HTML widget to load the template in anywhere you want (advanced mode must be checked at the bottom of the widget configuration):
Screenshot_4.png



Screenshot_3.png
 

Pre-Sale Questions

If you have any questions or concerns you want to ask before you make a purchase don't hesitate to use one of our multiple support channels for your convenience.