Skip to content

using volt.img tag in INVO. #16247

Answered by s-ohnishi
emagus asked this question in Q&A
Dec 19, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

I believe the sample application invo is configured to put a set of downloaded files in the document root.
So, if you extract it to a directory placed in the document root like you did, various inconsistencies will occur.
for example,
this line

         ->handle($_SERVER['REQUEST_URI'])

changed to

         ->handle($_GET['_url'] ?? '/')

is required, otherwise the top page cannot be opened.

Other reasons for thinking that it is assumed to be placed directly in the document root are:
in the template,
The link to this top page is

<a class="navbar-brand" href="/">INVO</a>

I think you have to write it via url().
(For example,

{{ tag.a(url('/'), 'INVO', ['class':'navbar-brand']) }}

)

{% set…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@emagus
Comment options

Answer selected by emagus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants