<?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 — Adding the name of the subcatergory to the event title]]></title>
		<link>https://www.luxsoft.eu/lcforum/viewtopic.php?id=523</link>
		<atom:link href="https://www.luxsoft.eu/lcforum/extern.php?action=feed&amp;tid=523&amp;type=rss" rel="self" type="application/rss+xml"></atom:link>
		<description><![CDATA[The most recent posts in Adding the name of the subcatergory to the event title.]]></description>
		<lastBuildDate>Sun, 14 Sep 2025 14:31:36 +0000</lastBuildDate>
		<generator>PunBB 1.4.4</generator>
		<item>
			<title><![CDATA[Re: Adding the name of the subcatergory to the event title]]></title>
			<link>https://www.luxsoft.eu/lcforum/viewtopic.php?pid=2028#p2028</link>
			<description><![CDATA[<p>EDIT: YEap all working now, I was being dumb</p>]]></description>
			<author><![CDATA[null@example.com (Smorg)]]></author>
			<pubDate>Sun, 14 Sep 2025 14:31:36 +0000</pubDate>
			<guid>https://www.luxsoft.eu/lcforum/viewtopic.php?pid=2028#p2028</guid>
		</item>
		<item>
			<title><![CDATA[Re: Adding the name of the subcatergory to the event title]]></title>
			<link>https://www.luxsoft.eu/lcforum/viewtopic.php?pid=2027#p2027</link>
			<description><![CDATA[<p>For Luxcal V5.1.0:<br>Edit the file views/month.php&quot; and add just below line 24 . . . .<br></p><div class="codebox"><pre><code>$snm = $evt[&#039;snm&#039;] ? &quot; - {$evt[&#039;snm&#039;]}&quot; : &#039;&#039;;</code></pre></div><p>and change line 26 from . . . .<br></p><div class="codebox"><pre><code>echo &quot;&lt;p {$onClick}{$popAttr} title=\&quot;{$title}\&quot;&gt;{$chBox}{$event}&lt;/p&gt;\n&quot;;</code></pre></div><p> to . . . .<br></p><div class="codebox"><pre><code>echo &quot;&lt;p {$onClick}{$popAttr} title=\&quot;{$title}\&quot;&gt;{$chBox}{$event}{$snm}&lt;/p&gt;\n&quot;;</code></pre></div><p>In other words add &quot;{$snm}&quot; after &quot;{$event}&quot;.<br>Roel</p>]]></description>
			<author><![CDATA[null@example.com (Roel)]]></author>
			<pubDate>Sat, 13 Sep 2025 21:23:32 +0000</pubDate>
			<guid>https://www.luxsoft.eu/lcforum/viewtopic.php?pid=2027#p2027</guid>
		</item>
		<item>
			<title><![CDATA[Re: Adding the name of the subcatergory to the event title]]></title>
			<link>https://www.luxsoft.eu/lcforum/viewtopic.php?pid=2026#p2026</link>
			<description><![CDATA[<p>So, I think I am running an older version. I found the file to edit (was in views, not pages), but $snm is displaying as an unknown variable.</p><p>In settings, it&#039;s showing 5.1.0M</p><p>I assume that&#039;s the version number. Can you still help?</p><p>Thanks</p>]]></description>
			<author><![CDATA[null@example.com (Smorg)]]></author>
			<pubDate>Sat, 13 Sep 2025 12:11:03 +0000</pubDate>
			<guid>https://www.luxsoft.eu/lcforum/viewtopic.php?pid=2026#p2026</guid>
		</item>
		<item>
			<title><![CDATA[Re: Adding the name of the subcatergory to the event title]]></title>
			<link>https://www.luxsoft.eu/lcforum/viewtopic.php?pid=2025#p2025</link>
			<description><![CDATA[<p>Thanks very much for that,</p>]]></description>
			<author><![CDATA[null@example.com (Smorg)]]></author>
			<pubDate>Sat, 13 Sep 2025 09:56:29 +0000</pubDate>
			<guid>https://www.luxsoft.eu/lcforum/viewtopic.php?pid=2025#p2025</guid>
		</item>
		<item>
			<title><![CDATA[Re: Adding the name of the subcatergory to the event title]]></title>
			<link>https://www.luxsoft.eu/lcforum/viewtopic.php?pid=2006#p2006</link>
			<description><![CDATA[<p>Hi Smorg,<br>To add the subcategory to the event title in month view can be achieved as follows (for LuxCal 5.3.3).:<br>The subcategory name for an event is held in the variable $evt[&#039;snm&#039;].<br>So edit the file views/month.php&quot; and add just below line 26 . . . .<br></p><div class="codebox"><pre><code>$snm = $evt[&#039;snm&#039;] ? &quot; - {$evt[&#039;snm&#039;]}&quot; : &#039;&#039;;</code></pre></div><p>and change line 28 from . . . .<br></p><div class="codebox"><pre><code>echo &quot;&lt;div {$onClick}{$popAttr} title=\&quot;{$title}\&quot;&gt;{$chBox}{$event}&lt;/div&gt;\n&quot;;</code></pre></div><p> to . . . .<br></p><div class="codebox"><pre><code>echo &quot;&lt;div {$onClick}{$popAttr} title=\&quot;{$title}\&quot;&gt;{$chBox}{$event}$snm&lt;/div&gt;\n&quot;;</code></pre></div><p>In other words add &quot;$snm&quot; after &quot;{$event}&quot;.</p><p>The category /subcategory drop-down menus for the Add / Edit event window are produced in the &quot;pages/eventform1.php&quot; script, functions catMenu (line 24) and scatMenu (line 43) respectively.</p><p>Roel</p>]]></description>
			<author><![CDATA[null@example.com (Roel)]]></author>
			<pubDate>Mon, 14 Apr 2025 18:56:47 +0000</pubDate>
			<guid>https://www.luxsoft.eu/lcforum/viewtopic.php?pid=2006#p2006</guid>
		</item>
		<item>
			<title><![CDATA[Re: Adding the name of the subcatergory to the event title]]></title>
			<link>https://www.luxsoft.eu/lcforum/viewtopic.php?pid=2002#p2002</link>
			<description><![CDATA[<p>I have found the same variable is used when hovering over the event.&nbsp; The div id is htmlPop if this helps you</p>]]></description>
			<author><![CDATA[null@example.com (Smorg)]]></author>
			<pubDate>Wed, 19 Mar 2025 17:17:15 +0000</pubDate>
			<guid>https://www.luxsoft.eu/lcforum/viewtopic.php?pid=2002#p2002</guid>
		</item>
		<item>
			<title><![CDATA[Adding the name of the subcatergory to the event title]]></title>
			<link>https://www.luxsoft.eu/lcforum/viewtopic.php?pid=2001#p2001</link>
			<description><![CDATA[<p>I have found WHERE to add this, but not sure what variable to use.</p><p>In context, I have too many subcategories to be able to use colours to distinguish between them, as the calendar is on display in the room.</p><p>Supplementary, where are drop downs for categories being built? I want to be able to hide a category on a particular day.</p><p>Thanks</p>]]></description>
			<author><![CDATA[null@example.com (Smorg)]]></author>
			<pubDate>Wed, 19 Mar 2025 13:18:00 +0000</pubDate>
			<guid>https://www.luxsoft.eu/lcforum/viewtopic.php?pid=2001#p2001</guid>
		</item>
	</channel>
</rss>
