4images Forum & Community

4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: Allround on February 08, 2015, 10:53:20 AM

Title: categories.php
Post by: Allround on February 08, 2015, 10:53:20 AM
Hallo,

Ich möchte in der "categories.php" den einzelnen Thumbnail einen Rahmen verpassen und habe dementsprechend angepasst.
Da php nicht so meine Stärke ist habe ich die Zeile hier mal eingefügt um zu fragen, ob das so richtig eingefügt ist oder ob da ein Fehlerchen drin ist. Es geht um die Thumbnail Zeile mit "td".

Code: [Select]
 }
    $thumbnails .= "<td width=\"".$imgtable_width."\" valign=\"top\" style=\"border:solid #D6F1FC thin;\">\n";

Beste Grüße
Title: Re: categories.php
Post by: nobby on February 08, 2015, 07:46:27 PM
Hallo,

das hat doch nichts mit PHP zu tun.

Das kannst Du in den HTML Template Anpassen.

Du setzt BORDER auf 1 bzw. die stärke die Du möchtest.

categories.html
{header}
<table width="640" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td>
      <table width="100%" border="0" cellspacing="0" cellpadding="0" class="tablehead">
        <tr>
          <td width="100%" colspan="4"><table cellpadding="0" cellspacing="0" width="100%">
    <tr>
        <td width="6"><img src="{template_url}/images/header_top_left.gif" width="6" height="6" alt="" /></td>
        <td width="100%"><img src="{template_url}/images/header_top.gif" width="100%" height="6" alt="" /></td>
<td width="6"><img src="{template_url}/images/header_top_right.gif" width="6" height="6" alt="" /></td>
    </tr>
</table>
</td>

nobby
Title: Re: categories.php
Post by: Jan-Lukas on February 09, 2015, 07:51:05 PM
Auch eine Möglichkeit
http://www.4homepages.de/forum/index.php?topic=27725.0