Page 1 of 1
text dont float.
Posted: 06 Feb 2016, 02:07
by Ford
hi,
i use the gallery with joomla and cant find why my text dont float arround the picture.
{phocagallery view=category|categoryid=8|imageid=28|bordercolor=#ffffff|displayname=0|displaydetail=0|displaydownload=0|displaybuttons=0|float=left}
only the picture is at the left side. the same picture with plain html works fine.
its Joomla 3.4 with Blue-Point standard template.
what do i miss?
Ford
Re: text dont float.
Posted: 06 Feb 2016, 14:05
by Ford
Das plugin erzeugt aus dem oben aufgeführten Platzhalter folgenden Code:
Code: Select all
<div class="phocagallery-box-file pgplugin1" style="height:218px; width:218px;position:relative;float:left;margin: 5px;padding: 5px;">
<center>
<div class="phocagallery-box-file-first" style="height: 200px; width: 200px;">
<div class="phocagallery-box-file-second">
<div class="phocagallery-box-file-third">
<center style="margin-top: 10px;">
<a class="pg-modal-button" title="S.." href="http://....phocagallery/..humbs/phoc..2.jpg" rel="{handler: 'image', size: {x: 200, y: 150}, overlayOpacity: 0.3}">
<img class="pg-image" src="....ng2.jpg" alt=".."></a></center>
</div>
</div>
</div>
</center>
</div></div><div style="clear:both"> </div>
der letzte container erzeugt das Problem
- wie becomme ich den weg?
cu
nach der Suche nach dem container habe ich das gefunden:
viewtopic.php?f=1&t=33958
Die Bedingung war in meiner Version schon auskommentiert, nur die Zuweisung war aktiv.
ich habe bei mir auch
Code: Select all
line 1777 // $output .= '<div style="clear:both"> </div>';
auskommentiert und es geht.
cu
Re: [Solved] text dont float.
Posted: 06 Feb 2016, 18:35
by Benno
Prima!
Freundliche Grüße,
Benno
Re: text dont float.
Posted: 07 Feb 2016, 15:04
by Ford
Moin, vorerst reicht es aber ich werde mich wohl noch damit befassen müssen wenn ich andere Darstellungs Optionen nutzen will.
Das Problem dass zum auskommentieren der Bedingung geführt hat war ja umgedreht.
Die Bedingung um $imageid zu ergänzen müsste wohl gehen (if ($imageid > 0) wird ja schon zur Unterscheidung genutzt) ... durch fremden code zu graben mach ich nur wenn ich muss - jetzt muss ich nicht
.
cu
Re: text dont float.
Posted: 15 Feb 2016, 23:29
by frabu
Hi Benno,
I also have a problem with no floating text since updating to Phoca Gallery 4.2.2 with all the the images placed with Phoca Gallery Button Plugin. All the text appears below the image and is not floating. It's not only for new one but also for the older ones. What could be the reason?
Best regards
frabu
Re: text dont float.
Posted: 16 Feb 2016, 00:53
by Benno
@frabu
Try out this fix:
viewtopic.php?f=1&t=33958#p111490
Kind regards,
Benno
Re: text dont float.
Posted: 16 Feb 2016, 22:18
by gstockinger
Same problem for me - I also use single pictures surrounded by text. After plugin update it was not working anymore!
Thank you for pointing out how to make it working again (taking out the "//" so undoing last years "fix").
@Jan: Pls. make it working again - the request in the post last year might be useful for galleries displaying several images but not for displaying a single image. I think this was not the intended effect.
Re: text dont float.
Posted: 17 Feb 2016, 00:00
by frabu
Hello Benno,
thanks for your quick reply. The problem is solved, but I had to take out the "//" and undo the last years "fix". Thanks also to gstockinger for this good advice!
Best regards
frabu
Re: text dont float.
Posted: 17 Feb 2016, 00:53
by Benno
@gstockinger & frabu,
well done!
Kind regards,
Benno