Hello there, fellow Contao users.
I've been trying to use 'page=' numbers in my page title and breadcrumbs. My PHP skills are somewhat below average (not nearly enough practice yet), but I've accomplished the former by adding:
Code:
		if ($this->Input->get('page') != '' && $this->Input->get('page') > 0)
		{
			$this->intPage = $this->Input->get('page');
			// My addition
			$GLOBALS['objPage']->pageTitle = 'My Custom Title - Page '.$this->intPage;
		}
in Pagination.php.
Now I would like to do the same for breadcrumbs, so they look like:
"Main Page > Articles > Page 2" whenever there's a "page=" in current URL,
instead of just
"Main Page > Arcticles"
I know there's a generateBreadcrumb hook in Contao, but since it's completely undocumented, I simply have no idea how to make it work or if it's actually applicable in my situation.
Thank you in advance and I hope to hear from you soon!