Loading...
 
Skip to main content

Plugin H5P Wiki Page Editor

Status
Pending
Subject
Plugin H5P Wiki Page Editor
Version
18.x
19.x
Category
  • Error
  • Regression
  • Usability
Feature
File Gallery (elFinder or standard UI)
Wiki Plugin (extends basic syntax)
Resolution status
Please retest
Submitted by
Jim Millican
Volunteered to solve
Jonny Bradley, luci
Lastmod by
Jim Millican, Jonny Bradley, luci
Rating
(1)
Related-to
Description

After placing a working H5P plugin on a wiki page, an edit button will appear directly below the H5P content for admins. This is similar to what appears when displaying the H5P content from the File Gallery, where it brings up the correct dialog for editing the H5P content.

However, on the wiki page, the edit button links to 'tiki-editpage.php' instead of 'tiki-ajax_services.php'. This causes the ajax popup to show the wiki page edit dialog, instead of the controller dialog. Using Chrome, I was able to test this, and the one change in the href field was able to pull up the correct dialog.

I am not able to create a show.t.o instance right now, but will create one ASAP.

If I were to hazard a guess, the issue would be in /lib/wiki-plugins/wikiplugin_h5p.php

Solution

This seems fine for me in both 19.x and 18.x so maybe this one just went away? (if i'm checking the right thing)

Nope (opens last referrer in the modal instead of the correct one for me), see my comment below.

Hopefully rev:68813 fixes it. (fingers crossed)

Workaround
Comment out line 198 in lib/smarty_tiki/function.query.php
Importance
5
Easy to solve?
5
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
6589
Created
Wednesday 07 March, 2018 15:49:44 UTC
by Jim Millican
LastModif
Thursday 24 January, 2019 21:54:53 UTC


Show PHP error messages