Hi
if you insert code in to the article with phocagallery plugin (example: {phocagallery view=category|categoryid=1|limitstart=0|limitcount=0|type=1} ), images are not correctly clearfixed - I mean div is not cleared (because of left align of mosaic images).
Please add clearfix div in to he generate mosaic images in to the plugin.
BUG - description:
Phoca gallery clearfix problem - plugin in article (mosaic)
-
- Phoca Member
- Posts: 22
- Joined: 25 Oct 2008, 20:04
- Jan
- Phoca Hero
- Posts: 47865
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phoca gallery clearfix problem - plugin in article (mosa
Hi, which version of the plugin you are running?
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 22
- Joined: 25 Oct 2008, 20:04
Re: Phoca gallery clearfix problem - plugin in article (mosa
Hi
I am using latest version of Joomla (3.4.1) and latest version (4.1.2) of phoca and phoca plugin - it was tested with protostar and beez3 (standard joomla) templates, everywhere same result.
In the plugin you have some "clear" tags, but they are not working properly. It is always good test plugins or modules with standard joomla templates.
Temporary workaround is to use in template css: ".phocagallery { display:table; clear: both; }" after this modification inserted text in the article has correct position - as desired. But it will be better to have extra clear (div) tag in the inserted plugin code (in article) like "<div class="clearfix"> </div>".
Thanks
Radovan
I am using latest version of Joomla (3.4.1) and latest version (4.1.2) of phoca and phoca plugin - it was tested with protostar and beez3 (standard joomla) templates, everywhere same result.
In the plugin you have some "clear" tags, but they are not working properly. It is always good test plugins or modules with standard joomla templates.
Temporary workaround is to use in template css: ".phocagallery { display:table; clear: both; }" after this modification inserted text in the article has correct position - as desired. But it will be better to have extra clear (div) tag in the inserted plugin code (in article) like "<div class="clearfix"> </div>".
Thanks
Radovan
- Jan
- Phoca Hero
- Posts: 47865
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phoca gallery clearfix problem - plugin in article (mosa
Hi, try to open the plugin code:
plugins/content/phocagallery/phocagallery.php
and try to edit cca line 1771
FROM:
TO:
And let me know it is OK.
Jan
plugins/content/phocagallery/phocagallery.php
and try to edit cca line 1771
FROM:
Code: Select all
if ($float == '') {
$output .= '<div style="clear:both"> </div>';
}
Code: Select all
//if ($float == '') {
$output .= '<div style="clear:both"> </div>';
//}
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 22
- Joined: 25 Oct 2008, 20:04
Re: Phoca gallery clearfix problem - plugin in article (mosa
Hi Jan,
Yes, your modification works as desired. Now is output correctly displayed. Thanks for modification.
Please add this change in to the content plugin as standard part of Phoca plugin.
R.
Yes, your modification works as desired. Now is output correctly displayed. Thanks for modification.
Please add this change in to the content plugin as standard part of Phoca plugin.
R.
- Jan
- Phoca Hero
- Posts: 47865
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phoca gallery clearfix problem - plugin in article (mosa
Ok
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 1
- Joined: 17 Apr 2016, 08:37
Re: Phoca gallery clearfix problem - plugin in article (mosa
Hello.
I have a problem with float my images by text. I heard this solution can help for problem with float. I'm afraid, this solution is not working on my site. Single photo in article, Joomla 3.4.8, Phoca 4.2.2. and float not working
I have a problem with float my images by text. I heard this solution can help for problem with float. I'm afraid, this solution is not working on my site. Single photo in article, Joomla 3.4.8, Phoca 4.2.2. and float not working
- Jan
- Phoca Hero
- Posts: 47865
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phoca gallery clearfix problem - plugin in article (mosa
Hi, do you get the problem when you use standard template? Which plugin you exactly run?
Jan
Jan
If you find Phoca extensions useful, please support the project