5px Abstand unter Contentpart Bilder entfernen

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
User avatar
Heiko H.
Posts: 868
Joined: Thu 27. Oct 2005, 11:41
Location: Dresden
Contact:

5px Abstand unter Contentpart Bilder entfernen

Post by Heiko H. »

Hallo,

unter dem Contentpart Bilder wird ein "...<img src="img/leer.gif" width="1" height="5" alt="" />..." eingefügt.
Wo kann man diesen Spacer entfernen?

Ich verspreche hoch und heilig, lange die Forensuche bemüht zu haben, aber leider ohne Erfolg :(


Danke...
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

//images
"include/inc_tmpl/content/cnt2.inc.php"
Lines 26, 59

//image with text
"include/inc_tmpl/content/cnt1.inc.php"
Lines 110, 116, 156, 168, 197


Edit:
Should be:

//images
"include/inc_tmpl/content/cnt2.inc.php"
Lines 110, 116, 156, 168, 197

//image with text
"include/inc_tmpl/content/cnt1.inc.php"
Lines 26, 59
Last edited by DeXXus on Fri 23. Dec 2005, 19:43, edited 1 time in total.
User avatar
Heiko H.
Posts: 868
Joined: Thu 27. Oct 2005, 11:41
Location: Dresden
Contact:

Post by Heiko H. »

???????????????????????????????????????????????????????????

Ich will doch nicht das Layout des Backend`s verändern.

???????????????????????????????????????????????????????????

Ich will keinen Abstand zwischen z.Bsp.: 2 Contentparts Bilder.
Aber leider wird halt am Ende eines Contentparts Bilder ein 5px hoher Spacer eingefügt.
Ich habe leider nicht entdeckt, wo man diesen "verschwinden" lassen kann. Ich vermute mal, er ich irgendwo hardcodet, aber wo?

Hoffentlich hat jemand von euch mehr Plan als ich...
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

Es ist hardcoded in jenen genauen Akten und auf jenen genauen Linien.
User avatar
Heiko H.
Posts: 868
Joined: Thu 27. Oct 2005, 11:41
Location: Dresden
Contact:

Post by Heiko H. »

Hallo DeXXus,

ich lasse mich wirklich gern eines Besseren belehren, aber ich kann an besagten Stellen nichts entdecken.

//images
"include/inc_tmpl/content/cnt2.inc.php"

Line 26 ->

Code: Select all

$img_thumbs = '';
Line 59 ->

Code: Select all

$caption_box .= html_specialchars($content['image_list']['images'][$key][6])."\n";
aber nicht bloss an diesen Stellen sieht's nicht so aus, auch im Rest der Datei ist nichts zu entdecken, vielleichts liegt's ja aber auch an meinem amateurhaften Verständnis :(

Also, vielleicht kannst Du deinen Tip nochmal präzisieren??
Danke...
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

Schande auf mir, damit das Versuchen mit Google übersetzt!
Ich machte einen dummen Fehler. Ich überprüfte nicht oben auf meine Antworten. Ich stellte sie um:
Spät 1.2.6-DEV:

//images
"include/inc_tmpl/content/cnt2.inc.php"
Lines 110, 116, 156, 168, 197

Line 110
<tr><td style="padding-bottom:3px;"><img src="img/leer.gif" width="1" height="5"><br>'.$img_thumbs.'</td></tr>
Line 116
<tr><td colspan="2"><img src="img/leer.gif" width="1" height="5"></td></tr>
Line 156
<tr><td colspan="2"><img src="img/leer.gif" width="1" height="5"></td></tr>
Line 168
<tr><td colspan="2"><img src="img/leer.gif" width="1" height="5"></td></tr>
Line 197
<tr><td colspan="2"><img src="img/leer.gif" width="1" height="5"></td></tr>
//image with text
"include/inc_tmpl/content/cnt1.inc.php"
Lines 26, 59

Line 26
<tr><td colspan="2"><img src="img/leer.gif" width="1" height="5"></td></tr>
Line 59
<tr><td colspan="2"><img src="img/leer.gif" width="1" height="5"></td></tr>
User avatar
Heiko H.
Posts: 868
Joined: Thu 27. Oct 2005, 11:41
Location: Dresden
Contact:

Post by Heiko H. »

Hello again,
sorry, but this is still not what I`m looking for.

What you have told me is this:

Image

What I`m talking about is here at the frontend:

Image

The Output of the Contentpart images at the frontend comes along with a spacer of 5px height at the end.
This is the part I want to get rid of.

Thanks anyway and Merry Christmas
Heiko
Last edited by Heiko H. on Wed 5. Aug 2009, 10:01, edited 1 time in total.
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

More of the rendered source code would be needed to hunt it down.
User avatar
Heiko H.
Posts: 868
Joined: Thu 27. Oct 2005, 11:41
Location: Dresden
Contact:

Post by Heiko H. »

Hallo,

hab die Lösung selbst entdeckt.
Wenn man als "Abstand danach" -5 wählt, hat man den gewünschten Effekt.

Ciao Heiko...

Ach ja, erst die 5 und dann das "-" davor setzten...
Post Reply