Forums / General Questions / Can you help me please

Can you help me please

Locked

Views: 478

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
11 Aug 2010, 1:10 PM
#1
pjlarambla avatar

pjlarambla

New Zenner

Join Date:
Jun 2010
Posts:
58
Plugin Contributions:
0

Can you help me please

Hi,

Can any one help me please I am having great problems with Ezpages I have read about them but are still having problems understanding about them.

I have created a page which I am get in my header

The problem I am having is, I want to create a link to a pdf file I have uploaded to Images in my root, I want this file to open so the customer can read or print it or download it. I have done a small write up in ezpages. I then state click on the following link, which is my .pdf file, I have created loads of what I think is the right link in the htlm page of ezpages but when I click on my header the page opens O.K. but when I click on the highlighted file that is myfile.pdf I go strait back to my main page. I just can not for the life of me fathom out what internal url I should be entering into the editor when I click on add a link.

Please Please help, I am sorry if this has already been asked but I can not find it my eyes are going silly with keep reading.

11 Aug 2010, 2:07 PM
#2
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Can you help me please

Links inside text just need to follow basic HTML code rules.

<a href="PATH_TO_RESOURCE">My PDF</a>

In your case, as the RESOURCE is a PDF file in the main images folder, your PATH should look something like this...

<a href="/images/your-pdf-filename.pdf">My PDF</a>

The PATH in this example is RELATIVE, because the link is internal - it is pointing to a directory (images) on your server.

However, if this does not activate the file (or give the viewer a file-save popup) you could try an ABSOLUTE PATH:

<a href="http://www.yourwebsite.com/images/your-pdf-filename.pdf">My PDF</a>

If you are being taken to another page when the link is clicked, then the PATH is faulty...

20 years a Zencart User

11 Aug 2010, 2:36 PM
#3
pjlarambla avatar

pjlarambla

New Zenner

Join Date:
Jun 2010
Posts:
58
Plugin Contributions:
0

Re: Can you help me please

Hi,

Thanks for that School boy, but have now sorted it while I was waiting for someone to reply, I think I have followed your rules, but it was just trying to puzzle it out at time, gets very frustraiting when things just do not happen but many thanks