<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[LuxCal Web Calendar — Help needed with sidebar upcoming events / custom lcsbar.php?]]></title>
		<link>https://www.luxsoft.eu/lcforum/viewtopic.php?id=344</link>
		<atom:link href="https://www.luxsoft.eu/lcforum/extern.php?action=feed&amp;tid=344&amp;type=rss" rel="self" type="application/rss+xml"></atom:link>
		<description><![CDATA[The most recent posts in Help needed with sidebar upcoming events / custom lcsbar.php?.]]></description>
		<lastBuildDate>Sat, 13 Feb 2021 11:23:15 +0000</lastBuildDate>
		<generator>PunBB 1.4.4</generator>
		<item>
			<title><![CDATA[Re: Help needed with sidebar upcoming events / custom lcsbar.php?]]></title>
			<link>https://www.luxsoft.eu/lcforum/viewtopic.php?pid=1265#p1265</link>
			<description><![CDATA[<p>That sounds wonderfull !!</p><p>thank you very much <img src="https://www.luxsoft.eu/lcforum/img/smilies/big_smile.png" width="15" height="15" alt="big_smile"></p>]]></description>
			<author><![CDATA[null@example.com (webnick72)]]></author>
			<pubDate>Sat, 13 Feb 2021 11:23:15 +0000</pubDate>
			<guid>https://www.luxsoft.eu/lcforum/viewtopic.php?pid=1265#p1265</guid>
		</item>
		<item>
			<title><![CDATA[Re: Help needed with sidebar upcoming events / custom lcsbar.php?]]></title>
			<link>https://www.luxsoft.eu/lcforum/viewtopic.php?pid=1264#p1264</link>
			<description><![CDATA[<p>Hi there,</p><p>OK, understood <img src="https://www.luxsoft.eu/lcforum/img/smilies/wink.png" width="15" height="15" alt="wink"><br>I will send an updated lcsbar.php file to your gmail mailbox shortly.<br>The additional parameter will also be available in future LuxCal calendar versions.</p><p>Roel</p>]]></description>
			<author><![CDATA[null@example.com (Roel)]]></author>
			<pubDate>Sat, 13 Feb 2021 11:20:10 +0000</pubDate>
			<guid>https://www.luxsoft.eu/lcforum/viewtopic.php?pid=1264#p1264</guid>
		</item>
		<item>
			<title><![CDATA[Re: Help needed with sidebar upcoming events / custom lcsbar.php?]]></title>
			<link>https://www.luxsoft.eu/lcforum/viewtopic.php?pid=1263#p1263</link>
			<description><![CDATA[<p>hi Roel,</p><p>thanks for the response , but that was not exactly what i meant<br>i already did not have $sbContent = &#039;todo&#039;; in the sidebar-page so it did show upcoming events.</p><p>But the problem i have is that when an event is already done (timewise) it is still displayed and that is not the case in the display-page where i can set the <strong>$futEvts = 1; option.</strong> , when i set that option the event that ended for example at 12:00 am will not show up after 12:00 am that day</p><p>below is what happens now, in sidebar lock07-event is still visible while it is already done, while on the display-page it is not shown due the $futEvts =1; option<br>(oops wanted to add picture but that did not work)</p><p>Displaypage shows:<br>-----------------------------<br>Lock Calendar<br>Fri, February 12<br>Until 23:00 lock09 locked<br>Category: locks<br>------------------------------</p><p>Sidebar-page shows:<br>------------------------------<br>Locks<br>Thursday 11 February 2021 - Friday 12 February 2021<br>3:00 - 12:00<br>lock07 locked<br>Wednesday 10 February 2021 - Friday 12 February 2021<br>12:00 - 23:00<br>lock09 locked<br>-------------------------------</p><p>would be great if sidebar could also use something like $futEvts =1;</p>]]></description>
			<author><![CDATA[null@example.com (webnick72)]]></author>
			<pubDate>Fri, 12 Feb 2021 14:16:35 +0000</pubDate>
			<guid>https://www.luxsoft.eu/lcforum/viewtopic.php?pid=1263#p1263</guid>
		</item>
		<item>
			<title><![CDATA[Re: Help needed with sidebar upcoming events / custom lcsbar.php?]]></title>
			<link>https://www.luxsoft.eu/lcforum/viewtopic.php?pid=1262#p1262</link>
			<description><![CDATA[<p>Hi there<br>The sidebar is showing 30 days in the past when it&#039;s used to show a To Do list; however, when it is used to show an Upcoming Events list, it shows events as of &#039;today&quot;.<br>So I assume you have specified <strong>$sbContent = &#039;todo&#039;;</strong> just before the sidebar code. This is fine, no problem. If you would remove <strong>$sbContent = &#039;todo&#039;;</strong>, or set it to &#039;upco&#039;, you would get all Upcoming Events as of &quot;today&quot;.<br>But maybe you have good reasons to show the To Do list and still want to show events as of today. If this is the case, you should edit the lcsbar.php file and replace line 168 . . .<br></p><div class="codebox"><pre><code>$sbsDate = $sbContent == &#039;todo&#039; ? date(&quot;Y-m-d&quot;,$sbsTime - (30 * 86400)) : date(&quot;Y-m-d&quot;,$sbsTime); // if ToDo start 30 days back</code></pre></div><p>by . . .<br></p><div class="codebox"><pre><code>$sbsDate = date(&quot;Y-m-d&quot;,$sbsTime);</code></pre></div><p>Thereafter the sidebar will always show events as of today.</p><p>If you need something else, please let me know.</p><p>Roel</p>]]></description>
			<author><![CDATA[null@example.com (Roel)]]></author>
			<pubDate>Fri, 12 Feb 2021 09:14:12 +0000</pubDate>
			<guid>https://www.luxsoft.eu/lcforum/viewtopic.php?pid=1262#p1262</guid>
		</item>
		<item>
			<title><![CDATA[Help needed with sidebar upcoming events / custom lcsbar.php?]]></title>
			<link>https://www.luxsoft.eu/lcforum/viewtopic.php?pid=1261#p1261</link>
			<description><![CDATA[<p>Greetings all</p><p>Being new to LuxCal i am testing the calendar for use with an arduino project to activate a lock based on an calendar event.<br>I made a sidebar available on a page which is scanned by the arduino code for a specific name of an event. when found the lock is closed<br>and when not found the lock is opened</p><p>But when i use the sidebar upcoming events the event on the page is displayed even if the time&nbsp; of the event is past already<br>When i used the display03 i could use the $futEvts = 1; setting to not show passed events on the current day but on the sidebar i noticed $futEvts was not available to use. <br>But the dislpay-page should be in the calendar root directory and i need it one directory up so thats why i wanted to use a sidebar <br>(displaypage in iframe won&#039;t work as the arduino code does not see the contents inside the iframe)</p><p><strong><br>Is there a way to change the lcsbar.php so it can use the $futEvts setting or so that it doesn&#039;t display events that are past already on the moment the page is displayed (scanned in my case)<br></strong></p><p>i would really appreciate your help so i can make my project work with LuxCal</p>]]></description>
			<author><![CDATA[null@example.com (webnick72)]]></author>
			<pubDate>Thu, 11 Feb 2021 17:37:06 +0000</pubDate>
			<guid>https://www.luxsoft.eu/lcforum/viewtopic.php?pid=1261#p1261</guid>
		</item>
	</channel>
</rss>
