Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Article Manager 1 Add-ons:
can this change in menu display be done?

 

 


halkibsi
User

May 30, 2004, 2:48 PM

Post #1 of 10 (7749 views)
Shortcut
can this change in menu display be done? Can't Post

http://www.nhdr.org
when you open the above URL you will see that I am designing a bilengual interface for the United Nations NDR project in Yemen. If you notice the menu on the left of the page (this is still in template stage), instead of having two AM working on the site, I'd like to work with just ONE copy. this means i have to created language sites as top level categories, and the rest as subcategories.

this presents me with a problem: the menu will ALWAYS have English and Arabic menus on the same page. what i would like done is have an English menu only on english pages, and the arabic on the other language pages.

can this be done? did i even make sense? Smile


Cheers!

Haitham
[email]halkibsi@mtiaz.com[/email]
[url]http://www.mtiaz.com[/url]


Donna
Staff / Moderator


May 30, 2004, 4:34 PM

Post #2 of 10 (7744 views)
Shortcut
Re: [halkibsi] can this change in menu display be done? [In reply to] Can't Post

Hi halkibsi,

There are two ways you can do this, depending on how many levels of categories you need. If you'll only ever have one set of "child" categories (the way it's setup now) then what you can do is this:

Go into your Setup Options and choose "Server". Scroll down to "Subcategory Settings" and select "Selected Branch Only".

Now, only the selected branch will show, so you can set your English homepage to show only English, and the Arabic homepage to only show Arabic.

Let me know if that works for you. :)

Donna

--
support@interactivetools.com


halkibsi
User

May 31, 2004, 3:25 AM

Post #3 of 10 (7733 views)
Shortcut
Re: [Donna] can this change in menu display be done? [In reply to] Can't Post

well done Donna, you make things seem so easy Wink
many thanks!!


Cheers!

Haitham
[email]halkibsi@mtiaz.com[/email]
[url]http://www.mtiaz.com[/url]


halkibsi
User

May 31, 2004, 3:13 PM

Post #4 of 10 (7715 views)
Shortcut
Re: [Donna] can this change in menu display be done? [In reply to] Can't Post

OK, well I thought that was my solution, but i noticed that if i had two set titles of second level categories (meaning two categories under a top category), and i clicked on one of them, all categories ON THAT SAME LEVEL are gone. Unsure

what I need is the following:
========================================================
- English
----- Menu Here
----- Menu Here
----- Menu Here
----- Menu Here

- Arabic
----- Menu Here
----- Menu Here
----- Menu Here
----- Menu Here
========================================================

i need to Show the "English" category menu and ALL its submenus in the english section of the site (having all subcategories under English to show at all times) without showing the Arabic top level category and all its subcategories.

can this be done?


Cheers!

Haitham
[email]halkibsi@mtiaz.com[/email]
[url]http://www.mtiaz.com[/url]


Donna
Staff / Moderator


May 31, 2004, 3:51 PM

Post #5 of 10 (7713 views)
Shortcut
Re: [halkibsi] can this change in menu display be done? [In reply to] Can't Post

Here's what you can do to get around that:

First, I'm assuming you've got two category templates setup -- one for Arabic and one for English.

Now, find the filename for your English site. For this example, we'll say it's cat_index_10.shtml

Go into your publish directory via FTP and open this file up in a text editor. (Note: Viewing the source won't work, you need to look at the raw file on your server.) You'll find a line something like this:


<!--#include virtual="/artman/publish/category_list10.shtml" -->

Grab that line, and put that into your category template in place of the category list include already there.

Do the same for the other section, and your article templates as well.

And... there you go. :) Same dynamic navigation on every page.

I hope this helps!

Donna

--
support@interactivetools.com

(This post was edited by Donna on May 31, 2004, 3:51 PM)


halkibsi
User

Jun 1, 2004, 1:12 AM

Post #6 of 10 (7707 views)
Shortcut
Re: [Donna] can this change in menu display be done? [In reply to] Can't Post

That will definitely work!! but I do have ONE small problem... how do i get the program to publish category_list10.shtml WITHOUT the link to the default global index page?


Cheers!

Haitham
[email]halkibsi@mtiaz.com[/email]
[url]http://www.mtiaz.com[/url]


Eric
Product Specialist


Jun 1, 2004, 9:31 AM

Post #7 of 10 (7700 views)
Shortcut
Re: [halkibsi] can this change in menu display be done? [In reply to] Can't Post

Hi Haitham,

Thanks for the response Smile.

If you want to get rid of the link to the global index page, all you have to do is edit the category_list.html template file, look for the following code:

<a href="$url_gindex$">$gcat_name$</a>

And simply remove it. Make sure you republish by going to Setup Options -> General tab and click on the Publish All button after you do this to see the effect.

That's it! Cool If you have other questions please let me know.
Cheers,
Eric Lau - Product Specialist
support@interactivetools.com


MalaK_3araby
User

Jun 6, 2004, 7:17 PM

Post #8 of 10 (7515 views)
Shortcut
Re: [halkibsi] can this change in menu display be done? [In reply to] Can't Post

Hello Haitham and Salam.

You could create a seperate set of templates for your Arabic interface, then assign those template for each Arabic category.

CAT1: English ---> Template Set E (i.e: default.shtml)
Sub1
Sub2
Sub3

CAT2: Arabic ---> Template Set A (i.e: default_a.shtml)
Sub1
Sub2
Sub3

Hope that helps and good luck.

--------------
Sure you can spell it, but do you get it?


halkibsi
User

Jun 9, 2004, 2:32 AM

Post #9 of 10 (7405 views)
Shortcut
Re: [MalaK_3araby] can this change in menu display be done? [In reply to] Can't Post

hey bud,
Salams!

Yeah, I got it thanks! good to know these tricks Smile
much appreciated!

Salam


Cheers!

Haitham
[email]halkibsi@mtiaz.com[/email]
[url]http://www.mtiaz.com[/url]


MalaK_3araby
User

Jun 13, 2004, 8:48 PM

Post #10 of 10 (7309 views)
Shortcut
Re: [halkibsi] can this change in menu display be done? [In reply to] Can't Post

hey there!

No Problem bro .. and i would like to welcome you as ArtMan user. It is great at what it suppose to do and allows much space for creativity.

So, how are you gonna AligN text of summary_field acording to the text used IF you are to use one Index page for both lanuguages?

Note for readers: ENglish is LTR wherase Arabic is RTL.

I have been up all night working and i do not have time right now to try any tricks, but one should be able to do it by hardcoding the code into the template and picking the direction from a dropdown menu using a spare field.

--------------
Sure you can spell it, but do you get it?