Good Day,
Would like to find out the following,
I have 3 PDF files that I would like to link to the motd.dtl file, once clicked it will open in a new Tab.
I went through all href style of link a file, but only keep getting Error 404.
I went and gave the folder and Files permission for all to read, write & Execute still no luck.
What am I mission that i can't open a pdf link in OTRS motd.dtl
I test my href in normal style browser it works in OTRS it does not, why is this and how do i get this to work.
Kind Regards,
Naglix
Hyperlink PDF on motd.dtl
Moderator: crythias
Hyperlink PDF on motd.dtl
System Info:
OTRS: 3.3.x
OS: Linux - Ubuntu
web services: Apache2
DB: postgre
OTRS: 3.3.x
OS: Linux - Ubuntu
web services: Apache2
DB: postgre
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: Hyperlink PDF on motd.dtl
Please show us the changes you've done...
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Re: Hyperlink PDF on motd.dtl
The Code below is the code I have now used to link the pdf in the motd.dtl file.
the href my be wrong for I'm still trying out some style to open the pdf in a new tab.
file:/// location/file.pdf
http://location/file.pdf
I have tried but not working
Regards,
Naglix
Code: Select all
<td width="45%">
<div class="Header">
<!-- Self Help AD -->
<h2>$Text{"Active Directory Self-Help Documentation"}</h2>
<p>
<ul>
<li>Please Read through the AD Self-help Document:
<li>AD Self-Help: <a href="PDF/AD_Selfservice_Enrollment.pdf" target="_blank">Enrollment</a>
<li>AD Self-Help: <a href="PDF/AD_Selfservice_Reset.pdf" target="_blank">Reset</a>
</ul>
</p>
</td>
</tr>
file:/// location/file.pdf
http://location/file.pdf
I have tried but not working
Regards,
Naglix
System Info:
OTRS: 3.3.x
OS: Linux - Ubuntu
web services: Apache2
DB: postgre
OTRS: 3.3.x
OS: Linux - Ubuntu
web services: Apache2
DB: postgre
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: Hyperlink PDF on motd.dtl
You should use and put the PDF files in <OTRS_HOME>/var/httpd/htdocs/PDF/
Code: Select all
<a href="$Config{"Frontend::WebPath"}/PDF/AD_Selfservice_Enrollment.pdf" target="_blank">Enrollment</a>
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Re: Hyperlink PDF on motd.dtl
Thank you Kindly for assistance reneeb, that did the trick.
Where is the documentation on this that one can have a more knowledge read through.
Kind Regards,
Naglix
Where is the documentation on this that one can have a more knowledge read through.
Kind Regards,
Naglix
System Info:
OTRS: 3.3.x
OS: Linux - Ubuntu
web services: Apache2
DB: postgre
OTRS: 3.3.x
OS: Linux - Ubuntu
web services: Apache2
DB: postgre