4images Forum & Community
4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: sound on May 23, 2005, 10:03:39 AM
-
ich möchte auf den seiten index.php & categories.php einen zusätzlichen button "detail" einbauen mit der gleichen funktion wie das thumbnail hat.
kann mir jemand weiterhelfen? :D
is it possible to add a "detail" button on the pages index.php & categories.php with the same functions the thumbnail has?
kind regards ... sibylle
-
es ist nicht nötig in den PHP-Code einzugreifen...
falls ich dich richtige verstehen sollte, wird es eine einfache Template-Änderung auch bringen:
erstelle dein Button z.B. als
./templates/<deintemplate>/images/detail_button.gif
öffne:
./templates/<deintemplate>/thumbnail_bit.html
und füge diesen Code wo immer du auch möchtest ein:
<a href="./details.php?image_id={image_id}">
<img src="{template_url}/images/detail_button.gif" alt="Detail: {image_name}" />
</a>
-
@ matrix dit is ne gute idee
:P :P :P
werd ich mal einsetzen... :P
-
super - herzlichen dank für deine wertvolle hilfe! :D