positions?

Discussion in 'Auto Classifieds Script' started by tvpowerman, Oct 23, 2017.

  1. tvpowerman

    tvpowerman New Member

    Hi

    just trying to add right position , to cars template

    1.added to database right position

    2.added to layout.tpl
    <div class="{width section='content' position='right' tag='col-md-'}">
    {ia_blocks block='right'}

    3 added to install.xml
    <section name="content">
    <position fixed="1">left</position>
    <position width="9">center</position>
    <position fixed="1">right</position>
    </section>

    if open inspection view on web page it shows like that:
    <div class="row">

    <div class="hidden-xs hidden-sm">
    <div class="col-md-3"> - ( this size of left column)


    <div class="col-md-9"> - (this size of center column)
    <div class="content__wrap">


    <div class="col-md-0"> - ( and this one is right column all the time 0)
    <div id="block_autos_calculator" class="box box--no-header box--border">

    it showing right column but not on right position , but under all content

    looks like changes in install.xml file not work, because i try change center column to 6, delete left one

    still all the same

    or may be need to add somewhere something else, to make it work

    thank
  2. Gleb_S.

    Gleb_S. Subrion Designer Staff Member

    Hello @tvpowerman !

    You will need to add this code to install.xml file (likve you've did):
    Code (Text):
    <section name="content">
                <position fixed="1">left</position>
                <position width="6">center</position>
                <position fixed="1">right</position>
            </section>
    At this point you will need to reinstall template, if possible. If not, add right position to database and then add some blocks to this position on needed page (it seems like there are no blocks assigned).

    Thanks.

Share This Page