Preview link problem

OpenKM a de nombreuses fonctionnalités interessantes, mais demande un minimum de configuration pour être pleinement exploité.

Moderator: dedisoft

Forum rules
Avant de poser une question, merci de regarder la documentation du wiki ou d'utiliser la fonction recherche du forum. Et rappelez vous que nous n'avons ni boule de cristal ni possibilité de lire dans les pensées, aussi pensez à spécifier quelle version d'OpenKM vous utilisez ainsi que la version du navigateur web et du système d'exploitation. Pour de plus amples informations lisez Comment reporter un bug efficacement (anglais).
Post Reply
welcomeweb
Junior Boarder
Junior Boarder
Posts: 23
Joined: Mon Jun 15, 2015 3:51 pm

Preview link problem

Post by welcomeweb » Mon Jan 11, 2016 4:19 pm

Good day,
sorry for my english.
I have a PDF file with a list of links, the links go to other files hosted on OpenKM (img 1).
1.JPG
If i click on a link by preview, i open the link in the preview area, not in all page (img 2).
2.JPG
How can i resolve this issue?

Best regards

Elena

jllort
Moderator
Moderator
Posts: 9110
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: Preview link problem

Post by jllort » Wed Jan 13, 2016 3:44 pm

You need the html editor feature which write specific url for this kind of jump. You can check in our demo.openkm.com

welcomeweb
Junior Boarder
Junior Boarder
Posts: 23
Joined: Mon Jun 15, 2015 3:51 pm

Re: Preview link problem

Post by welcomeweb » Fri Jan 15, 2016 7:54 am

I tried to assign target on link (blank, parent, ecc), but no change the result.

jllort
Moderator
Moderator
Posts: 9110
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: Preview link problem

Post by jllort » Sun Jan 17, 2016 11:17 am

For the feature you are looking for - actually only present with HTML Editor extension in professional - the key is to set url as javascript method. The code should something like.

Code: Select all

<a onclick="javascript:parent.jsOpenPathByUuid('894ed816-5107-4ba6-99c4-4228f424f3ae');" href="javascript:void(0);">New Text Document.txt</a>
Where the uuid is the document node.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest