Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • traumkeks Friend
    #165289

    I just installed Ja Portfolio (quickstart).

    I was trying to add a new module position, when I opened index.php file in the template folder, all I got in this index.php shows below:
    <?php
    if (class_exists(‘T3Template’)) {
    $tmpl = T3Template::getInstance($this);
    $tmpl->render();
    return;
    } else {
    //Need to install or enable JAT3 Plugin
    echo JText::_(‘Missing jat3 framework plugin’);
    }

    I checked the plugin, JAT3 is enable. And my site is working fine. But I just could not be able to do anything with this index.php.

    I tried many ways, but still no clue. Please help!!!!

    Your help would be highly appreciate!

    Thanks!
    Nicole

    khoand Friend
    #396768

    Hi,
    How do you want to add new position? Could you explain detail more?

    traumkeks Friend
    #396878

    <em>@khoand 247555 wrote:</em><blockquote>Hi,
    How do you want to add new position? Could you explain detail more?</blockquote>

    Hi khoand,

    Thanks for your reply.

    Actually, I need to add two positions in front of SEARCH position in TOP-HEADER.

    One for Language selection and one for Google Translation. Please see below.

    Please help. Thank you very much!

    Nicole

    khoand Friend
    #397136

    Why don’t you use search position?

    traumkeks Friend
    #397159

    <em>@khoand 248015 wrote:</em><blockquote>Why don’t you use search position?</blockquote>

    Thanks, khoand.
    I thought about it to use search position, but, there are two things which I need to figure them out if I use search position:

    1) How can I get rid off the search background?
    When I disable search module or change it’s position, and set Language selection & Google Translation modules in search position, the search background shows up again as you can see in my original post.

    2) How can I center the Language selection (the two flags) module?
    As you can see the pic in my original post, the two flags are not centered ( need to be moved up to the center).

    Please help me to figure them out. Thanks!

    If I still want to keep search module in the search position. How can I add positions?

    Thanks khoand for you help.

    Nicole

    khoand Friend
    #397240

    Thanks, khoand.
    I thought about it to use search position, but, there are two things which I need to figure them out if I use search position:

    1) How can I get rid off the search background?
    When I disable search module or change it’s position, and set Language selection & Google Translation modules in search position, the search background shows up again as you can see in my original post.

    Please help me to figure them out. Thanks!

    If I still want to keep search module in the search position. How can I add positions?

    You add this code into templatesja_portfolioblocksheader.php


    <?php if($this->countModules('newsearch')) : ?>
    <div id="ja-newsearch">
    <jdoc:include type="modules" name="newsearch" />
    </div>
    <?php endif; ?>

    after


    <?php if($this->countModules('search')) : ?>
    <div id="ja-search">
    <jdoc:include type="modules" name="search" />
    </div>
    <?php endif; ?>

    You set position of new module is newsearch

    2) How can I center the Language selection (the two flags) module?
    As you can see the pic in my original post, the two flags are not centered ( need to be moved up to the center).

    I need to view your website to fix it. So could you give me a link to your website?

    traumkeks Friend
    #397262

    <em>@khoand 248174 wrote:</em><blockquote>I need to view your website to fix it. So could you give me a link to your website?</blockquote>

    Thank you very much for your help, khoand. The link to this site: http://www.chinaoutfitters.com/
    I added two positions (search1 & search2.
    1) Added these code in header.php as your instruction:

    2) Added these code in template.css:

    3) Added these code in templateDetails.xml:

    Set Select Language module in newsearch1 position, Language Selection in newsearch2 position, it shows as below:

    What should I do next to make the newsearch1 position close to newsearch2 position(Language Selection module)?

    Thanks!

    khoand Friend
    #397455

    You add this code into template.css:


    .goog-te-gadget .goog-te-combo {
    margin: 4px 0;
    float: right;
    margin-top: 29px;

    }

    traumkeks Friend
    #397499

    <em>@khoand 248430 wrote:</em><blockquote>You add this code into template.css:


    .goog-te-gadget .goog-te-combo {
    margin: 4px 0;
    float: right;
    margin-top: 29px;

    }

    </blockquote>

    Hi khoand,

    I added the code into template.css, the postions shows as pic below:

    I would like to have the two module positions show as below:

    Please help if it is possible.

    Thank you very much!

    Nicole

Viewing 9 posts - 1 through 9 (of 9 total)

This topic contains 9 replies, has 2 voices, and was last updated by  traumkeks 13 years, 5 months ago.

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