-
AuthorPosts
-
March 23, 2010 at 2:52 pm #149751
hi
im going to use kayanite 2 with joomfish for arabo-english site , is there a posibility to have two logos ? i mean when switching between languages the logo change too
many thanks for this great templateprakash Friendprakash
- Join date:
- October 2008
- Posts:
- 439
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 2
- Thanked:
- 146 times in 115 posts
March 23, 2010 at 3:25 pm #337440Though there is no ready made solution for this…I think if you know to code in PHP you can create a condition that if its english show X logo and otherwise show Y logo.
Joomfish creates a tag ..like EN or FR or the language code..hence u need to simply check which language is being used on the site at present.
March 23, 2010 at 3:48 pm #337447i think i got a solution
1 creating a new module position
2 place the new position in the template
3 creating a costum module with the logo in it ( and in joomfish change the path to the other logo)
now im confused about the second etape . i cant find the php file where i can add the new module code
any ideas ?prakash Friendprakash
- Join date:
- October 2008
- Posts:
- 439
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 2
- Thanked:
- 146 times in 115 posts
March 24, 2010 at 2:16 am #337501Hi
The logo php can be found in this file
templatesja_kyanite_iilayoutsblocksheader.php
March 24, 2010 at 2:29 am #337504can the support team please help in this issue please , i tried out but its harder for me to place a module in this position
many thanksAnonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
March 24, 2010 at 9:50 am #337548<em>@simoslav 170945 wrote:</em><blockquote>hi
im going to use kayanite 2 with joomfish for arabo-english site , is there a posibility to have two logos ? i mean when switching between languages the logo change too
many thanks for this great template</blockquote>In template_rtl.css, file, you can add following code to your end:
h1.logo a {
background: url(../images/logo-rtl.gif) no-repeat left center;
}you have to upload logo-rtl.gif to templates/ja_kyanite_ii/images folder
Hope it helps
March 24, 2010 at 10:39 am #337558<em>@JA Developer 171097 wrote:</em><blockquote>In template_rtl.css, file, you can add following code to your end:
h1.logo a {
background: url(../images/logo-rtl.gif) no-repeat left center;
}you have to upload logo-rtl.gif to templates/ja_kyanite_ii/images folder
Hope it helps</blockquote>
thanks a lot but im going to use 3 languages english french and arabic , i need a logo for every language
March 24, 2010 at 4:09 pm #337598how can i place a module-logo in place of the logo please , i think its the solution
prakash Friendprakash
- Join date:
- October 2008
- Posts:
- 439
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 2
- Thanked:
- 146 times in 115 posts
March 25, 2010 at 1:48 am #337656Hi,
Like I said earlier conditional statement is best for this.
You need to first have 3 logos and for the CSS there should be like logo, logo_ar, logo_fr
Then in the header file create a condition that if the language is say french – logo_fr, if english then logo and if its arabic then logo_ar.This would be the best solution for you as say in future you wish to add another language, you can simply add one more condition.
1 user says Thank You to prakash for this useful post
Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
March 25, 2010 at 5:25 pm #337768Hi you
Please check my thread: http://www.joomlart.com/forums/showthread.php?p=171371#post171371
-
AuthorPosts
This topic contains 10 replies, has 3 voices, and was last updated by Anonymous 14 years, 9 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum