Bild anstelle von attachment link

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
smartys
Posts: 25
Joined: Mon Jun 23, 2014 3:39 pm

Bild anstelle von attachment link

Post by smartys »

Hallo

Wie ist es möglich ein Bild/Icon anstelle des attachment name/link anzuzeigen?

Entschuldige die vielen Anfänger Fragen, aber ich versuche das ganze mehr zu verstehen.

Grüsse
Thorsten
Posts: 15749
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Bild anstelle von attachment link

Post by Thorsten »

Hi,

geht schon, aber dan erscheinen u.U. mehrere Grafiken, du kannst ja immer mehrere Anhänge pro FAQ setzen.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
smartys
Posts: 25
Joined: Mon Jun 23, 2014 3:39 pm

Re: Bild anstelle von attachment link

Post by smartys »

Wo müsste ich das anpassen? "zur nächst höheren Kategorie zurück" möchte ich auch gerne durch ein icon ersetzen.
Thorsten
Posts: 15749
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Bild anstelle von attachment link

Post by Thorsten »

Hi,

hier für die Links zu den Attachments:

https://github.com/thorsten/phpMyFAQ/bl ... l.php#L167

Für die Kategorie nach oben:

https://github.com/thorsten/phpMyFAQ/bl ... ow.php#L75

Statt

Code: Select all

$PMF_LANG['msgCategoryUp']
einfach den <img> für deine Grafik.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
smartys
Posts: 25
Joined: Mon Jun 23, 2014 3:39 pm

Re: Bild anstelle von attachment link

Post by smartys »

So in etwa?

Code: Select all

<img src=\"/assets/img/back.png\" alt=\"back" /> ;
..klappt leider nicht
Thorsten
Posts: 15749
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Bild anstelle von attachment link

Post by Thorsten »

Hi,

muss schon in Anführungszeichen. ;-)

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
smartys
Posts: 25
Joined: Mon Jun 23, 2014 3:39 pm

Re: Bild anstelle von attachment link

Post by smartys »

Wie in Anführungszeichen?
Thorsten
Posts: 15749
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Bild anstelle von attachment link

Post by Thorsten »

Hi,

ach halt, das geht nicht. Das wäre ein größerer Umbau. Sorry.
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
smartys
Posts: 25
Joined: Mon Jun 23, 2014 3:39 pm

Re: Bild anstelle von attachment link

Post by smartys »

Wie gross? 8)
Thorsten
Posts: 15749
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Bild anstelle von attachment link

Post by Thorsten »

Hi,

das nicht mal eben in ein paar Minuten gemacht...

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply