Jump to content

 

Entangled

Member Since 10 Oct 2011
Offline Last Active Oct 03 2014 06:13 PM
-----

Topics I've Started

Inserting Video Player Instead Of A Link

29 September 2014 - 03:39 PM

Hello,

I need to override the Preview file link in product_file.tpl with code that inserts a video player instead.

The link:

<a href="{"orders.get_file?file_id=`$file.file_id`&preview=Y"|fn_url}"><strong>{$file.file_name}</strong></a>

I can "force" it by changing the .tpl, but, that will get wiped out on a upgrade.

I have used addons/my_changes/ for CSS changes, but, I haven't used it for a .tpl override. I have looked through the Doc, but, the pre, post, override naming has me at a lost.

Thank you.