-
AuthorPosts
-
stator86 Friend
stator86
- Join date:
- September 2011
- Posts:
- 77
- Downloads:
- 0
- Uploads:
- 10
- Thanks:
- 17
- Thanked:
- 1 times in 1 posts
November 29, 2011 at 10:07 am #171226I’ve 2 language English & Arabic
I’ve made 2 duplicates of the template and assign one to each language.
The problem is the menu appears only in one language but when switch to other the menu disappears.
N.B. I’ve 2 menus one English & one Arabic.
I go to each template (EN & AR) & assign the English menu to EN template & Arabic menu to AR template.
However, the change in options of one template is reflected on the other therefore the 2 templates only save the last changes in one of them
my site: http://www.elib4vet.com/alexvetmed2
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
November 29, 2011 at 10:23 am #427102Hi stator86
Why you use two templates you can do it with the template profile override
You can create a profile for the new menu and assign your menu in menu settings English then go to Page assigments and assign that profile to the English menu Home page
stator86 Friendstator86
- Join date:
- September 2011
- Posts:
- 77
- Downloads:
- 0
- Uploads:
- 10
- Thanks:
- 17
- Thanked:
- 1 times in 1 posts
November 29, 2011 at 10:39 am #427109Thanks pavit
So if i want to display different logo for each language what i’ve to do ?
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
November 29, 2011 at 10:58 am #427114In the same new profile created “English” you have the option to choose a new theme that you have created before
go to templates/ja_Anion/core/themes/yournewtheme/ and inside it you have two folder css and images
so you can create a new template.css with the new path and image to your specified logo
Example ” take a template.css of an actual theme and check this line
/* Logo Image ---*/
h1.logo a {
background-image: url(../images/logo.png);
}
here you can change your path to the new logo and the logo image name
save this file and apply your new profile at the English menu Home
I hope was clear
stator86 Friendstator86
- Join date:
- September 2011
- Posts:
- 77
- Downloads:
- 0
- Uploads:
- 10
- Thanks:
- 17
- Thanked:
- 1 times in 1 posts
November 29, 2011 at 11:07 am #427117thanks Pavit very much
I will try & inform you what i get.stator86 Friendstator86
- Join date:
- September 2011
- Posts:
- 77
- Downloads:
- 0
- Uploads:
- 10
- Thanks:
- 17
- Thanked:
- 1 times in 1 posts
November 29, 2011 at 11:10 am #427119sorry pavit I didn’t find the folder of the new theme
could you guide me step by step from the beginning ?
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
November 29, 2011 at 11:26 am #427123try to do in this way goto core/themes/ and copy your preferred/used theme folder
rename it in your preferred theme example call it English
now in theme folder you must have all previous theme plus the new English folder
inside that folder you have 2 subfolders CSS and IMAGES
in The IMAGES folder put your logo image
after go to template manager and at the profile English you have previous created apply as THEME English
assign this Profile to English Menu Home page
stator86 Friendstator86
- Join date:
- September 2011
- Posts:
- 77
- Downloads:
- 0
- Uploads:
- 10
- Thanks:
- 17
- Thanked:
- 1 times in 1 posts
November 29, 2011 at 1:03 pm #427134<em>@pavit 285854 wrote:</em><blockquote>In the same new profile created “English” you have the option to choose a new theme that you have created before
go to templates/ja_Anion/core/themes/yournewtheme/ and inside it you have two folder css and images
so you can create a new template.css with the new path and image to your specified logo
Example ” take a template.css of an actual theme and check this line
/* Logo Image ---*/
h1.logo a {
background-image: url(../images/logo.png);
}
here you can change your path to the new logo and the logo image namesave this file and apply your new profile at the English menu Home
I hope was clear</blockquote>
This line not found ??????????????????
stator86 Friendstator86
- Join date:
- September 2011
- Posts:
- 77
- Downloads:
- 0
- Uploads:
- 10
- Thanks:
- 17
- Thanked:
- 1 times in 1 posts
November 29, 2011 at 1:17 pm #427137solved I added this
/* HEADER
--------------------------------------------------------- */
#ja-header .main { background: transparent; padding: 25px 0 15px; }
h1.logo, div.logo-text h1 { font-size: 250%; line-height: 1; }
/* Logo Image ---*/
h1.logo { height: 41px; margin-top: 10px; width: 220px; }
h1.logo a {
background: url(../images/logo-ar.png) no-repeat left;
display: block;
height: 41px;
width: 220px;
}
/* Logo Text ---*/
div.logo-text h1 a {
font-weight: bold;
letter-spacing: 1px;
text-decoration: none;
}
-
AuthorPosts
This topic contains 9 replies, has 2 voices, and was last updated by stator86 12 years, 11 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum