Does anyone know if it's possible to render a view to open at an anchor tag in the middle of a page?
I want index.html
to open at id="xyz"
.
This is my Controller code:
View::renderTemplate('Folder/index.html', [
'array' => $array
]);
This throws an error:
View::renderTemplate('Folder/index.html#xyz', [
'array' => $array
]);