chrometweaks.org

Should I go with Microsoft Live Small Business, Yahoo Small Business or iPage for webhosting?

Click Here To View All Answers...


My question is Should I go with Microsoft Live Small Business, Yahoo Small Business or iPage for webhosting? Thanks for any answer or 2. Another quick question... Hi all how can I remove the categories and put instade of them a flash mnue ??????.

Which files should I change.

And how can I add my mnue ??..

Comments (98)

Good question... I dunno what is the answer. I'll do some investigation and get back to you if I find an answer. You should email the people at iPage as they probably know..

Comment #1

Waht about if I have two languages ??.

How can I swich between then one for the engish and one for arabic..

Comment #2

You could always sniff what langauge the user is using on their browser and then based upon that show english or arabic...

Comment #3

Thanks alot but can you tell me how te choose the language.

What is the code should be used :??..

Comment #4

Hi fishy I didnt understand what you said here :::.

"2. paste your menu html there..

The other boxes in includes/colum_left.php are within <tr><td></td></tr> tags, so put your menu in between <tr> tags..

".

Should I paste my html in the colum_left.php.

So just write <tr><td></td></tr> then paste the code in between ???.

In this file or in other files plz help..

Comment #5

One issue with replacing the menu and adding a hand-coded Flash menu would be that you'll need to update it every time you add a new category..

I don't use flash, so I wouldn't know, but can you not pass it some parameters on-the-fly? Such as a string of categories based on osCommerce's 'cPath'?.

If I were calling an external file to generate my menu, I'd have to tell it what needs to be in the menu. If the external file was a PHP file, I'd probably use something like:.

Menu.php?category1[]=Hardware,1&category1[]=Software,2&category1=DVD%20Movies,3&category2=Action,2_18&category2=Simulation,2_19&category2=Strategy,2_20&selected=2_19.

So instead of boxes/categories.php generating a box, it would gerenrate the query string to pass the the external file. The query string above would give me 2 arrays:.

Category1 => Hardware,1.

             Software,2.

             DVD Movies,3.

Category2 => Action,2_18.

             Simulation,2_19.

             Strategy,2_20.

By using these arrays, I have the category name and also the cPath for the link, seperated by a comma. I have one further variable, $selected, which tells me which page is currently loaded and should be shown in the menu in bold, color etc..

Just a though!.

Steve...

Comment #6

Hi thanks alot my frind now it is ok you can c it.

Http://gulfgate.us/catalog.

But now how if I have two mnue arabic and english how can I do it theat in the english page the english mnue and in the arabic page the arabic mnue ???..

Comment #7

All you would need to do is pass the variable $language_id to your script, in the same way you pass everything else...

Comment #8

I dont know how but I will search.

I just make a table for the new mnue and paste the java code to make the hover buttons.

Thanks..

Comment #9

Hi all how can I remove the categories and put instade of them a flash mnue ??????.

Which files should I change.

And how can I add my mnue ??..

Comment #10

Open includes/colum_left.php and:.

1. remove:.

If ( (USE_CACHE == 'true') && !SID) {.

Echo tep_cache_categories_box();.

} else {.

Include(DIR_WS_BOXES'categories.php');.

}.

And.

2. paste your menu html there..

The other boxes in includes/colum_left.php are within <tr><td></td></tr> tags, so put your menu in between <tr> tags..

Best..

Comment #11


This question was taken from a support group/message board and re-posted here so others can learn from it.