1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. To combat forum spam, we are temporarily disabling the ability to create new accounts for the forums. Please feel free to open a support ticket through out client area with any support issues. You can also search the forums for answers to many questions.

How to determine month being printed

Discussion in 'Mambo/Joomla Integration' started by hbcrosby, Nov 24, 2008.

Thread Status:
Not open for further replies.
  1. hbcrosby

    hbcrosby New Member

    I have been successful in installing EPC in Joomla 1.5 including the "printable.php" code. My question is this....when using the "printable.php" code, how can I pull the month name (that is being printed) to place in a text line on top of the list to be printed? Is there a variable I can place in the text line?

    I.e. - "New Hope's Event List for XXXXX"

    Thank you!

    bing
     
  2. ve9gra

    ve9gra Support Team

    You can use simple PHP. If the variable $mo, or $_REQUEST['mo'] is not defined, then you're showing the current month.

    Use date("F", mktime(0,0,0, $mo)); to get the month name.
     
Thread Status:
Not open for further replies.

Share This Page