Notification after listing update

Discussion in 'GeoCraft WordPress Theme' started by saxonycreative, Aug 8, 2013.

  1. saxonycreative

    saxonycreative New Member

    Joined:
    Aug 6, 2013
    Messages:
    15
    Likes Received:
    0
    Hi - I'm not seeing an onscreen notification after a listing update is submitted (image added, text changed, etc). Right now, there is no way for members to be sure that their update has taken effect. Could you send me the code snippet to add to dashboard_functions.php to put the onscreen update confirmation in place?
     
  2. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Hello,

    For this go to the
    geocrafttheme\library\controls\dashboard
    and add code given below as shown in the image.

    Code:
     if(!empty($last_postid)){
                ?>
        <script type="text/javascript">
            alert('Your listing has been updated.');
            </script>
        <?php
            }
    editalertnew.png
     
  3. saxonycreative

    saxonycreative New Member

    Joined:
    Aug 6, 2013
    Messages:
    15
    Likes Received:
    0
    Thanks for the update. This gives me an error on line <?php line (line 784 in your example) after I add the code as shown. Is there a syntax error, possibly? Could you check and confirm that the suggested code is correct?
     
  4. saxonycreative

    saxonycreative New Member

    Joined:
    Aug 6, 2013
    Messages:
    15
    Likes Received:
    0
    It appears to work... In which file would I add a similar message when someone creates a new member account, like "Thank you. Your account has been created."
     
  5. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Unfortunately there isn't a way to do that with our theme unless you custom code something up. Sorry.
     

Share This Page