V
V
Vladimir Kokhan2020-11-26 09:05:41
Laravel
Vladimir Kokhan, 2020-11-26 09:05:41

How to edit static pages?

Good day everyone.
There are static pages that are stored in the views/pages folder. Question - is it possible to access them from the admin panel for editing?
Anyone who has done this please share your experience.
Thanks

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry, 2020-12-03
@SkazochNick

file_get_content() ?

P
pLavrenov, 2020-11-29
@pLavrenov

The option is simple, you need to take any editor that you like best, load the text of the file into it, edit it and save it in the same way as in a regular one. The only difference is that you need to clear the view cache after saving.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question