-
AuthorPosts
-
June 16, 2011 at 1:09 pm #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!
Nicolekhoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
June 16, 2011 at 7:39 pm #396768Hi,
How do you want to add new position? Could you explain detail more?June 17, 2011 at 8:42 am #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 Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
June 18, 2011 at 4:46 pm #397136Why don’t you use search position?
June 18, 2011 at 11:24 pm #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 Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
June 19, 2011 at 6:56 pm #397240Thanks, 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 newsearch2) 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?
1 user says Thank You to khoand for this useful post
June 20, 2011 at 2:11 am #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 Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
June 20, 2011 at 5:17 pm #397455You add this code into template.css:
.goog-te-gadget .goog-te-combo {
margin: 4px 0;
float: right;
margin-top: 29px;
}June 21, 2011 at 12:33 am #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
-
AuthorPosts
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