Developer forum

Forum » Development » PDF icon and size

PDF icon and size


Reply

A PDF file is shown on the product page with an icon, the name of the PDF and the size.

Is there a whay that you could get the size of the PDF automatic?

Is there a whay to add an icon before the name without adding it in the edditor?

 

The hole problem is that on the site they have the size of the PDF and if the change the PDF the don't want to have to change all pages with the PDF.

 

Is it possible to do this?

 

 


Replies

 
Reply

1: Use a template extender for that and retreive the file size.

2: Embed the PDF icon in the template.

 
Reply
Sorensen wrote:

1: Use a template extender for that and retreive the file size.

2: Embed the PDF icon in the template.

Ok

The liks to the PDF is in the product description.

Can a do an extender that looks in the description text and replaces the PDF text or do I have to do it in another way?

 
Reply

You'ld have to find an an answer to this somewhere else. This is not DW related.

 

You must be logged in to post in the forum