Create a page with password and video |
Post Reply | Page 123> |
Author | |
WattJet
Senior Member Joined: Jan 04 2016 Status: Offline Points: 256 |
Post Options
Thanks(0)
Posted: Sep 06 2020 at 5:40pm |
Hi, I want to create a page that can only be accessed with password. The page will have a video. Questions:
Thanks |
|
Hobby001
Admin Group Joined: Jun 05 2018 Location: Canada, Québec Status: Offline Points: 6209 |
Post Options
Thanks(0)
|
Create a new php page and add the packs (UserSpace01) to your site to manage password protection. |
|
Hobby001
Admin Group Joined: Jun 05 2018 Location: Canada, Québec Status: Offline Points: 6209 |
Post Options
Thanks(1)
|
Allways make a full project backup prior to modify your site.
|
|
WattJet
Senior Member Joined: Jan 04 2016 Status: Offline Points: 256 |
Post Options
Thanks(0)
|
Many thanks!. I'll start working on it
|
|
WattJet
Senior Member Joined: Jan 04 2016 Status: Offline Points: 256 |
Post Options
Thanks(0)
|
So, to make my life easier ( and the overall touch & feel consistent) I was considering to make this new page with the video based on one of the pages of the actual site. I have created a subdomain AND a new subdirectory in which this new video “page” will be saved. In this way, the regular site and this one for the video will remain completely independent and whatever I do here will not affect the regular site or saved info. The site would remain as it is now (mydatamygain.com) and the subdomain would be MDMGVideo.mydatamygain.com The page should have the same touch&feell as the standard site, so I thought I could use the structure of the "News" page I created based on the the sensode black template https://mydatamygain.com/actualites.htm , but with only one set of the sequence "anchor - FENETRE_MODAL -cadre" I would keep all the rest of the components -including the top menu and the languages-, and I would ensure that those links are directed to the regular page https://mydatamygain.com. I order to include the modifications in the htaccess that you recommend, the first step -I think- is to know what should go in that subdomain and subdirectory to achieve the above. So, Can I make a copy of the existing site, pass it to the subdiretory, delete all unnecessary files and keep just the actualites page –rename it to become then the new index page (for the video) and then modify the access file as you suggest? I am sure
that the above description is too crude, but something around that idea should
be possible? Edited by WattJet - Sep 07 2020 at 4:35pm |
|
Hobby001
Admin Group Joined: Jun 05 2018 Location: Canada, Québec Status: Offline Points: 6209 |
Post Options
Thanks(1)
|
The new page does not need to be an index.htm page.
You can use OE site explorer to create the new sub-directory. Then duplicate the news page and move the duplicate into the new directory allways using OE's site explorer. Therefore all OE utilities will know about this page and will be able to handle it. On the server side, your sub domain must be assigned to your subdirectory. |
|
WattJet
Senior Member Joined: Jan 04 2016 Status: Offline Points: 256 |
Post Options
Thanks(0)
|
So I created a folder -within oe site explorer- , cloned the actualites page, renamed it as video and put it in that folder. Then within that page got rid of everything except one cycle of anchor - FENETRE_MODAL -cadre. I got rid of the columns and only left the space and there I pasted a Video HTML 5 element. I uploaded the video to Project - Resources - Video files and the Video works well. Questions:
I can point the subdomain to the specific subdirectory in the server but I do not know how to "tie" the other two since from what I see, the video is a resource -therefore saved in the same Files(Image, Media, Video) folder of the oe site file, and I cannot find how to point this particular folder to the subdirectory in the server.Again thanks so much for all your guidance |
|
Hobby001
Admin Group Joined: Jun 05 2018 Location: Canada, Québec Status: Offline Points: 6209 |
Post Options
Thanks(0)
|
Use this element instead https://denislafrance.net/Element/ResponsiveHTML5Video.en-us.htm
use the Edit Media utility to fix the width for each proposed media. |
|
WattJet
Senior Member Joined: Jan 04 2016 Status: Offline Points: 256 |
Post Options
Thanks(0)
|
Thanks for that Hobby001 I had it already installed and running with the video adaptatif (you mentioned the element in previous posts) I am sorry to insist in the other question.
How do I point the Video folder that I created within the project to a different subdirectory in the server? Thanks again for all your guidance |
|
Hobby001
Admin Group Joined: Jun 05 2018 Location: Canada, Québec Status: Offline Points: 6209 |
Post Options
Thanks(0)
|
When you select the video file check External URL and point to your file
|
|
Post Reply | Page 123> |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |