| Age | Commit message (Collapse) | Author | Files | Lines |
|
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 <noreply@anthropic.com>
|
|
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 <noreply@anthropic.com>
|
|
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 <noreply@anthropic.com>
|
|
- 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 <noreply@anthropic.com>
|
|
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 <noreply@anthropic.com>
|
|
|
|
|
|
STill needs a means of supplying gallery number for related gallery.
|
|
property address
Still need to add a switch to disable navigation links where not needed - or hide them in a pop-up
|
|
|
|
commited
|