Loading...
 
Skip to main content

Typo in templates/print/print-object_wiki.tpl

Status
Open
Subject
Typo in templates/print/print-object_wiki.tpl
Version
29.x
Category
  • Bug
Feature
Print
Resolution status
New
Submitted by
Trog
Lastmod by
Trog
Rating
(0)
Description

"comment" has been mis-typed as "commnet" breaking printing of comments


templates/print/print-object_wiki.tpl.orig 2025-10-16 09:01:15.930801102 +0100 +++ templates/print/print-object_wiki.tpl 2025-10-16 09:01:32.169999825 +0100

@@ -1,6 +1,6 @@

{if $prefs.feature_page_title ne 'n'}<h1>{$info.pageName}</h1>{/if} <div class="wikitext">{$info.parsed}</div> -<div id="comment-container-{$info.page_id|escape}" data-bs-target="{service controller=commnet action=list type="wiki page" objectId=$info.pageName}"></div> +<div id="comment-container-{$info.page_id|escape}" data-bs-target="{service controller=comment action=list type="wiki page" objectId=$info.pageName}"></div>


var id = '#comment-container-{{$info.page_id}}';
$(id).comment_load($(id).data('bs-target'));

Importance
5
Easy to solve?
10 easy
Priority
50
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
8838
Created
Thursday 16 October, 2025 09:06:00 UTC
by Trog
LastModif
Thursday 16 October, 2025 09:06:00 UTC


Show PHP error messages