A module and template files that enable front-end management of user profiles in ProcessWire.
FrontendUserProfilesPW Installation & Configuration
Upload all files & Install module
Open file /site/templates/head.inc
Add
$fup = $modules->get('FrontendUserProfile');
at the beginning of file
Add
if ($page->renderLogoutForm()) echo "<li>".$page->renderLogoutForm()."</li>";
after
echo "<li><a$class href='{$child->url}'>{$child->title}</a></li>";
}
Add
<?php if ($message = $page->getMessage()): ?>
<p style="color:<?php echo $message['type'] ?>;"><?php echo $message['content']; ?></p>
<?php endif; ?>
<?php echo $page->renderLoginForm(); ?>
after
<div id="bodycopy">
REQUIREMENTS
- Fieldtype DropDown by Hani79 (https://github.com/Hani79/Processwire_FieldType_Select_Drop_Down)
AUTHOR
Upload all files & Install module
Open file /site/templates/head.inc
Add
$fup = $modules->get('FrontendUserProfile');
at the beginning of file
Add
if ($page->renderLogoutForm()) echo "<li>".$page->renderLogoutForm()."</li>";
after
echo "<li><a$class href='{$child->url}'>{$child->title}</a></li>";
}
Add
<?php if ($message = $page->getMessage()): ?>
<p style="color:<?php echo $message['type'] ?>;"><?php echo $message['content']; ?></p>
<?php endif; ?>
<?php echo $page->renderLoginForm(); ?>
after
<div id="bodycopy">
- Fieldtype DropDown by Hani79 (https://github.com/Hani79/Processwire_FieldType_Select_Drop_Down)
AUTHOR
Copyright 2013 by Orkhan Maharramli (orkhan.maharramli[at]gmail.com)
Install and use modules at your own risk. Always have a site and database backup before installing new modules.