Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Hi

Can someone please help?

I had modified the banner header image slice addon to header video.
Have 2 questions need help:
Q1
@ catalog/includes/modules/content/header/templates/video.php
<div class ="header video" video="https://www.youtube.com/watch?v=....">
How I can change the video URL to another php file, eg, video_list.php
As I want to have that file been modified at the admin, so the website owner can change their own video link.
Q2 @ catalog/includes/modules/content/header/templates/video.php
within the same file, where can I include the
<script src="js/jquery-3.2.1.min.js"></script>
<link href="css/style.css" rel="stylesheet">
to make the script been called? Or do I need to put the statement somewhere else?

@raiwa

I had installed your shop by price addon, it is great, thank you very much!
As I am not familiar with the new BS yet, not sure where to modify the skin and template. With the shop by price, it is next to your another addon skype call, how can I move the search box to be on the left of the shop by price, and have the header video appear next to the right of the LOGO (blue rose)?

Many thanks!  Lyn

image.png.fdd079efff93f18f0c90f81422cca2e1.png

 

Link to comment
Share on other sites

53 minutes ago, ce7 said:

Hi

Can someone please help?

I had modified the banner header image slice addon to header video.
Have 2 questions need help:
Q1
@ catalog/includes/modules/content/header/templates/video.php
<div class ="header video" video="https://www.youtube.com/watch?v=....">
How I can change the video URL to another php file, eg, video_list.php
As I want to have that file been modified at the admin, so the website owner can change their own video link.
Q2 @ catalog/includes/modules/content/header/templates/video.php
within the same file, where can I include the
<script src="js/jquery-3.2.1.min.js"></script>
<link href="css/style.css" rel="stylesheet">
to make the script been called? Or do I need to put the statement somewhere else?

@raiwa

I had installed your shop by price addon, it is great, thank you very much!
As I am not familiar with the new BS yet, not sure where to modify the skin and template. With the shop by price, it is next to your another addon skype call, how can I move the search box to be on the left of the shop by price, and have the header video appear next to the right of the LOGO (blue rose)?

Many thanks!  Lyn

image.png.fdd079efff93f18f0c90f81422cca2e1.png

 

Self answer for Q2 for people who may needed:

Tried @ catalog/includes/template_top.php, includes all the link href and script! It works! 😁 Now trying to solve Q1.....

Link to comment
Share on other sites

5 hours ago, ce7 said:

 

@raiwa

I had installed your shop by price addon, it is great, thank you very much!
As I am not familiar with the new BS yet, not sure where to modify the skin and template. With the shop by price, it is next to your another addon skype call, how can I move the search box to be on the left of the shop by price, and have the header video appear next to the right of the LOGO (blue rose)?

In admin => modules edit the modules and play with the sort order and width.

Link to comment
Share on other sites

3 minutes ago, raiwa said:

In admin => modules edit the modules and play with the sort order and width.

Manage to put the video on the header, the reason it did not work is because the css/script location i used ../ext/js/, the correct one should be just ext/js/

However still have problem to make the video place next to the right position.

@raiwa

I will give it a try to place the order, and width and see if it can all be in right position. Thanks again!

Lyn

header-02.png.16e2e2d151e8715636ff43beae3d503e.png

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...