Easy PHP Calendar - We really take care of your dates!


Go Back   Easy PHP Calendar > Integration > Mambo/Joomla Integration

Mambo/Joomla Integration Information about integrating the calendar with the Mambo Content Management System.

Closed Thread
 
Thread Tools Search this Thread Display Modes

How to determine month being printed
Old 11-24-2008, 09:02 PM   #1
hbcrosby
Calendar User
 
hbcrosby's Avatar
 
hbcrosby is offline
Join Date: Apr 2004
Posts: 25
Default How to determine month being printed

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
 

Old 11-24-2008, 09:21 PM   #2
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,968
Default

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.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Display The Calendar Starting At The Current Month And Not The Previous Month guylevy General 6 04-04-2008 07:59 PM
Link to month in list mode Maja General Support 1 02-15-2008 06:33 PM
Wrong Month Displayed merlingt General Support 4 10-30-2005 06:17 PM
HELP: ESCAL Moves a day Forward for rest of Month and then OK again?? jvilla General Support 5 09-24-2004 08:45 AM



All times are GMT -4. The time now is 08:13 PM.


vBulletin skins developed by: eXtremepixels
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright 2009 NashTech, Inc.

| Home | Register | Today's Posts | Search | New Posts |