Loading...
 
Skip to main content

Page alias not showing up when printing page through tiki-print.php

Status
Closed
Subject
Page alias not showing up when printing page through tiki-print.php
Version
11.x Regression
12.x Regression
Category
  • Consistency
Feature
Print
Resolution status
Confirmed
Submitted by
jcarter
Lastmod by
jcarter
Rating
(0)
Description

When using tiki-print.php the page's real name is displayed instead of its alias. This is probably caused by the same regression which caused real names to be displayed as the page title instead of the alias as was addressed in thisQuestion bug report that has been completed.

I believe that the fix implimented in the bug report linked above does not remedy this, as I applied that fix to one of my local installs and the problem was still there.

I think the reason this happens is because the code that sets the page title as an alias gets that information from the structure_path object that is somehow tied to the breadcrumbs module, and the breadcrumbs module is absent when viewing the page content through tiki-print.php.

Possible solutions would include getting access to alias information through another way (generating a structure_path object on the fly if one does not exist), or perhaps simply generating breadcrumbs on the tiki-print.php page to have access to the object and setting their visibility to hidden.

Solution
r48509Question hopefully
Importance
4
Easy to solve?
7
Priority
28
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
4891
Created
Thursday 07 November, 2013 19:59:37 UTC
by jcarter
LastModif
Wednesday 27 November, 2013 22:28:54 UTC


Show PHP error messages