mirivlad
-
Content Count
7 -
Joined
-
Last visited
-
Days Won
1
Reputation Activity
-
mirivlad got a reaction from Alexandria in Message doesn't appear in a custom theme for fluxcp
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.
-
mirivlad got a reaction from Alexandria in Message doesn't appear in a custom theme for fluxcp
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
-
mirivlad got a reaction from Alexandria in Message doesn't appear in a custom theme for fluxcp
in css stylesheet your theme - class - message.
.message{background-color: #faa;color: #222;}