Week Range
Developer
3rd Party (Free)
EE Version Support
- ExpressionEngine 1.x
Compatibility
If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.
- Updater
- Multi Site Manager
- Stand Alone Entry Form
- Low Variables
- Content Elements
- Better Workflow
- Matrix
- Grid
- Webservice
- Publisher
Requirements
- jQuery for the Control Panel
Add-On Type(s)
Plugin
Tags
Print out a single week of a calendar, or get Month, Day, or Year values from a week range with a given date.
Print out a single week of a calendar, or get Month, Day, or Year values from a week range with a given date. Defaults to today’s date.
Loop through each day of the week, and print a calendar.
{exp:week_range:days}
<li class="calendar_day ">
<span class="day_number">{day}</span>
<span class="day_name">{day_of_week}</span>
{embed="global/_calendar-day" year="{year}" month="{month}" day="{day}"}
</li>
{/exp:week_range:days}
Find all events for each day.
{exp:weblog:entries weblog="events" dynamic="off" show_future_entries="yes" year="{embed:year}" month="{embed:month}" day="{embed:day}"}
{title}
{/exp:weblog:entries}
To print “September 27–October 3, 2009”
{exp:week_range:full_date format_month="F" format_day="j" format_year="Y" date="2009-10-01"}
Other available methods:
{exp:week_range:day format_day="j"}
{exp:week_range:month format_month="F"}
{exp:week_range:year format_year="Y"}
{exp:week_range:day_of_week}
Parameters
—————————
date= (optional)
Change the date you want to pass to it. Defaults to today. e.g. 2009-10-1
get= (optional default: false, options: day, month, year, day_of_week, full_date)
Get various parts of a date
increment= (optional default: 0)
If you use some sort of other loop generator (e.g. Loop plugin)
date= (optional default: date(‘Y-m-d’))
Define another date to start from
separator= (optional default: ‘–’)
If you want to separate dates with something else
format_month= (optional default: ‘m’)
Use any valid PHP date format character
format_day= (optional default: ‘d’)
Use any valid PHP date format character
format_day_of_week= (optional default: ‘l’)
Use any valid PHP date format character
format_year= (optional default: ‘Y’)
Use any valid PHP date format character
today_first= (optional default: ‘no’)
If ‘yes’, the 7 day calendar will start with today’s date
Week Range Links
This entry was created March 30, 2010, 6:24 am.
This entry was last updated May 20, 2010, 7:09 am.
Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!
Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through devot-ee.com. If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at https://devot-ee.com/returns to initiate your return. If you have questions, email support@devot-ee.com.
There are no reviews for this add-on yet.
What are you waiting for? Rate it and review it!