Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

Strange Volt file generated after extending "main.volt" --> "main.volt_e"

I've extending a pretty ordinary "main.volt" file. The "settings.volt" file (derived from "main.volt") looks fine in the file but it renders in a somewhat nested way. I've checked my code but can't see any reason why this should be happening. As a result of this checking, I noticed a strange file generated by Phalcon. If I delete it from the cache folder, Phalcon simply regenerates it. Here is the file contents. Any idea what this file is about and might it explain the problem I am seeing with the nesting? Thanks.

a:5:{s:3:"nav";a:5:{i:0;a:4:{s:4:"type";i:357;s:5:"value";s:140:"

  <div class="contain-to-grid">
    <nav class="top-bar" data-topbar>

      <ul class="title-area">
        <li class="name">

          ";s:4:"file";s:59:"/mae/www/html/host_ui/public/../app/views/layouts/main.volt";s:4:"line";i:9;}i:1;a:4:{s:4:"type";i:359;s:4:"expr";a:5:{s:4:"type";i:350;s:4:"name";a:4:{s:4:"type";i:265;s:5:"value";s:5:"image";s:4:"file";s:59:"/mae/www/html/host_ui/public/../app/views/layouts/main.volt";s:4:"line";i:9;}s:9:"arguments";a:2:{i:0;a:3:{s:4:"expr";a:4:{s:4:"type";i:260;s:5:"value";s:24:"public/img/meru_logo.png";s:4:"file";s:59:"/mae/www/html/host_ui/public/../app/views/layouts/main.volt";s:4:"line";i:9;}s:4:"file";s:59:"/mae/www/html/host_ui/public/../app/views/layouts/main.volt";s:4:"line";i:9;}i:1;a:4:{s:4:"expr";a:4:{s:4:"type";i:260;s:5:"value";s:9:"flex-logo";s:4:"file";s:59:"/mae/www/html/host_ui/public/../app/views/layouts/main.volt";s:4:"line";i:9;}s:4:"name";s:5:"class";s:4:"file";s:59:"/mae/www/html/host_ui/public/../app/views/layouts/main.volt";s:4:"line";i:9;}}s:4:"file";s:59:"/mae/www/html/host_ui/public/../app/views/layouts/main.volt";s:4:"line";i:9;}s:4:"file";s:59:"/mae/www/html/host_ui/public/../app/views/layouts/main.volt";s:4:"line";i:19;}i:2;a:4:{s:4:"type";i:357;s:5:"value";s:205:"

        </li>

        <!--Provides hamburger menu icon on collapse-->
        <li class="toggle-topbar menu-icon"><a href="#">Menu</a></li>
      </ul>

      <section class="top-bar-section">

        ";s:4:"file";s:59:"/mae/www/html/host_ui/public/../app/views/layouts/main.volt";s:4:"line";i:19;}i:3;a:4:{s:4:"type";i:359;s:4:"expr";a:4:{s:4:"type";i:350;s:4:"name";a:5:{s:4:"type";i:46;s:4:"left";a:4:{s:4:"type";i:265;s:5:"value";s:8:"elements";s:4:"file";s:59:"/mae/www/html/host_ui/public/../app/views/layouts/main.volt";s:4:"line";i:19;}s:5:"right";a:4:{s:4:"type";i:265;s:5:"value";s:7:"getMenu";s:4:"file";s:59:"/mae/www/html/host_ui/public/../app/views/layouts/main.volt";s:4:"line";i:19;}s:4:"file";s:59:"/mae/www/html/host_ui/public/../app/views/layouts/main.volt";s:4:"line";i:19;}s:4:"file";s:59:"/mae/www/html/host_ui/public/../app/views/layouts/main.volt";s:4:"line";i:19;}s:4:"file";s:59:"/mae/www/html/host_ui/public/../app/views/layouts/main.volt";s:4:"line";i:26;}i:4;a:4:{s:4:"type";i:357;s:5:"value";s:41:"

      </section>

    </nav>
  </div>

";s:4:"file";s:59:"/mae/www/html/host_ui/public/../app/views/layouts/main.volt";s:4:"line";i:26;}}i:0;s:2:"

";s:7:"content";a:3:{i:0;a:4:{s:4:"type";i:357;s:5:"value";s:4:"

  ";s:4:"file";s:59:"/mae/www/html/host_ui/public/../app/views/layouts/main.volt";s:4:"line";i:30;}i:1;a:4:{s:4:"type";i:359;s:4:"expr";a:4:{s:4:"type";i:350;s:4:"name";a:4:{s:4:"type";i:265;s:5:"value";s:7:"content";s:4:"file";s:59:"/mae/www/html/host_ui/public/../app/views/layouts/main.volt";s:4:"line";i:30;}s:4:"file";s:59:"/mae/www/html/host_ui/public/../app/views/layouts/main.volt";s:4:"line";i:30;}s:4:"file";s:59:"/mae/www/html/host_ui/public/../app/views/layouts/main.volt";s:4:"line";i:32;}i:2;a:4:{s:4:"type";i:357;s:5:"value";s:2:"

";s:4:"file";s:59:"/mae/www/html/host_ui/public/../app/views/layouts/main.volt";s:4:"line";i:32;}}i:1;s:2:"

";s:2:"js";a:9:{i:0;a:4:{s:4:"type";i:357;s:5:"value";s:4:"

  ";s:4:"file";s:59:"/mae/www/html/host_ui/public/../app/views/layouts/main.volt";s:4:"line";i:36;}i:1;a:4:{s:4:"type";i:359;s:4:"expr";a:5:{s:4:"type";i:350;s:4:"name";a:4:{s:4:"type";i:265;s:5:"value";s:18:"javascript_include";s:4:"file";s:59:"/mae/www/html/host_ui/public/../app/views/layouts/main.volt";s:4:"line";i:36;}s:9:"arguments";a:1:{i:0;a:3:{s:4:"expr";a:4:{s:4:"type";i:260;s:5:"value";s:45:"public/bower_components/jquery/dist/jquery.js";s:4:"file";s:59:"/mae/www/html/host_ui/public/../app/views/layouts/main.volt";s:4:"line";i:36;}s:4:"file";s:59:"/mae/www/html/host_ui/public/../app/views/layouts/main.volt";s:4:"line";i:36;}}s:4:"file";s:59:"/mae/www/html/host_ui/public/../app/views/layouts/main.volt";s:4:"line";i:36;}s:4:"file";s:59:"/mae/www/html/host_ui/public/../app/views/layouts/main.volt";s:4:"line";i:37;}i:2;a:4:{s:4:"type";i:357;s:5:"value";s:3:"
  ";s:4:"file";s:59:"/mae/www/html/host_ui/public/../app/views/layouts/main.volt";s:4:"line";i:37;}i:3;a:4:{s:4:"type";i:359;s:4:"expr";a:5:{s:4:"type";i:350;s:4:"name";a:4:{s:4:"type";i:265;s:5:"value";s:18:"javascript_include";s:4:"file";s:59:"/mae/www/html/host_ui/public/../app/views/layouts/main.volt";s:4:"line";i:37;}s:9:"arguments";a:1:{i:0;a:3:{s:4:"expr";a:4:{s:4:"type";i:260;s:5:"value";s:55:"public/bower_components/foundation/js/foundation.min.js";s:4:"file";s:59:"/mae/www/html/host_ui/public/../app/views/layouts/main.volt";s:4:"line";i:37;}s:4:"file";s:59:"/mae/www/html/host_ui/public/../app/views/layouts/main.volt";s:4:"line";i:37;}}s:4:"file";s:59:"/mae/www/html/host_ui/public/../app/views/layouts/main.volt";s:4:"line";i:37;}s:4:"file";s:59:"/mae/www/html/host_ui/public/../app/views/layouts/main.volt";s:4:"line";i:43;}i:4;a:4:{s:4:"type";i:357;s:5:"value";s:58:"

  <script>
    $(document).foundation();
  </script>

  ";s:4:"file";s:59:"/mae/www/html/host_ui/public/../app/views/layouts/main.volt";s:4:"line";i:43;}i:5;a:4:{s:4:"type";i:359;s:4:"expr";a:5:{s:4:"type";i:350;s:4:"name";a:4:{s:4:"type";i:265;s:5:"value";s:18:"javascript_include";s:4:"file";s:59:"/mae/www/html/host_ui/public/../app/views/layouts/main.volt";s:4:"line";i:43;}s:9:"arguments";a:1:{i:0;a:3:{s:4:"expr";a:4:{s:4:"type";i:260;s:5:"value";s:21:"public/js/mc_utils.js";s:4:"file";s:59:"/mae/www/html/host_ui/public/../app/views/layouts/main.volt";s:4:"line";i:43;}s:4:"file";s:59:"/mae/www/html/host_ui/public/../app/views/layouts/main.volt";s:4:"line";i:43;}}s:4:"file";s:59:"/mae/www/html/host_ui/public/../app/views/layouts/main.volt";s:4:"line";i:43;}s:4:"file";s:59:"/mae/www/html/host_ui/public/../app/views/layouts/main.volt";s:4:"line";i:44;}i:6;a:4:{s:4:"type";i:357;s:5:"value";s:3:"
  ";s:4:"file";s:59:"/mae/www/html/host_ui/public/../app/views/layouts/main.volt";s:4:"line";i:44;}i:7;a:4:{s:4:"type";i:359;s:4:"expr";a:5:{s:4:"type";i:350;s:4:"name";a:4:{s:4:"type";i:265;s:5:"value";s:18:"javascript_include";s:4:"file";s:59:"/mae/www/html/host_ui/public/../app/views/layouts/main.volt";s:4:"line";i:44;}s:9:"arguments";a:1:{i:0;a:3:{s:4:"expr";a:4:{s:4:"type";i:260;s:5:"value";s:17:"public/js/main.js";s:4:"file";s:59:"/mae/www/html/host_ui/public/../app/views/layouts/main.volt";s:4:"line";i:44;}s:4:"file";s:59:"/mae/www/html/host_ui/public/../app/views/layouts/main.volt";s:4:"line";i:44;}}s:4:"file";s:59:"/mae/www/html/host_ui/public/../app/views/layouts/main.volt";s:4:"line";i:44;}s:4:"file";s:59:"/mae/www/html/host_ui/public/../app/views/layouts/main.volt";s:4:"line";i:46;}i:8;a:4:{s:4:"type";i:357;s:5:"value";s:2:"

";s:4:"file";s:59:"/mae/www/html/host_ui/public/../app/views/layouts/main.volt";s:4:"line";i:46;}}}


83.4k
Accepted
answer

It's ok, extended views are translated to this format to allow further processing by the engine



22.6k

OK, thanks for this clarification.