Report an issue

Found a bug you'd like to tell us about?
 

 Here’s what to do…Login, Select an ‘Issue Category’ from below and click on the "New Issues” button.

 Please note that support questions will not be handled here. If you need hands on technical support please take out a subscription.

#49 – Plugin System - JCK Modal, breaks Joomla feature: Adds Suffix to URL

Posted in ‘ JCK Editor’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Saturday, 18 July 2015 10:46 BST
ggppdk

The created JDocument is always JDocumentHTML instead of the correct one (in the above example: JDocumentFeed)

thus the view.html.php is always used instead of the correct (in the above example: view.feed.php)

-- reason for this issue is because
Plugin System - JCK Modal
is forcing the creation of JDocument during the Joomla Event onAfterInitialise
by calling:
JHTML::_('behaviour...');

but the routing has not been done yet thus the  URL variable 'format' is not yet of correct value !

Solution move the JHTML::_('behaviour...');  in an event occuring later, e.g. onAfterRoute

Custom Fields
Server type
Window
Web server type
Apache
ARK product version
6.6.2
Joomla! version
3.4.3
PHP Version
ANY
Web browser
Firefox, Safari, Chrome, Opera, IE12, IE11, IE10, IE9
Errors log
 
Steps to replicate the issue
1. Enable plugin: Plugin System - JCK Modal 2. Enable Joomla parameter Add suffix to URL (this makes &format=[html|feed|...]) variable to be added as suffix of the url Try to view any non-HTML page e.g. http://domain/some-menu-alias.feed
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.
WebxSolution Ltd is not affiliated with or endorsed by the Joomla! Project or Open Source Matters. The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.

Copyright © 2009 - 2016 WebxSolution Ltd
Powered by JoomlaWired