? Success
Pull Request for # 7227

User tests: Successful: Unsuccessful:

avatar mbabker
mbabker
21 Jun 2015

See #7227 for details.

This catches if the value ends up being empty and restores the value returned from the lookup a few lines above this.


Hi there. Check this http://www.joomla.org/?template=
It looking not good in main Joomla site.
I have checked this at my projects - yea, looks like bad bug, when you add ?template after joomlasiteurl/

avatar mbabker mbabker - open - 21 Jun 2015
avatar mbabker mbabker - change - 21 Jun 2015
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 21 Jun 2015
Labels Added: ?
avatar zero-24 zero-24 - change - 21 Jun 2015
Category Libraries Templates (site)
avatar zero-24 zero-24 - change - 21 Jun 2015
The description was changed
Rel_Number 0 7227
Relation Type Pull Request for
Easy No Yes
avatar brianteeman
brianteeman - comment - 21 Jun 2015

This works as described BUT the issue still exists for a non-existant template
eg ?template=mbabker


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/7228.

avatar mbabker
mbabker - comment - 21 Jun 2015

Well, that's correct in some ways. Since we have the feature in there to change the template based on the query variable, the current system behavior is to fallback to beez3 if the requested template doesn't exist. Separate PR IMO, but if that situation is to be handled, then there should be a two level fallback which tries to use the site default template (if $requestTemplate !== $siteTemplate) then falls back to beez3.

avatar Fedik
Fedik - comment - 21 Jun 2015

test works here, except non-existent template

what about fallback to system template, that will render only component section, or also bad idea?

avatar mbabker
mbabker - comment - 21 Jun 2015

The fallback system requires a template style to be defined, the system template doesn't have one. One would need to investigate whether using it would cause an issue or not.

avatar Kubik-Rubik
Kubik-Rubik - comment - 21 Jun 2015

Please try my approach in #7229. Thanks!

avatar brianteeman
brianteeman - comment - 21 Jun 2015

Can this option be closed in favour of #7229 which is more complete


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/7228.

avatar brianteeman
brianteeman - comment - 23 Jun 2015

Closing as #7229 is RTC


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/7228.

avatar brianteeman brianteeman - change - 23 Jun 2015
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2015-06-23 07:58:27
Closed_By brianteeman
avatar brianteeman brianteeman - close - 23 Jun 2015
avatar brianteeman brianteeman - close - 23 Jun 2015
avatar mbabker mbabker - head_ref_deleted - 1 Oct 2015

Add a Comment

Login with GitHub to post a comment