embedding views in pages
Hello again!
I've hit another snag...
There is a template for the internal page. Depending on the page, it displays different background images and other content, text, etc. A content type has been created for the pages. Now, there are 5-6 different views, some of which should be displayed on pages with corresponding images.
Question: what would be the best approach? :)
Of course, I could stuff something into the view header, but then to change the image, I'd have to dig deep and edit the HTML manually - I don't like that solution.
I would like to create an additional field in the content type where I can specify the name of the view needed for display!
Is this even possible, and how can I do it?
Or could I somehow attach 2-3 additional fields to the view that the page template would process and display everything?
I really hope I've described the problem clearly. Is it feasible?
The third option is to somehow display a content block with the results of the required view depending on the page.
Hardcode in the template, for example, if URL1 (or the page title) - display this view, if URL2 - another one.
Again, I'm not sure I can name all the necessary ones right now! I want the ability to manage this through the admin panel.
And I don't understand how to call the required view from the template code?
I would appreciate any guidance/tips.
Best regards,
Artem
PS I had an idea - for the material types for views, add a field to upload the required image by default, and in the view template, take this image and place it in the desired location? It all seems a bit clunky and convoluted.
How should it be done correctly?