Message doesn't appear in a custom theme for fluxcp

Alexandria

New member
Messages
341
Points
0
Location
localhost
Hello guys

I have a fluxcp theme for rathena but i tried to update it to hercules version.

So far so good until someone makes a new account.

When you register in the default theme, it shows up this message:

wG7hhzs.png

 

But in my custom theme does not show the message "An e-mail has been sent containing...." after registration.

So Im wondering what file should have this code. Thank you.

 
Hi Aeromesi.

In the default theme works good. We can read the "An e-mail has been sent containing account activation details, please check your e-mail and activate your account to log-in."

But when we change the theme to a custom theme. It direct to the "index" page but without the message.

PS: What do you mean with "did you enable email verification?" ??

Thank you for answering.

 
Messages generated in modules and store in session. This code output this is messages^

<!-- Messages -->                <?php if ($message=$session->getMessage()): ?>                  <p class="message"><?php echo htmlspecialchars($message) ?></p>                <?php endif ?> 
You can put this code in any field your tempate.

 
Messages generated in modules and store in session. This code output this is messages^

<!-- Messages -->                <?php if ($message=$session->getMessage()): ?>                  <p class="message"><?php echo htmlspecialchars($message) ?></p>                <?php endif ?> 
You can put this code in any field your tempate.
Thank you for answering. But in what file do you want me in insert that code?

 
Messages generated in modules and store in session. This code output this is messages^

<!-- Messages -->                <?php if ($message=$session->getMessage()): ?>                  <p class="message"><?php echo htmlspecialchars($message) ?></p>                <?php endif ?> 
You can put this code in any field your tempate.
Thank you for answering. But in what file do you want me in insert that code?
You can put any file in your template. But if i understand - you want to get the same result as in the default theme. Then yoy put this code in index.php or any other file that the theme is based on a template and always displayed. In default theme is a file - themes/default/header.php

 
Last edited by a moderator:
Thank you! It works good now!

Last question, where can I change the color font and the background? (About this message)

 
Last edited by a moderator:
Back
Top