Open link in new window possible?

Phoca Guestbook - creating guestbooks in Joomla! CMS
lukeriches
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 10 Apr 2010, 13:50

Open link in new window possible?

Post by lukeriches »

English Description:

Hi there.

Im a new user to phoca guestbook and i have a simple question.

Users have the ability to post their websites within the guestbook and in general these links open in the same window.

I would like to have the links open in a new window instead in the same window.

Is this possible and if so, where can i change the code for this functionality?

I appreciate any help on this subject. Thanks in advance.

:|

Deutsche Beschreibung:

Hallo Ihr.

Ich verwende seit kurzem das phoca Gästebuch und habe eine kleine Frage.

Bei Einträgen kann man ja auch Links angeben, entweder im Formular oder dem Texteintrag selbst. Diese Links werden dann nach Aufruf im selben Fenster geöffnet.

Ich würde aber gerne, daß diese Links beim Aufrufen in einem neuen Fenster geöffnet werden.

Ist dies möglich und wenn ja, wo und wie kann ich dies realisieren?

Vielen Dank im Voraus für jegliche Hilfe.

:|
lukeriches
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 10 Apr 2010, 13:50

Re: Open link in new window possible?

Post by lukeriches »

does nobody know, what to do?

:idea:
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48736
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Open link in new window possible?

Post by Jan »

Hi, you need to add target="_blank" to the a tag in the code. Search this forum, there is guide how to customize the code.

Jan
If you find Phoca extensions useful, please support the project
lukeriches
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 10 Apr 2010, 13:50

Re: Open link in new window possible?

Post by lukeriches »

Thx for the reply, Jan.

I know that i have to add a target tag to the code.

But could you maybe point me in the right direction, where to find that code?

There are loads of files in this component and all the customization posts in this forum have not been a discussion to this special topic.

I would really appreciate your help at this.

Thanks in advance for any input.

:)
pajuba
Phoca Member
Phoca Member
Posts: 13
Joined: 26 Mar 2010, 13:22

Re: Open link in new window possible?

Post by pajuba »

Habe das gleiche Problem und würde mich freuen wenn hier jemand die Lösung des Problems bekannt geben könnte!
pajuba
Phoca Member
Phoca Member
Posts: 13
Joined: 26 Mar 2010, 13:22

Re: Open link in new window possible?

Post by pajuba »

Hier findet Ihr die Läsung für das Problem:

viewtopic.php?f=2&t=3865

Gruß

pajuba 8)
Post Reply