Hi @applegateian
Make sure you have <?php do_action( 'template_notices' ); ?>
in the edit.php template. The template notices hook on to this action.
OK thanks @henrywright-1
Do you know where it should go? It’s not currently in my edit.php file
Right at the very top would be a good spot. It doesn’t really matter though as it will just determine where on the page the template notice text is displayed.
Thanks @henrywright-1
It doesn’t seem to make any difference. As I said, my change-avatar page does show a notification, but I just checked change-avatar.php and that doesn’t have <?php do_action( 'template_notices' ); ?>
in it either, so I’m not sure how it’s working.
Any ideas?
<?php do_action( 'template_notices' ); ?>
could be in a template file upstream such as home.php or member-header.php? It depends on your theme. As to why it isn’t working after profile edit – this could be down to your theme. Have you made any theme customisations? Do you get a confirmation message when using the default theme?
Ok so <?php do_action( 'template_notices' ); ?>
is referenced in member-header.php
I have modified edit.php @henrywright-1 – as we’re not using the sub menu of activity, forums, etc.I just have profile and change avatar.
It’s been a while since this file was edited, but I’m wondering if it’s this line that’s affecting the notices:
<?php bp_profile_group_tabs_exc_empty(); ?>
I’ll try with the default theme too and see what happens.