Page 1 of 1
Simple script
Posted: Thu Jul 03, 2025 3:38 pm
by rinconcete
Hi, Is it possible that a script as simple as this one deconfigures an entire page? The script is this:
<a href="
https://www.rinconcete.com/files/document.pdf" target="_blank"><img src="images/pdf-icon.png" height=50px width=50px border="0"></a>
This is the desconfigured page:
https://rinconcete.com/page6.html
And this is a publish log no presents any problem.
Thank you.
Alex
Re: Simple script
Posted: Thu Jul 03, 2025 3:46 pm
by Pablo
There is an extra quote in
Code: Select all
<a href="https://www.rinconcete.com/files/amnistia_sentenciaTC_voto_particular_concepcion_espejel.pdf" target="_blank"">
Also, I am not sure why you need custom code for this? Can't you use normal links?
Re: Simple script
Posted: Thu Jul 03, 2025 4:56 pm
by rinconcete
Thank you Pablo:
I need a custom code, because I did not find in insert menu any proper extension to do what I would like.
The only extension I found is pdf objet, but i do not want to insert any objet in my page.
I would like a pdf button that informs the user they can download the pdf in a new page.
Alex.
Re: Simple script
Posted: Thu Jul 03, 2025 5:07 pm
by Pablo
All what your custom code does it add link to a pdf, you can also do this with the link tool. There is no need for custom code.
https://wysiwygwebbuilder.com/links.html
Re: Simple script
Posted: Thu Jul 03, 2025 6:36 pm
by rinconcete
I did not notice this code. It works perfectly.
Thank you again, Pablo.

))
Alex.