|
Community Stats
- Group Members
- Active Posts 60 ( per day)
- Profile Views 4159
- Member Title Advanced Member
- Age Age Unknown
- Birthday Birthday Unknown
-
Gender
Not Telling
Contact Information
0
Neutral
Friends
Entangled hasn't added any friends yet.
Posts I've Made
In Topic: Inserting Video Player Instead Of A Link
02 October 2014 - 11:07 PM
Yes, CS-Cart V3 Pro with a purchased theme, but, that shouldn't matter ... maybe the theme guys dinked with the core causing .tpl overrides not to work, but, why would they do such a thing?
In Topic: Inserting Video Player Instead Of A Link
02 October 2014 - 01:36 PM
Should work vs does work are two different things ... again, I am running CS-Cart V3. Here's the path:
skins/THEME_NAME/customer/addons/my_changes/overrides/views/products/components
The permissions were 666 ... they are now 777:
-rwxrwxrwx 1 OWNER GROUP 953 Oct 1 00:39 product_files.tpl
And here's the change:
<a href="{"orders.get_file?file_id=`$file.file_id`&preview=Y"|fn_url}"><strong>{$file.file_name} Override</strong></a>
If I make the same change to:
skins/THEME_NAME/customer/views/products/components/product_files.tpl (it has 666 permissions)
it works ...
Is the path to the changed product_files.tpl correct?
skins/THEME_NAME/customer/addons/my_changes/overrides/views/products/components
The permissions were 666 ... they are now 777:
-rwxrwxrwx 1 OWNER GROUP 953 Oct 1 00:39 product_files.tpl
And here's the change:
<a href="{"orders.get_file?file_id=`$file.file_id`&preview=Y"|fn_url}"><strong>{$file.file_name} Override</strong></a>
If I make the same change to:
skins/THEME_NAME/customer/views/products/components/product_files.tpl (it has 666 permissions)
it works ...
Is the path to the changed product_files.tpl correct?
In Topic: Inserting Video Player Instead Of A Link
01 October 2014 - 06:14 AM
Well, I thought that would do it ... it didn't ... I failed to mention, I need to override product_files.tpl in V3 ... I copied the original to:
skins/THEME_NAME/customer/addons/my_changes/overrides/views/products/components/product_files.tpl
and simply added "OVERRIDE" to the link statement ... cleared cache ... it didn't show up next to the file_name. I did the same to the original file and it worked.
So obviously, I have the changed product_files.tpl in the wrong place or have it named wrong.
I appreciate the help.
skins/THEME_NAME/customer/addons/my_changes/overrides/views/products/components/product_files.tpl
and simply added "OVERRIDE" to the link statement ... cleared cache ... it didn't show up next to the file_name. I did the same to the original file and it worked.
So obviously, I have the changed product_files.tpl in the wrong place or have it named wrong.
I appreciate the help.
In Topic: Inserting Video Player Instead Of A Link
30 September 2014 - 11:04 PM
That should do it ... thank you.
In Topic: Inserting Video Player Instead Of A Link
29 September 2014 - 08:24 PM
The Product is a downloadable file which is available only after successful payment ...
The Product Preview is shown on the Product page as a link:
<a href="{"orders.get_file?file_id=`$file.file_id`&preview=Y"|fn_url}"><strong>{$file.file_name}</strong></a>
The link is in product_file.tpl ... when the link is clicked, the Customer is prompted to download the Preview file.
I want to change this link to a Video Player which plays the Preview instead of downloading it. The Player will require some javascript to be added to the <head> and the <a> link will change to <video> ... but, I am not sure how to properly do it so future upgrades don't wipe out my changes ...
The Product Preview is shown on the Product page as a link:
<a href="{"orders.get_file?file_id=`$file.file_id`&preview=Y"|fn_url}"><strong>{$file.file_name}</strong></a>
The link is in product_file.tpl ... when the link is clicked, the Customer is prompted to download the Preview file.
I want to change this link to a Video Player which plays the Preview instead of downloading it. The Player will require some javascript to be added to the <head> and the <a> link will change to <video> ... but, I am not sure how to properly do it so future upgrades don't wipe out my changes ...
- CS-Cart Community Forums
- > Viewing Profile: Posts: Entangled