Add date to Footer

Discussion in 'Templates customization' started by entangled, Sep 26, 2016.

  1. entangled

    entangled aMember Pro Customer

    Joined:
    Jul 10, 2012
    Messages:
    9
    Hello,

    How do I add something like this to the Footer:

    &copy; 1998-<?php echo date("Y");?>

    on the Default Theme tab? aMember changes the PHP code to comments. Tried Source in the Editor with the same results.

    The same code worked on previous 4.7 version but not on 5.1.5 which I just upgraded to.

    Thank you.
  2. caesar

    caesar aMember Pro Developer Staff Member

    Joined:
    Oct 16, 2009
    Messages:
    1,669
    You need to add this code to template directly
    amember/application/default/views/layout.phtml

Share This Page