Simple script

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
rinconcete
 
 
Posts: 46
Joined: Thu Apr 22, 2021 10:00 am

Simple script

Post 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
User avatar
Pablo
 
Posts: 23621
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Simple script

Post 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?
rinconcete
 
 
Posts: 46
Joined: Thu Apr 22, 2021 10:00 am

Re: Simple script

Post 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.
User avatar
Pablo
 
Posts: 23621
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Simple script

Post 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
rinconcete
 
 
Posts: 46
Joined: Thu Apr 22, 2021 10:00 am

Re: Simple script

Post by rinconcete »

I did not notice this code. It works perfectly.

Thank you again, Pablo. :)))

Alex.
Post Reply