-
AuthorPosts
-
qbali JATC
qbali
- Join date:
- October 2006
- Posts:
- 177
- Downloads:
- 13
- Uploads:
- 23
- Thanks:
- 13
- Thanked:
- 2 times in 1 posts
November 21, 2006 at 4:39 am #117729Hi all,
i have just searched all the forum here to find the solved thread relating my problem
and i got this thread with help me a bithttp://www.joomlart.com/forums/topic/joomfish-2/
i want to place the language selection (joomlafish ) box right beside the SCREEN RESOLUTION tools, anyone can help me ?
i have triend to put the code that i got from the thread above near the screen tool code in index.php but it could work, where it excatly do we have to put it ?
and i have tried to put the language selection box right beside the Search box, with giving the code from this link http://www.joomlart.com/forums/topic/joomfish-2/ , but i got error page
can anyone give the more clear explanation about how to put it in USER4 code in index.php /
any help would be appreciated
regards
qbali JATCqbali
- Join date:
- October 2006
- Posts:
- 177
- Downloads:
- 13
- Uploads:
- 23
- Thanks:
- 13
- Thanked:
- 2 times in 1 posts
November 21, 2006 at 8:17 am #211879anyone can help me here ?
Khanh Le ModeratorKhanh Le
- Join date:
- November 2013
- Posts:
- 1884
- Downloads:
- 41
- Uploads:
- 31
- Thanks:
- 44
- Thanked:
- 203 times in 131 posts
November 21, 2006 at 9:22 am #211880Hi All,
To place the language selection near beside user tool, please follow these steps:
1. Open template index.php file, search ja-usertools block code:
<span id="ja-usertools">
<?php if ($tool) { ?>
<a title="Default screen" href="#800x600" onclick="setActiveStyleSheet(''); return false;"><img src="<?php echo $ja_template_path;?>/images/user-screen1.gif" alt="Default screen resolution" /></a>
<a title="Wide screen" href="#1024x768" onclick="setActiveStyleSheet('WideScreen'); return false;"><img src="<?php echo $ja_template_path;?>/images/user-screen2.gif" alt="Wide screen resolution" /></a>
<?php } ?>
<a title="Increase size" href="#Size+" onclick="changeFontSize(1);return false;"><img src="<?php echo $ja_template_path;?>/images/user-increase.gif" alt="Increase font size" /></a>
<a title="Decrease size" href="#Size-" onclick="changeFontSize(-1);return false;"><img src="<?php echo $ja_template_path;?>/images/user-decrease.gif" alt="Decrease font size" /></a>
<a title="Default size" href="#DefaultSize" onclick="revertStyles(); return false;"><img src="<?php echo $ja_template_path;?>/images/user-reset.gif" alt="Default font size" /></a>
</span>
2. Add following code to before or after:
<?php if ( mosCountModules( 'joomfish' ) ) { ?>
<span id="ja-joomfish">
<?php mosLoadModules ( 'joomfish',-2 ); ?>
</span>
<?php } ?>
3. Open template css file: template_css.css.
4. Add this style:
#ja-joomfish {
float: right;
}
5. Goto your administration panel, select “Site->Template Manager->Module Positions”, and create new position name “joomfish”.
6. Publish Joomfish Language Selection Module to position “joomfish”.qbali JATCqbali
- Join date:
- October 2006
- Posts:
- 177
- Downloads:
- 13
- Uploads:
- 23
- Thanks:
- 13
- Thanked:
- 2 times in 1 posts
November 21, 2006 at 1:12 pm #211885Hi Khanh,
thanks for your details explanation, i am so really appreciated it, 😀
the code that you gave is worked perfectly, thanks for that. but i still have something missed here about the position of the language selection, the code that you gave just place the language selection above theUSER TOOL, but in actually i want it place right beside the USER TOOL ( place it on the left of the USER TOOL, near the DEFAULT SCREEN RESOLUTION button ) , hope undestand my poor english :laugh:
thanks khanh, i am hoping your help…
my My regards
Tom
April 20, 2007 at 5:13 pm #218570Hi Tom, Hi Khanh
I’d like to share my experience on dealing with the Tom’s problem. After spending a couple of day, I’ v got a solution to put the language selection box beside the screen resolution tool. It is easy to do. Please do these steps: go to Administrator, click Module, choose Site Module, here we arrive in Module Manager. Enter to “JoomFish language selection”. There are Parameters . Set ‘no’ for Include Joom!Fish CSS. Click save. And soon you will solve your problem.
Thanks Khanh for giving some steps to place the language selection near beside user tool. It is my first posting in this forum. I appreciate this forum since helps me a lot. 😀
April 20, 2007 at 7:11 pm #218573Hi all,
After posting my sharing on putting the language selection box beside the SCREEN RESOLUTION tool, my test-site looks nice. The language selection box is doing weel and seems on the right place. I was satisfied. But… then I clicked XHTML 1.0 Transitional, I got an error message saying:
Error Line 251 column 37: document type does not allow element “div” here; missing one of “object”, “applet”, “map”, “iframe”, “button”, “ins”, “del” start-tag.
<div class=”moduletable”Since I have to go and I have no time to look for a solution, I’d like to say that my last experience needs to be developed. I appreciate any suggestion.
Regards,
Yohanes
-
AuthorPosts
This topic contains 6 replies, has 3 voices, and was last updated by yohanes 17 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum