Home | Products | Consulting | Forums | Support | Order | 1-800-752-0455
  Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued 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 (5555 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
halkibsi@mtiaz.com
http://www.mtiaz.com


Donna
Staff / Moderator


May 30, 2004, 4:34 PM

Post #2 of 10 (5550 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


Hire me!
Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.


halkibsi
User

May 31, 2004, 3:25 AM

Post #3 of 10 (5539 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
halkibsi@mtiaz.com
http://www.mtiaz.com


halkibsi
User

May 31, 2004, 3:13 PM

Post #4 of 10 (5521 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
halkibsi@mtiaz.com
http://www.mtiaz.com


Donna
Staff / Moderator


May 31, 2004, 3:51 PM

Post #5 of 10 (5519 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


Hire me!
Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.


(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 (5513 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
halkibsi@mtiaz.com
http://www.mtiaz.com


Eric
Product Specialist


Jun 1, 2004, 9:31 AM

Post #7 of 10 (5506 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 (5321 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 (5211 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
halkibsi@mtiaz.com
http://www.mtiaz.com


MalaK_3araby
User

Jun 13, 2004, 8:48 PM

Post #10 of 10 (5115 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?

 
 
 


Search for (options)
Products
CMS Builder
Article Manager
Realty Manager
Listings Manager
Order Now
Services
Priority Consulting
Support
Online Documentation
Support Forums
Support Homepage
Company Info
12 reasons to choose us!
Meet the team
Monthly newsletter
Contact Us
Toll Free: 1-800-752-0455
Phone: (604) 689-3347
Sales | Support
Conditions of Use | Privacy Policy | Copyright © interactivetools.com 2008
#201 - 2730 Commercial Drive, Vancouver BC Canada V5N 5P4