Joomla CMS #27397 #1514

wants to merge 1 commit into


None yet

4 participants


This is for CMS tracker id # 27397.

Link to tracker item:

The bug:
Template style doesn't show up if there's a space in the name tag of templateDetails.xml and the template is installed via the Discover feature

The pull request for the language strings is at:


Nick, can you change the title to "Joomla CMS #27397 ", add the problem the patch fixes and also a link to the tracker item. Just makes for a more informative entry in the changelog (and helps we reviews get to the info quickly). Thanks.


Yes, I updated the comment. Did you want me to add "the problem the patch fixes and also a link to the tracker item" within the title or is it OK within the comment?


What you've done is perfect, thanks!


You're welcome! Thanks for helping me out, too :)


@realityking realityking commented on the diff Sep 7, 2012
@@ -488,6 +488,15 @@ public function discover()
$manifest_details = JInstaller::parseXMLInstallFile(JPATH_SITE . "/templates/$template/templateDetails.xml");
+ if ($template != $manifest_details['name'])
+ {
realityking Sep 7, 2012 Member

We don't use JError in the platform anymore, instead use the JLog workaround. (There are a number of examples for this)


Woah. That's cool that does that.

OK, I'll research those things and try and get everything corrected this weekend. Thanks Rouven!


@nicksavov thanks for putting this together. I've marked it for the 12.3 milestone (a couple of months out). If you can get the style issues sorted out and the JError usage adjusted we'd love to get this merged into the platform. If you need help with anything feel free to ask here, or on the platform list.

I'm going to close this pull request for now. That doesn't mean it is being rejected, just that you need to work on it a little more. Please re-open it once you've got those things fixed up and it is ready to be reviewed again. Looking forward to getting it merged.

@LouisLandry LouisLandry closed this Oct 9, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment