YAFLogo

Mariette
  • Mariette
  • 78.4% (Friendly)
  • YAF Commander Topic Starter
8 years ago
I cannot where to change the text of Welcome Guest! To enable all features please try to register or login and the email send out for forum notifications. Where do I change that?
MJK
Sponsor
Mariette
  • Mariette
  • 78.4% (Friendly)
  • YAF Commander Topic Starter
8 years ago
If you want to make some nice html in this message make sure you wrap it CDATA like:

<Resource tag="WELCOME_GUEST"><![CDATA[	<h4>Welcome Guest!</h4>
	<p>To enable all features please try to register or login. Registation is free 
	and done within 30 seconds.</p>
	<a href="/secure-registration">
	<button class="btn btn-info mt-xs mb-xs" type="button">Register</button></a>
	or <a href="/secure-login">
	<button class="btn btn-default mt-xs mb-xs" type="button">Login</button></a>
]]></Resource>
I addition to this I changed yafheader.ascx to reflect the CSS class I want to use like:

    <asp:Panel id="GuestUserMessage" CssClass="alert alert-info fade in nomargin" runat="server" Visible="false">
       <asp:Label id="GuestMessage" runat="server"></asp:Label>
    </asp:Panel>

MJK