Shape 5

Joomla Free Templates => Design Control - Free => : AIPNZ February 12, 2014, 06:21:01 AM



: Template Design Control have coflict with Phocagallery
: AIPNZ February 12, 2014, 06:21:01 AM
I use template Design Control in my local machine and my result with Phoca Gallery is not good (mosaic is not working; see attach).

(http://image.openlan.ru/images/53360650699288071916.png)

I am not specialist, but i find this file s5_flex_menu.js
Can you research part of script which not compatible with PG (attached file files.mail.ru/54B870652D6A40EB8A29DA5A8F1EDCE2)?

I don't know where is conflict? Please help me to find compromise.

If I delete this block then Phoca Gallery works, but menu does not.
:
this.subMenuZindex=1;
      this.initialize(options);
      this.stretch();
      this.killDivider();
      this.center();
      this.fixHasLayoutBug();


: Re: Template Design Control have coflict with Phocagallery
: mikek February 12, 2014, 08:34:42 AM
Hello,

That's an issue with the height of each of those sections. You would need to contact the extension's developer about this, the template does not control this; they should be providing their own css for their layout.


: Re: Template Design Control have coflict with Phocagallery
: AIPNZ February 12, 2014, 11:04:01 PM
Unfortunatelly they don't know how to fix it.

I speake with them  (http://www.phoca.cz/forum/viewtopic.php?f=1&t=25050&sid=ebdff4cffb6d6a46506627e2a0f9e233&start=20)

Gallery work with other template, but not with S5 DC. I am not specialist and I can not find and repair this trouble.


: Re: Template Design Control have coflict with Phocagallery
: mikenicoll February 12, 2014, 11:12:45 PM
Hello,

As stated the issue is with a 3rd party extension and not related to our products. The extension and its CSS are completely providing that output. That is not something we can provide support on.

-Mike


: Re: Template Design Control have coflict with Phocagallery
: manuelawei January 04, 2015, 05:49:49 PM
Hello,

As stated the issue is with a 3rd party extension and not related to our products. The extension and its CSS are completely providing that output. That is not something we can provide support on.

-Mike

There is a solution for this issue. In the SITEFOLDER/templates/design_control/css/com_content.css find the rules for .item, .items-leading and remove or comment the clear:both line. This worked fine for me. Anyway I'm not quite sure if there are any side effects when removing that particular line.
On the other hand an extensions developer can do styling as much as he wants and it will not take effect if the floating  designed by the extensions developer is overridden by a "clear" command. And the output of phoca gallery works well with other templates and of course with this workaround too. (Yes I know development is not easy.)
Hopefully this helps somebody.
And it would be nice to know how important the mentioned "clear:both" statement is.

Kind regards to you all and thank you for your excellent work.


: Re: Template Design Control have coflict with Phocagallery
: mikek January 05, 2015, 08:41:09 AM
Hello,

The clear:both lines is there for default Joomla articles. The component not be sharing class names with com_content. It should be using its own class names to avoid issues like this.