ce7 Posted October 8, 2018 Share Posted October 8, 2018 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 Link to comment Share on other sites More sharing options...
ce7 Posted October 8, 2018 Author Share Posted October 8, 2018 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 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 More sharing options...
♥raiwa Posted October 8, 2018 Share Posted October 8, 2018 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. About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
ce7 Posted October 8, 2018 Author Share Posted October 8, 2018 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.