I created a folder in sites/default/files/pdf-uploads (I'm not married to this location). The client will have direct FTP access to this folder, where he will be able to upload and delete PDFs.
I want to create a page called "PDF Uploads" which displays a list table of all PDF files that are in in the pdf-uploads folder. So when the user deletes or adds a file, this will either add/delete the row in the table. The table just needs basic information: date it was uploaded, name, and download button.
I have 2 content types: ContentType1 and ContentType2. After filling out the fields for ContentType2 and clicking the save button, I have been asked to redirect to ContentType1 page using setRedirect in the hook_form_alter().
So I have used something like this, but the redirect does not work:
function mymodule_form_alter(&$form, FormStateInterface $form_state, $form_id) {
I decided to start my own youtube clone so I could put all sports videos from YT to my own clone website and from there I will link the videos to my articles.
sadly he doesn't accept me as it doesn't know my own clone website.
What must I do so it will accept my website?
Does anybody have the contact of Josh Caldwell de developer?