OK, still having issues with getting name to appear in breadcrumb. Here is what I have tried:
First off, I have this in my CfClientsDb.php page in the classes folder (I have removed the extra items as they are not in question):
function CfClientsDb(&$oConfig)
{
parent::BxDolTwigModuleDb($oConfig);
$this->_sTableMain = 'main';
$this->_sFieldTitle = 'title';
$this->_sFieldFirstName = 'firstname';
$this->_sFieldLastName = 'lastname';
}
If I do this, then I can get the last name to show up fine in the breadcrumb:
$this->_sTableMain = 'main';
$this->_sFieldTitle = 'lastname';
$this->_sFieldFirstName = 'firstname';
$this->_sFieldLastName = 'lastname';
So, how would I go about making both of the field entries show in the title variable? I have tried the following:
1. $this->_sFieldTitle = 'lastname' 'firstname';
2. $this->_sFieldTitle = 'lastname', 'firstname';
3. $this->_sFieldTitle = $this->_sFieldFirstName . ' ' . $this->_sFieldLastName;
4. $name = $this->_sFieldFirstName . $this->_sFieldLastName;
$this->_sFieldTitle = $name;
5. $name = $this->_sFieldFirstName . ' ' . $this->_sFieldLastName;
$this->_sFieldTitle = $name;
6. $name = $this->_sFieldFirstName . " " . $this->_sFieldLastName;
$this->_sFieldTitle = $name;
There were several more that I tried but they all had the same results - it did not work.
My only other thought was to take the first name and last name when submitted in the form and have those entered into the database title field. If anyone could help me figure out either way, I would greatly appreciate it.