|
|
Latest News |
Latest Threads |
|
 |
55.766 Posts & 4.945 Themen in 78 Foren |
|
|
|
 |
Forensuche |
|
Suchbegriff |
Benutzerauswahl |
Ergebnisse anzeigen |
 |
 |
Auftrag: Mobile Phpkit Version 158 Beiträge in diesem Thema |
|
|
 |
|
|
 |
|
 |
18.10.2016 - 19:47 Uhr |
|
|
|
Zitat Original geschrieben von DHH
Wenn du mal wieder ein paar Minuten Zeit hättest |
Genau - wenn ich mal die Zeit und Lust für finde. Müsste erstmal gucken ob das wirklich so wenig Aufwand ist .. ^^""
--
Was die Positionierung angeht ..
- Sorry, aber das muss sein:
Wenn ich auf der mobilen Seite bin, und den Quelltext angucke, steht im Head-Bereich das drin:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | | Quellcode <p align="center"><a href="http://m.deutscher-hip-hop.com/" target="_self"><img border="0" src="/bilder/logodhh.png" ></a> </p>
<!-- ONE STEP TO INSTALL PULLDOWN MENU:
1. Paste the code into the BODY of your HTML document -->
<!-- STEP ONE: Copy this code into the BODY of your HTML document -->
<BODY>
<!-- Original: Ricocheting (ricocheting@hotmail.com) -->
<!-- Web Site: http://free.prohosting.com/~ric -->
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<form name="jump">
<select name="menu" onChange="location=document.jump.menu.options[document.jump.menu.selectedIndex].value;" value="GO">
<option value="http://m.deutscher-hip-hop.com/">Home</option>
<option value="http://m.deutscher-hip-hop.com/?path=contentarchive&type=2">News</option>
<option value="http://m.deutscher-hip-hop.com/?path=contentarchive&catid=144">Alben</option>
<option value="http://m.deutscher-hip-hop.com/?path=movies">Videos</option>
<option value="http://m.deutscher-hip-hop.com/?path=contentarchive&type=3">Tourdates</option>
<option value="http://m.deutscher-hip-hop.com/?path=contentarchive&type=4">Downloads</option>
<option value="http://m.deutscher-hip-hop.com/?path=hiphopcharts">Charts</option>
<option value="http://m.deutscher-hip-hop.com/?path=rapfilme">Rapfilme</option>
<option value="http://m.deutscher-hip-hop.com/?path=search">Suche</option>
</select>
</form>
<div id="fsearch">
<form method="post" action="?path=search">
<input type="hidden" name="search" value="" />
<input class="search" type="text" name="search_text" size="30" value="Inhalte durchsuchen" onblur="if(value==''){value='Inhalte durchsuchen'}" onfocus="if(value=='Inhalte durchsuchen'){value =''}" /> <input class="search" type="submit" value="Los" />
</form>
</div>
</div> | |  |
Ich mein, die Suche kann ich verstehen das die an der falschen Stelle steht (HTML-technisch), aber den Jumper? Steht doch in der Anleitung darüber: "into the BODY".
Also, o.g. Code raus und innerhalb des BODY-Tag.
Der einfachheit halber hinter bzw. eine Zeile unterhalb von:
| Quellcode <body class="$bodyClass"> | |
Und wenn wir schon dabei sind:
| Quellcode <!-- STEP ONE: Copy this code into the BODY of your HTML document -->
<BODY> | |
wird zu:
| Quellcode <!-- STEP ONE: Copy this code into the BODY of your HTML document -->
<!--<BODY>--> | |
Sonst gibt es 2 BODY-Tags (erlaubt ist nur einer).
- Was die Position angeht:
Probier mal das:
- Suche das:
| Quellcode <div id="fsearch"> | |
Und mache daraus das:
| Quellcode <div id="fsearch" style="text-align: right;"> | |
- Suche das:
| Quellcode <form name="jump"> | |
Und mache daraus das:
| Quellcode <form name="jump" style="float: left;"> | |
Ging zumindest beim Live-Test auf der mobilen Seite 
- Die Suche muss auf "?path=search&mode=result" geleitet werden. Also wie folgt:
Suche das:
| Quellcode <form method="post" action="?path=search"> | |
Und mache daraus das:
| Quellcode <form method="post" action="?path=search&mode=result"> | |
|
|
|
|
|
|
|
 |
|
 |
19.10.2016 - 08:39 Uhr |
|
|
|
Guten morgen,
du hast natürlich vollkommen recht mit dem "Body". Ich hatte es auch erst an der richtigen stelle, doch dann erschien es immer nur im Footer, weshalb ich den Code in den Header machte.
Wenn ich dies ändere " <form name="jump" style="float: left;"> ", sieht es so aus:
Skaliert auf 550 x 343 Pixel
unbearbeitet sieht es so aus:
Skaliert auf 550 x 371 Pixel
Die Suche geht nun. Nur müsste für die Suche, die Sicherheitsgrafik deaktivieren werden. Hatte die mal über Nacht ausgeschaltet. Das Resultat, 18 neue Spam-Kommentare
Natürlich nur wenn du Zeit und Lust hast, will da auch gar nicht stressen. Freue mich ja sehr, das du mir soviel hilfst.
|
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von DHH - 19.10.2016 - 08:42 Uhr |
|
|
|
|
|
|
|
 |
|
 |
22.10.2016 - 14:21 Uhr |
|
|
|
Die Suche, will trotz Änderung, immer noch den Captcha. Das andere schaue ich mir morgen mal an.
|
|
|
|
|
|
|
 |
|
 |
22.10.2016 - 20:05 Uhr |
|
|
|
Dann probier mal zusätzlich noch das:
- pkinc/public/search.php
- Öffne o.g. Datei und suche das (~ Zeile 60-63):
| PHP-Quelltext if($ACTION!='view' && !pkCaptchaCodeValid($ENV->_post(pkCAPTCHAVARNAME)))
{
pkHeaderLocation('search','','error=securitycode_invalid&search_text='.urlencode($search_text).'&search_textoption='.$search_textoption.'&rorder='.$rorder.'&'.pkArrayUrlencode('search_type',$search_type));
} | |
Und mache daraus das:
| PHP-Quelltext # SecurityCheck Off :: Start
/*
if($ACTION!='view' && !pkCaptchaCodeValid($ENV->_post(pkCAPTCHAVARNAME)))
{
pkHeaderLocation('search','','error=securitycode_invalid&search_text='.urlencode($search_text).'&search_textoption='.$search_textoption.'&rorder='.$rorder.'&'.pkArrayUrlencode('search_type',$search_type));
}
*/
# SecurityCheck Off :: End | |
|
|
|
|
|
|
|
 |
|
 |
23.10.2016 - 08:48 Uhr |
|
|
|
Perfekt, so hat es auf Anhieb gepasst.
Wie gesagt, wenn du das mit der Movie hinbekommst, würde ich mich sehr freuen. Aber ist auch kein muss, bzw. du musst das auch nicht bis morgen machen. Wenn du einfach mal wirklich Zeit und Lust hast. Kann mich nur immer wieder für deine tolle Hilfe bedanken

|
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von DHH - 23.10.2016 - 08:50 Uhr |
|
|
|
|
|
|
|
 |
|
 |
26.10.2016 - 08:18 Uhr |
|
|
|
Ich habe schon etwas rumprobiert, aber scheinbar bisher noch nicht die richtige stelle gefunden. Ich würde gerne alle Bilder in der Aufmacher-Grafik:
Skaliert auf 550 x 177 Pixel
in 200px*200px anzeigen lassen. Da die Bilder oft etwas größer sein werden, wäre es gut, wenn dies automatisch skaliert wird (width="200" height="200").
|
|
|
|
|
|
|
 |
|
 |
27.10.2016 - 07:34 Uhr |
|
|
|
- pkinc/func/default.php
- Wichtig:
Bitte prüfe ob in o.g. Datei ( oder in einer anderen in diesen Ordner ) folgender Suchcode vorhanden ist:
| PHP-Quelltext Function ImageResize | |
Sollte o.g. Suchcode gefunden werden, kannste diesen mit den unten stehenden Code ersetzen ( ist dann wahrscheinlich noch eine ältere Variante von irgendwann mal ^^" ).
Ich sage das deshalb weil ich nicht (mehr) weiß ob irgendwann die Funktion ImageResize bei dir eingebaut wurde und es sonst zu einer Fehlermeldung ( oder gar weisen Seite ) kommt.
Kannst ja ggf. nochmal nachfragen wenn es Probleme gibt ^^"
--
Ansonsten, wie gehabt ..
Öffne o.g. Datei und suche das:
| PHP-Quelltext if(!defined('pkFRONTEND'))
die('Direct access to this location is not permitted.'); | |  |
Und füge darunter das ein:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 | | PHP-Quelltext # ImageResize (2014-07-20) :: Start
Function ImageResize($Source=NULL, $MaxWidth=NULL, $MaxHeight=NULL)
{
if (!IsSet($Source) || !Is_String($Source) || Trim($Source)=='' || !Is_File($Source))
{
Return;
}
List($Width, $Height)
=
GetImageSize($Source)
;
$NewWidth
=
IsSet ($MaxWidth)
&& Is_Numeric($MaxWidth)
&& Trim ($MaxWidth)!=''
? Intval ($MaxWidth)
: $Width
;
$NewHeight
=
IsSet ($MaxHeight)
&& Is_Numeric($MaxHeight)
&& Trim ($MaxHeight)!=''
? Intval ($MaxHeight)
: $Height
;
If ($MaxWidth > 0 && $MaxHeight > 0)
{
# MaxHöhe als MAX
If ($MaxWidth > $MaxHeight)
{
$NewWidth =Number_Format($Width * $MaxHeight / $Height, 0, ',', '.');
}
# MaxBreite als MAX
Else
{
$NewHeight =Number_Format($Height * $MaxWidth / $Width, 0, ',', '.');
}
}
Else
{
# Breite angegeben
If ($MaxWidth > 0)
{
$NewHeight =Number_Format($Height * $MaxWidth / $Width, 0, ',', '.');
}
# Bild höher als breit (Wide Hochkannt)
If ($MaxHeight > 0)
{
$NewWidth =Number_Format($Width * $MaxHeight / $Height, 0, ',', '.');
}
}
Return
Array(
0 =>$NewWidth,
1 =>$NewHeight,
'Width' =>$NewWidth,
'Height'=>$NewHeight,
);
}
# ImageResize (2014-07-20) :: End | |  |
- pkinc/admin/contentcompose.php
- Öffne o.g. Datei und suche das (Zeile ~105-108):
| PHP-Quelltext $contentid=$contentinfo['content_id'];
$cont_title=$contentinfo['content_title'];
$cont_teaser=$contentinfo['content_teaser'];
$cont_related=$contentinfo['content_related']; | |
Und füge darunter das ein:
| PHP-Quelltext # ImageResize -> Teaser :: Start
$cont_teaser_path ='../'.$cont_teaser;
$cont_teaser_dim =ImageResize($cont_teaser_path, 200, 200);
$cont_teaser_width =Intval($cont_teaser_dim[0]);
$cont_teaser_height =Intval($cont_teaser_dim[1]);
# ImageResize -> Teaser :: End | |
- pkinc/admintpl/content/compose_step4.htm
- Öffne o.g. Datei und suche das (Zeile ~12):
| Quellcode <input type="text" name="cont_teaser" size="40" class="w90" value="$cont_teaser" /> | |
Und füge darunter das ein:
| Quellcode <!-- # ImageResize -> Teaser :: Start -->
<img src="$cont_teaser_path" width="$cont_teaser_width" height="$cont_teaser_height" title="Aufmacher-Grafik" alt="Aufmacher-Grafik" />
<!-- # ImageResize -> Teaser :: End --> | |
|
|
|
|
|
|
|
 |
|
 |
28.10.2016 - 09:15 Uhr |
|
|
|
Hmm, hat sich irgendwie nichts verändert. Die erste Zeile ist bei mir auch nicht vorhanden.
Manche Bilder sind in der Größe 100px * 100px, die sollten aber trotzdem als 200px angezeigt werden.
|
|
|
|
|
|
|
 |
|
 |
28.10.2016 - 10:12 Uhr |
|
|
|
Außerdem versuche ich irgendwie, den Links aus der Überschrift zu bekommen (Artikel, Links und Downloads).

Bei News ist der gar nicht drin und so hätte ich das auch gerne.

|
|
|
|
|
|
|
 |
|
 |
28.10.2016 - 21:10 Uhr |
|
|
|
Zitat Original geschrieben von DHH
Hmm, hat sich irgendwie nichts verändert. Die erste Zeile ist bei mir auch nicht vorhanden. |
Von welcher nicht-vorhandenen Zeile in welcher Datei reden wir denn? 
Zitat Original geschrieben von DHH
Manche Bilder sind in der Größe 100px * 100px, die sollten aber trotzdem als 200px angezeigt werden. |
Ich hab ein bisschen probiert, und für gewöhnlich zuviel Zeit für gebraucht, und die Funktion umgeschrieben. Es sollte in der Standard-Einstellung alle Bilder auf ~200*200px bringen ( je nach Seitenverhältnis ist die Breite oder Höhe 200px, das andere drunter / drüber ). Bei bedarf kann aber auch eingestellt werden das die Bilder bis maximal bzw. ab mindestens X*X Pixel skaliert werden sollen. Mehr dazu weiter unten.
Hier erstmal die ganzen Änderungen:
- pkinc/func/default.php
- Öffne o.g. Datei und suche das ( ausgehend vom vorherigen Post ):
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 | | PHP-Quelltext # ImageResize (2014-07-20) :: Start
Function ImageResize($Source=NULL, $MaxWidth=NULL, $MaxHeight=NULL)
{
if (!IsSet($Source) || !Is_String($Source) || Trim($Source)=='' || !Is_File($Source))
{
Return;
}
List($Width, $Height)
=
GetImageSize($Source)
;
$NewWidth
=
IsSet ($MaxWidth)
&& Is_Numeric($MaxWidth)
&& Trim ($MaxWidth)!=''
? Intval ($MaxWidth)
: $Width
;
$NewHeight
=
IsSet ($MaxHeight)
&& Is_Numeric($MaxHeight)
&& Trim ($MaxHeight)!=''
? Intval ($MaxHeight)
: $Height
;
If ($MaxWidth > 0 && $MaxHeight > 0)
{
# MaxHöhe als MAX
If ($MaxWidth > $MaxHeight)
{
$NewWidth =Number_Format($Width * $MaxHeight / $Height, 0, ',', '.');
}
# MaxBreite als MAX
Else
{
$NewHeight =Number_Format($Height * $MaxWidth / $Width, 0, ',', '.');
}
}
Else
{
# Breite angegeben
If ($MaxWidth > 0)
{
$NewHeight =Number_Format($Height * $MaxWidth / $Width, 0, ',', '.');
}
# Bild höher als breit (Wide Hochkannt)
If ($MaxHeight > 0)
{
$NewWidth =Number_Format($Width * $MaxHeight / $Height, 0, ',', '.');
}
}
Return
Array(
0 =>$NewWidth,
1 =>$NewHeight,
'Width' =>$NewWidth,
'Height'=>$NewHeight,
);
}
# ImageResize (2014-07-20) :: End | |  |
Und mache daraus das:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 | | PHP-Quelltext # ImageResize (2016-10-28) :: Start
Function ImageResize($Source=NULL, $NewWidth=NULL, $NewHeight=NULL, $Option=NULL)
{
If (!IsSet($Source) || !Is_String($Source) || Trim($Source)=='' || !Is_File($Source))
{
Return;
}
List($Width, $Height)
=
GetImageSize($Source)
;
$NewWidth
=
IsSet ($NewWidth)
&& Intval($NewWidth)>=0
? Intval($NewWidth)
: NULL
;
$NewHeight
=
IsSet ($NewHeight)
&& Intval($NewHeight)>=0
? Intval($NewHeight)
: NULL
;
$CurrentWidth
=
$NewWidth > 0
? $NewWidth
: $Width
;
$CurrentHeight
=
$NewHeight > 0
? $NewHeight
: $Height
;
If (IsSet($Option) && Is_String($Option) && Trim($Option)!='')
{
$Option=StrToLower(Trim($Option));
}
If ($NewWidth > 0 && $NewHeight > 0)
{
# Breite __und__ Höhe wurden gesetzt
$Case
=
$NewWidth > $NewHeight
? 21 # gesetzte Breite __größer__ als Höhe
: 22 # gesetzte Breite __kleiner/gleich__ als Höhe
;
}
Else
{
# Breite __oder__ Höhe wurde gesetzt
If ($NewWidth > 0)
{
$Case=11; # Breite wurde gesetzt
}
If ($NewHeight > 0)
{
$Case=12; # Höhe wurde gesetzt
}
}
Switch ($Option)
{
Case 'min':
If ($Case===21 || $Case===22)
{
If ($Width > $NewWidth)
{
$CurrentWidth =$Width;
$CurrentHeight =$Height;
}
Else
{
If ($Width > $Height)
{
$CurrentWidth =Number_Format($Width * $NewHeight / $Height, 0, ',', '.');
$CurrentHeight =$NewHeight;
}
Else
{
$CurrentWidth =$NewWidth;
$CurrentHeight =Number_Format($Height * $NewWidth / $Width, 0, ',', '.');
}
}
}
If ($Case===11)
{
If ($Width > $NewWidth)
{
$CurrentWidth =$Width;
$CurrentHeight =$Height;
}
Else
{
$CurrentWidth =$NewWidth;
$CurrentHeight =Number_Format($Height * $NewWidth / $Width, 0, ',', '.');
}
}
If ($Case===12)
{
If ($Height > $NewHeight)
{
$CurrentWidth =$Width;
$CurrentHeight =$Height;
}
Else
{
$CurrentWidth =Number_Format($Width * $NewHeight / $Height, 0, ',', '.');
$CurrentHeight =$NewHeight;
}
}
Break;
Case 'max':
If ($Case===21 || $Case===22)
{
If ($Width > $NewWidth)
{
If ($Width > $Height)
{
$CurrentWidth =$NewWidth;
$CurrentHeight =Number_Format($Height * $NewWidth / $Width, 0, ',', '.');
}
Else
{
$CurrentWidth =Number_Format($Width * $NewHeight / $Height, 0, ',', '.');
$CurrentHeight =$NewHeight;
}
}
Else
{
$CurrentWidth =$Width;
$CurrentHeight =$Height;
}
}
If ($Case===11)
{
If ($Width > $NewWidth)
{
$CurrentWidth =$NewWidth;
$CurrentHeight =Number_Format($Height * $NewWidth / $Width, 0, ',', '.');
}
Else
{
$CurrentWidth =$Width;
$CurrentHeight =$Height;
}
}
If ($Case===12)
{
If ($Height > $NewHeight)
{
$CurrentWidth =Number_Format($Width * $NewHeight / $Height, 0, ',', '.');
$CurrentHeight =$NewHeight;
}
Else
{
$CurrentWidth =$Width;
$CurrentHeight =$Height;
}
}
Break;
Default:
If ($Case===21)
{
$CurrentWidth =Number_Format($Width * $NewHeight / $Height, 0, ',', '.');
}
If ($Case===22)
{
$CurrentHeight =Number_Format($Height * $NewWidth / $Width, 0, ',', '.');
}
If ($Case===11)
{
$CurrentHeight =Number_Format($Height * $NewWidth / $Width, 0, ',', '.');
}
If ($Case===12)
{
$CurrentWidth =Number_Format($Width * $NewHeight / $Height, 0, ',', '.');
}
Break;
}
Return
Array(
0 =>$CurrentWidth,
1 =>$CurrentHeight,
'Width' =>$CurrentWidth,
'Height'=>$CurrentHeight,
);
}
# ImageResize (2016-10-28) :: End | |  |
- Optional ( damit das Bild unterhalb des Eingabefeld steht ):
pkinc/admintpl/content/compose_step4.htm
- Öffne o.g. Datei und suche das (Zeile ~12):
| Quellcode <!-- # ImageResize -> Teaser :: Start -->
<img src="$cont_teaser_path" width="$cont_teaser_width" height="$cont_teaser_height" title="Aufmacher-Grafik" alt="Aufmacher-Grafik" />
<!-- # ImageResize -> Teaser :: End --> | |
Und mache daraus das:
| Quellcode <!-- # ImageResize -> Teaser :: Start -->
<br />
<img src="$cont_teaser_path" width="$cont_teaser_width" height="$cont_teaser_height" title="Aufmacher-Grafik" alt="Aufmacher-Grafik" />
<!-- # ImageResize -> Teaser :: End --> | |
- pkinc/admin/contentcompose.php
- In o.g. Datei ist ja jetzt dieser Code zu finden:
| PHP-Quelltext # ImageResize -> Teaser :: Start
$cont_teaser_path ='../'.$cont_teaser;
$cont_teaser_dim =ImageResize($cont_teaser_path, 200, 200);
$cont_teaser_width =Intval($cont_teaser_dim[0]);
$cont_teaser_height =Intval($cont_teaser_dim[1]);
# ImageResize -> Teaser :: End | |
Und mache daraus das:
| PHP-Quelltext # ImageResize -> Teaser :: Start
$cont_teaser_path ='../'.$cont_teaser;
$cont_teaser_dim
=
ImageResize(
$cont_teaser_path, # Pfad zum Bild
200, # Breite in px
200, # Höhe in px
NULL # Optional: NULL = Bilder auf o.g. Breite*Höhe setzen
# 'max' = Bilder auf maximal o.g. Breite und oder Höhe setzen
# 'min' = Bilder auf mind. o.g. Breite und oder Höhe setzen
);
$cont_teaser_width =Intval($cont_teaser_dim[0]);
$cont_teaser_height =Intval($cont_teaser_dim[1]);
# ImageResize -> Teaser :: End | |
Ich hab in oberen Code per # TEXT ein paar Kommentare hinterlassen. Ich denke aber nicht das du irgendwie nochmal ran wollen würdest - höchstens zum rumprobieren ;p
--
Zitat Original geschrieben von DHH
Außerdem versuche ich irgendwie, den Links aus der Überschrift zu bekommen (Artikel, Links und Downloads).

Bei News ist der gar nicht drin und so hätte ich das auch gerne.
|
Was das angeht:
- Artikel:
- pkinc/publictpl/content/articles_textlink_head.htm
- Öffne o.g. Datei und suche das:
| Quellcode <a class="heads" href="?path=content&contentid=$contentinfo[content_id]&catid=$contentinfo[content_cat]&themeid=$contentinfo[content_themeid]"> $content_title</a> | |
Und mache daraus das:
| Quellcode <!--<a class="heads" href="?path=content&contentid=$contentinfo[content_id]&catid=$contentinfo[content_cat]&themeid=$contentinfo[content_themeid]"> $content_title</a>-->
$content_title | |
- Downloads:
- pkinc/publictpl/content/download_textlink.htm
- Öffne o.g. Datei und suche das:
| Quellcode <a class="heads" href="?path=download&contentid=$contentinfo[content_id]&catid=$contentinfo[content_cat]&themeid=$contentinfo[content_themeid]"> $contentinfo[content_title]</a> | |
Und mache daraus das:
| Quellcode <!--<a class="heads" href="?path=download&contentid=$contentinfo[content_id]&catid=$contentinfo[content_cat]&themeid=$contentinfo[content_themeid]"> $contentinfo[content_title]</a>-->
$contentinfo[content_title] | |
- Links / Tourdates:
- Keine Ahnung - gibt es dort ein Problem?

|
|
|
|
|
|
|
 |
|
 |
30.10.2016 - 09:16 Uhr |
|
|
|
Hat das bei dir funktioniert, mit der Aufmachhergrafik?
Auch bei der neuesten Änderung, bleiben sie bei 100*100
Mit dem Link entfernen hat geklappt.
Mit "Links" meinte ich, dass auch dort der Link weg soll, sowie die Überschrift:
Skaliert auf 550 x 75 Pixel
1. Link aus der Überschrift
2. Komplett weg
|
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von DHH - 30.10.2016 - 09:19 Uhr |
|
|
|
|
|
|
|
 |
|
 |
30.10.2016 - 15:37 Uhr |
|
|
|
Zitat Original geschrieben von DHH
Hat das bei dir funktioniert, mit der Aufmachhergrafik? |
Naja, ich würds ja nicht posten wenn es nicht klappen würde ^^" Hab jeden möglichen Fall ( alle drei Optionen [ max, mind., neu skalieren ] mit vier verschiedenen großen Bildern durchgegangen ) bei mir lokal getestet ( weswegen der Code etwas größer wurde ) 
Zitat Original geschrieben von DHH
Auch bei der neuesten Änderung, bleiben sie bei 100*100 |
Wenn du diese Stelle hier ..
| PHP-Quelltext $cont_teaser_dim
=
ImageResize(
$cont_teaser_path, # Pfad zum Bild
200, # Breite in px
200, # Höhe in px
NULL # Optional: NULL = Bilder auf o.g. Breite*Höhe setzen
# 'max' = Bilder auf maximal o.g. Breite und oder Höhe setzen
# 'min' = Bilder auf mind. o.g. Breite und oder Höhe setzen
); | |
.. in Zeile 5 und 6 nicht angepasst hast, dann sollte es eigentlich auf die ~200*200px neu skaliert werden.
Wie sieht denn die Bildgröße von dir aus? Ist es denn 100*100px?
Du könntest ja mal folgendes probieren:
- pkinc/admin/contentcompose.php
Wenn du dann im AdminCenter > Inhalte > *Inhalt wo Aufmacher-Grafik sein soll öffnen* > zu Step 4 gehen bist sollte in etwa sowas erscheinen ( in grünen Rahmen ):
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | | Quellcode Test-Script:
------------
GetImageSize() ....... =
array(7) {
[0]=>
int(12)
[1]=>
int(15)
[2]=>
int(1)
[3]=>
string(22) "width="12" height="15""
["bits"]=>
int(2)
["channels"]=>
int(3)
["mime"]=>
string(9) "image/gif"
}
$cont_teaser_path .... = ../images/movie/info.gif
$cont_teaser_dim ..... =
Array
(
[0] => 200
[1] => 250
[Width] => 200
[Height] => 250
)
$cont_teaser_dim[0] .. = 200 // Variable vorhanden -- Typ ist Zahl
$cont_teaser_dim[1] .. = 250 // Variable vorhanden -- Typ ist Zahl
$cont_teaser_width ... = 200
$cont_teaser_height .. = 250 | |
Sollte z.B. im unteren Bereich das Wort NICHT erscheinen - tja .. das hätte so nicht sein sollen und so ^^"
Zitat Original geschrieben von DHH
Mit "Links" meinte ich, dass auch dort der Link weg soll, sowie die Überschrift:
Skaliert auf 550 x 75 Pixel
1. Link aus der Überschrift
2. Komplett weg |
Ah, achso.
Öhm .. Könntest da mal die Templates pkinc/publictpl/content/overview_links_linkbox.htm posten? Hab das grad nicht parat mit den Änderungen von damals 
|
|
|
|
|
|
|
 |
|
 |
31.10.2016 - 08:12 Uhr |
|
|
|
Werde nachher mal ein wenig rumprobieren.
|
|
|
|
|
|
|
 |
|
 |
01.11.2016 - 20:34 Uhr |
|
|
|
- pkinc/publictpl/content/overview_links_linkbox.htm
- Öffne o.g. Datei und suche folgendes:
| Quellcode <font class="big"><a href="$link"><b>$contentinfo[content_title]</b></a></font> | |
| Quellcode <font class="big">$contentinfo[content_title]</font><br /> | |
Und entferne beides, oder mache daraus das (auskommentieren):
| Quellcode <!--<font class="big"><a href="$link"><b>$contentinfo[content_title]</b></a></font>--> | |
| Quellcode <!--<font class="big">$contentinfo[content_title]</font><br />--> | |
Was die Inhalts-/ Video-Suche angeht .. Ich konnt es bei mir im Prinzip zusammenführen. Im Grunde werden einfach die gefundenen Videos unterhalb ( oder oberhalb, je nachdem was im Template zuerst positioniert wird ) angefügt. Sofern jetzt noch relevant sein sollte ( ich geh von aus ) müsste man nochmal wegen der Seitenanzeige gucken - weiss noch gar nicht wie man das ab blödestens machen könnte ^^"
|
|
|
|
|
|
|
 |
|
|
 |
Ähnliche Themen |
|
|
|
|
|
|
|
|