Results 1 to 3 of 3

Thread: additional section code

  1. #1
    User
    Join Date
    10-12-13.
    Posts
    103

    Default additional section code

    Hello!
    I have one problem with adding new section code to fe_bootstrap.html5 template!
    In layout have added new section MainTop, but I must to add it directly to html5 template.
    when I add it on frontend get error!
    Here is my addition code

    HTML Code:
    <?php $this->block('id-08-MainTop'); ?> 
    <?php if ($this->id-08-MainTop): ?> 
    <?= $this->id-08-MainTop ?> 
    <?php endif; ?> 
    <?php $this->endblock(); ?>
    any solution for it!?
    Thank's & Regards all of you!

  2. #2
    Community-Moderator xchs's Avatar
    Join Date
    06-19-09.
    Posts
    1,232

    Default

    PHP Code:
    <?php $this->section('MainTop'); ?>
    Contao Community Moderator
    → Support options

  3. #3
    User
    Join Date
    10-12-13.
    Posts
    103

    Default

    :-) great!
    you are the best!
    thank's a lot!!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •