<![CDATA[ Daterange How to display custom output with getPage - My Forums]]> https://forums.modx.com/thread/?thread=102680 <![CDATA[Daterange How to display custom output with getPage]]> https://forums.modx.com/thread/102680/daterange-how-to-display-custom-output-with-getpage#dis-post-553151
Im using getPage and it works fine for single dates (screenshot date1.png)



When it comes to a daterange, it comes up blank. (screenshot date2.png)



Here is my chunk:


						<div class="entry clearfix">
							<div class="entry-image">
								<a href="[[~[[+id]]]]">
									<img src="[[phpthumbOn? &input=`[[+image_2]]` &options=`&w=300&h=200&zc=1`]]" alt="[[+pagetitle]]">
									<div class="entry-date">[[+lounge_dates:strtotime:date=`%d`]]<span>[[+lounge_dates:strtotime:date=`%b`]]</span></div>
								</a>
							</div>
							<div class="entry-c">
								<div class="entry-title">
									<h2><a href="[[~[[+id]]]]">[[+pagetitle]]</a></h2>
								</div>
								<ul class="entry-meta clearfix">

									<li><i class="icon-time"></i> [[+time]]</li>
								
								</ul>
								<div class="entry-content">
									<p>[[+description]]</p>
									<a href="[[~[[+id]]]]" class="btn btn-danger">Read More</a>
								</div>
							</div>
						</div>



It works fine for single dates using only the first datepicker in the TV. Im hoping to have it show the days with this as an example
5-6
Sep

I hope I didnt forget anything and I thank you for your time.]]>
jmanson Aug 12, 2017, 01:08 PM https://forums.modx.com/thread/102680/daterange-how-to-display-custom-output-with-getpage#dis-post-553151