PageTemplate/Fixup
* fix broken external links from detail pages
* amends 715c1534eb
* closes #477
This commit is contained in:
parent
a4629a4f6f
commit
8417b6854b
1 changed files with 2 additions and 0 deletions
|
|
@ -160,6 +160,8 @@ class TemplateResponse extends BaseResponse
|
|||
$this->fullParams = $this->pageName;
|
||||
if ($this->category)
|
||||
$this->fullParams .= '='.implode('.', $this->category);
|
||||
else if (in_array(__NAMESPACE__.'\TrDetailPage', class_uses($this)) && ($id = intVal($rawParam)))
|
||||
$this->fullParams .= '='.$id;
|
||||
|
||||
// prep js+css includes
|
||||
$parentVars = get_class_vars(__CLASS__);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue