<feed xmlns='http://www.w3.org/2005/Atom'>
<title>contact/display_contact.php, branch master</title>
<subtitle>Bitweaver contact package repository
</subtitle>
<id>https://git.rdm1.uk/contact/.git/atom?h=master</id>
<link rel='self' href='https://git.rdm1.uk/contact/.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/contact/.git/'/>
<updated>2026-06-11T18:26:25Z</updated>
<entry>
<title>Introduce ContactPerson and ContactBusiness subclasses</title>
<updated>2026-06-11T18:26:25Z</updated>
<author>
<name>Lester Caine</name>
<email>lester@lsces.co.uk</email>
</author>
<published>2026-06-11T18:26:25Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/contact/.git/commit/?id=64aae1e41d9288a6d9709781af29b06fe6adb5ca'/>
<id>urn:sha1:64aae1e41d9288a6d9709781af29b06fe6adb5ca</id>
<content type='text'>
Splits the Contact class into ContactPerson (content_type_guid='contactperson')
and ContactBusiness (content_type_guid='contactbusiness'), each using 'contact'
as the shared package-level xref schema. Replaces the $isPerson/$00 xref hack
with proper class identity via instanceof.

- ContactPerson.php, ContactBusiness.php: new subclasses
- Contact.php: loadXrefTypeList() reads type tags directly from liberty_xref;
  getAvailableTypeItems() for edit form (schema-driven with pre-upgrade fallback);
  getDisplayUrl() now points to display_contact.php
- Type item codes: P01/P02 (person), B01-B04 (business, B01=Service new)
- list_people.php, list_businesses.php: separate list pages per type
- list_contacts.php: combined display-layer merge of both types
- 5.0.3.php: upgrade script migrating existing data to new content types and codes
- Templates: isPerson flag from instanceof; horizontal type checkboxes; list.tpl
  accepts $listTitle; menu adds People/Businesses entries

Co-Authored-By: Claude Sonnet 4.6 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>display_contact: migrate to loadXrefInfo/gXrefInfo path</title>
<updated>2026-06-06T14:55:45Z</updated>
<author>
<name>Lester Caine</name>
<email>lester@lsces.co.uk</email>
</author>
<published>2026-06-06T14:55:45Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/contact/.git/commit/?id=4425c6b4acd016085c537631c4738ca2fca90eaf'/>
<id>urn:sha1:4425c6b4acd016085c537631c4738ca2fca90eaf</id>
<content type='text'>
display_contact.php: replace getXrefGroupList() with loadXrefInfo()
and assign gXrefInfo to Smarty.
display_contact.tpl: replace old $source loop with xrefGroup foreach.
view_xref_contact_group.tpl: remove fixed column widths.

Co-Authored-By: Claude Sonnet 4.6 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Rename list.php → list_contacts.php; add odd/even row pairs to list</title>
<updated>2026-06-02T14:02:38Z</updated>
<author>
<name>Lester Caine</name>
<email>lester@lsces.co.uk</email>
</author>
<published>2026-06-02T14:02:38Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/contact/.git/commit/?id=e88544380267e3539fd28a6cefea844fb75e684a'/>
<id>urn:sha1:e88544380267e3539fd28a6cefea844fb75e684a</id>
<content type='text'>
list_contacts.php: modern replacement with clean code, no dead session
logic, referencing list.tpl.
list.php: now a thin redirect for backward compatibility.
list.tpl: alternate odd/even class on each contact's row pair.
All internal references (display_contact, index, load_emails, menu,
admin_xref_types) updated to list_contacts.php.

Co-Authored-By: Claude Sonnet 4.6 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Fix Firebird/PDO compatibility and strip Cotswold Security remnants</title>
<updated>2026-05-27T15:27:59Z</updated>
<author>
<name>Lester Caine</name>
<email>lester@lsces.co.uk</email>
</author>
<published>2026-05-27T15:27:59Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/contact/.git/commit/?id=6f5e5e15c078bd0f61e224da08eadf1da9bbf992'/>
<id>urn:sha1:6f5e5e15c078bd0f61e224da08eadf1da9bbf992</id>
<content type='text'>
- Fix LOCALTIMESTAMP default in contact_address (CURRENT_TIMESTAMP caused
  timezone error with Firebird 4+ / PDO session having no timezone set)
- Add xref_id sequence call to all liberty_xref INSERTs in Contact::store()
- Add CONTACT_PKG_CLASS_PATH so getLibertyObject resolves Contact class
- Fix LibertyXref date fields: format Unix timestamps as Y-m-d H:i:s before
  INSERT; use null instead of empty string for nullable TIMESTAMP columns
- Remove Contract/Key Number column from list and edit templates
- Remove find_key search box and getContractList() method
- Remove alarm and council xref groups and items from schema seed
- Add SCREF (Stock Source Reference) to links xref group seed
- Archive and git-remove Cotswold-specific templates and list_contracts.php
- Clean up contact_header: remove xkey prefix, restore plain title display
- Browser title now shows contact name instead of generic "Contact Information"

Co-Authored-By: Claude Sonnet 4.6 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Remove xref methods now in LibertyContent; update callers</title>
<updated>2026-05-22T14:37:42Z</updated>
<author>
<name>Lester Caine</name>
<email>lester@lsces.co.uk</email>
</author>
<published>2026-05-22T14:37:42Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/contact/.git/commit/?id=6f15bf8dd60491d72f04750433ea8581f54270ab'/>
<id>urn:sha1:6f15bf8dd60491d72f04750433ea8581f54270ab</id>
<content type='text'>
Nine methods deleted from Contact (getContactGroupList, getContactSourceList,
getXrefTypeList, getXrefFormatList, loadContentTypeList, loadXrefList,
loadXref, storeXref, stepXref) — all now inherited from LibertyContent.

Contact sets $mXrefTypeKey = 'contact_types' so loadXrefTypeList() continues
to store under the key templates expect. load() updated to call
loadXrefTypeList(). Page files updated: getContactGroupList → getXrefGroupList,
getContactSourceList → getXrefSourceList.

Co-Authored-By: Claude Sonnet 4.6 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Just a crude merging of the PHP7 code base with the PHP8.4 version</title>
<updated>2025-08-24T14:35:09Z</updated>
<author>
<name>lsces</name>
<email>lester@lsces.co.uk</email>
</author>
<published>2025-08-24T14:35:09Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/contact/.git/commit/?id=ce4fa87baac56fe2478cfea56b539cba63887467'/>
<id>urn:sha1:ce4fa87baac56fe2478cfea56b539cba63887467</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move from Smarty2 to Smarty3 function style</title>
<updated>2016-02-07T17:00:54Z</updated>
<author>
<name>lsces</name>
<email>lester@lsces.co.uk</email>
</author>
<published>2016-02-07T17:00:54Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/contact/.git/commit/?id=7392e0514a1fc729b6666cf7089285c6824b2126'/>
<id>urn:sha1:7392e0514a1fc729b6666cf7089285c6824b2126</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Initial code to add image/document gallery to contact package</title>
<updated>2014-05-31T21:58:45Z</updated>
<author>
<name>lsces</name>
<email>lester@lsces.co.uk</email>
</author>
<published>2014-05-31T21:58:45Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/contact/.git/commit/?id=0079eba641d5be99a992edf24bcc0767d2faee78'/>
<id>urn:sha1:0079eba641d5be99a992edf24bcc0767d2faee78</id>
<content type='text'>
STill needs a means of supplying gallery number for related gallery.
</content>
</entry>
<entry>
<title>Move address xref records to their own list and display them below the property address</title>
<updated>2011-03-10T04:13:13Z</updated>
<author>
<name>Lester Caine</name>
<email>lsces@lsces.co.uk</email>
</author>
<published>2011-03-10T04:13:13Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/contact/.git/commit/?id=735c56e4cc8b428019139072d997c42dad313c3f'/>
<id>urn:sha1:735c56e4cc8b428019139072d997c42dad313c3f</id>
<content type='text'>
Still need to add a switch to disable navigation links where not needed - or hide them in a pop-up
</content>
</entry>
<entry>
<title>Phantom change ... nothing actually applied</title>
<updated>2010-11-28T08:36:08Z</updated>
<author>
<name>Lester Caine</name>
<email>lsces@lsces.co.uk</email>
</author>
<published>2010-11-28T08:36:08Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/contact/.git/commit/?id=380ad37d2ba794a3100d84c79edced4c89b23a09'/>
<id>urn:sha1:380ad37d2ba794a3100d84c79edced4c89b23a09</id>
<content type='text'>
</content>
</entry>
</feed>
