test
Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • blink black Friend
    #186690

    I want my page to look like this:

    LEFT CONTENT RIGHT

    Please how can I set it? The T3 documentation is just difficult to understand.

    Ninja Lead Moderator
    #489738

    This customization will help you to show LEFT CONTENT RIGHT on JA Fubix Template.

    1) Add main content to Home template style

    Open templates/ja_fubix/tpls/blocks/homepage.php file

    from


    <jdoc:include type="message" />

    change to


    <jdoc:include type="message" />

    <div class="main-container">
    <jdoc:include type="component" />
    </div>

    2) Go to Admin -> Template Manager-> JA Fubix – Home -> Layout tags and see the screenshot


    1. Layout_Custom
    blink black Friend
    #489792

    Hi,

    Thanks for your response. I added exactly what you wanted me to add but I could not see the component when I went to Admin -> Template Manager-> JA Fubix – Home -> Layout tags…

    I see something similar to your screenshot BUT WITHOUT THE COMPONENT

    Ninja Lead Moderator
    #489908

    Don’t worry, I would need to take a closer look at your site. Please pm me with url, admin access and ftp account of your site. I shall check it for you

    blink black Friend
    #490308

    Hi Ninja,

    Did you get the details?

    Ninja Lead Moderator
    #490364

    <em>@blink_black 369514 wrote:</em><blockquote>Hi Ninja,

    Did you get the details?</blockquote>

    I have received your pm and fixed the problem on your site

    Open templates/ja_fubix/tpls/blocks/homepage.php file

    from


    <?php if($this->hasMessage()):?>
    <jdoc:include type="message" />
    <div class="main-container">
    <jdoc:include type="component" />
    </div>

    <?php endif; ?>


    change to


    <?php if($this->hasMessage()):?>
    <jdoc:include type="message" />
    <?php endif; ?>
    <div class="main-container">
    <jdoc:include type="component" />
    </div>

    Please check and let me know if it hepls

    blink black Friend
    #490506

    Hi,

    Thanks a lot. I can see the changes. The problem now is that the modules refused to flush in place.

    I want them to be in these dimensions below.

    LEFT CONTENT RIGHT
    180px 720px 180px

    Take a look at URL: http://nollycentral.com/media-gallery to see what I am trying to achieve

    blink black Friend
    #490519
    Ninja Lead Moderator
    #490703

    <em>@blink_black 369789 wrote:</em><blockquote>The correct URL is: http://nollycentral.com/nollywood/media</blockquote>

    I have checked and feel sorry that your request exceeds the scope of our support. For major customization you should hire a developer. Support team is dedicated to help with bug fixes and users in getting demo site alike display.

    blink black Friend
    #490851

    No, that is not what I mean.. I assigned a module position that is 180px to position5 but it is still showing up as 300px. The right position (position7) is okay but I want the left position to flush with my module width.

    Basically, I want the position7 to appear in position5. I still think it is within your scope.

    Ninja Lead Moderator
    #490900

    I have spent a lot of my time to fix your request

    <blockquote>
    LEFT CONTENT RIGHT
    180px 720px 180px
    </blockquote>

    Please check it on your site and let me know if it helps

    sirbal Friend
    #491179

    I tried this approach, but in this case there is the gap between Featured Gallery and footer because of the div.main-container from the component.

    http://trw-eos.ru/

    Is there another solution which would load include type=”component” for the LEFT – CONTENT – RIGHT layout without loading it at the home page?


    1. div-maincontainer
    alincoln4332 Friend
    #491189

    The developers should have include a LEFT-CONTENT-RIGHT option in the original template as it an obvious requirement for a working site.
    The content module is currently far too wide for many applications.
    Can you share the solution with everyone please.

    sirbal Friend
    #491204

    The solution is simple (presumably) but not obvious 🙂

    1. Open Template Manager > Homepage template (in this example Ja Fubix Home K2) and click ‘Save as Copy’.

    2. Name it (home-copy in this example) and hit ‘Clone it’.

    3. Check the result – now you should see the new layout file home-copy.php in templates/ja_fubix/tpls/

    4. Go to templates/ja_fubix/tpls/blocks.

    5. Copy homepage.php to another directory, rename it into homepage-copy.php and put back.

    6. Now it’s time to play with the code.
    Below are the lines from the default homepage layout in homepage.php (as well as in homepage-copy.php since we just copied it):

    [PHP]<!– //MASSCOL 1 –>
    <?php endif ?>

    <?php if($this->hasMessage()):?>
    <jdoc:include type=”message” />
    <div class=”main-container”>
    <jdoc:include type=”component” />
    </div>

    <?php endif; ?>

    </div> <!– //MAIN CONTENT –>
    [/PHP]

    In the file homepage-copy.php change it into
    [PHP]
    <!– //MASSCOL 1 –>
    <?php endif ?>

    <?php if($this->hasMessage()):?>
    <jdoc:include type=”message” />
    <?php endif; ?>
    <div class=”main-container”>
    <jdoc:include type=”component” />
    </div>

    </div> <!– //MAIN CONTENT –>
    [/PHP]

    7. Now open the layout file home-copy.php in templates/ja_fubix/tpls/

    [PHP]
    <body>

    <?php $this->loadBlock (‘header’) ?>

    <?php $this->loadBlock (‘homepage’) ?>

    <?php $this->loadBlock (‘navhelper’) ?>

    <?php $this->loadBlock (‘footer’) ?>

    </body>[/PHP]

    Change it into

    [PHP]<body>

    <?php $this->loadBlock (‘header’) ?>

    <?php $this->loadBlock (‘homepage-copy’) ?>

    <?php $this->loadBlock (‘navhelper’) ?>

    <?php $this->loadBlock (‘footer’) ?>

    </body>[/PHP]

    8. Now go to Template Manager and duplicate the style Ja Fubix Home K2 (in this example Ja Fubix Home K2 (2) )

    9. Set the Position configuration into your new layout as home-copy (see picture).

    10. Contratulations! Now you have two LEFT-CONTENT-RIGHT layouts:
    a) default homepage without component loading

    b) new layout with component

    Don’t forget to assign proper layouts for menu items.


    1. 9
    2. 6
    3. 8
    4. 7
    5. 5
Viewing 14 posts - 1 through 14 (of 14 total)

This topic contains 14 replies, has 4 voices, and was last updated by  sirbal 11 years, 8 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum