text dont float.

Phoca Gallery plugins - plugins for Phoca Gallery extension
Ford
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 06 Feb 2016, 01:34

text dont float.

Post 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? :idea:

Ford
Last edited by Ford on 07 Feb 2016, 14:44, edited 2 times in total.
Ford
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 06 Feb 2016, 01:34

Re: text dont float.

Post 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

Code: Select all

<div style="clear:both"> </div>
- 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
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9435
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: [Solved] text dont float.

Post by Benno »

Prima! :twisted:

Freundliche Grüße,
Benno
Ford
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 06 Feb 2016, 01:34

Re: text dont float.

Post 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 :wink: .
cu
frabu
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 15 Feb 2016, 23:13

Re: text dont float.

Post 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
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9435
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: text dont float.

Post by Benno »

@frabu
Try out this fix: viewtopic.php?f=1&t=33958#p111490

Kind regards,
Benno
gstockinger
Phoca Member
Phoca Member
Posts: 10
Joined: 21 Aug 2009, 13:51

Re: text dont float.

Post 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.
frabu
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 15 Feb 2016, 23:13

Re: text dont float.

Post 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
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9435
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: text dont float.

Post by Benno »

@gstockinger & frabu,
well done! :twisted:

Kind regards,
Benno
Post Reply