Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

What contribs used


Guest

Recommended Posts

Hi

 

Trying again, I found cdunddvdrohlinge.de and have a few questions:

 

1: Anybody knows what categorie menu they have used on the site to make that menu (with subs in a colored "box")

 

2: The language infobox - I like it the way they have it, how to do?

 

3: the "pop-up" box with info about the item that comes when you hold your mouse over a item - how to do that?

 

I really hope anybody is able to answer me

 

Best regards

Johnny

Link to comment
Share on other sites

Hi

 

Trying again, I found cdunddvdrohlinge.de and have a few questions:

 

1: Anybody knows what categorie menu they have used on the site to make that menu (with subs in a colored "box")

 

2: The language infobox - I like it the way they have it, how to do?

 

3: the "pop-up" box with info about the item that comes when you hold your mouse over a item - how to do that?

 

I really hope anybody is able to answer me

 

Best regards

Johnny

 

1) normal category box I would say.

 

2) unnecessary space-taker unless you are a language fanatic.

 

you could use:

 

<?php

$hidden_get_variables = '';

reset($_GET);

while (list($key, $value) = each($_GET)) {

if ( ($key != 'currency') && ($key != tep_session_name()) && ($key != 'action') && ($key != 'x') && ($key != 'y') ) {

$hidden_get_variables .= tep_draw_hidden_field($key, $value);

}

}

 

if (!isset($language) || (isset($language) && !is_object($language))) {

include(DIR_WS_CLASSES . 'language.php');

$language = new language;

}

if (substr(basename($PHP_SELF), 0, 8) != 'checkout') {

reset($language->catalog_languages);

while (list($key, $value) = each($language->catalog_languages)) {

if ($language != $value['directory'] ){

$languages_string .= '<br><a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('language', 'currency', 'action',tep_session_name())) . 'language=' . $key, $request_type) . '">' . tep_image(DIR_WS_LANGUAGES . $value['directory'] . '/images/' . $value['image'], $value['name'],'','',' style="vertical-align: middle;" ') . '</a>';

}

}

echo $languages_string;

}

?>

 

will show all language icons except the current one.

 

3) overlib, extremely slow and irritating

Treasurer MFC

Link to comment
Share on other sites

Thank you, your properly right about #3 - at first I though it was nice, second view I don't

#2 thank you, I will try that

 

#1 - hmm ok, do you then know what to change to get the bullets and the colored box for sub menus?

 

Regards

Johnny

Link to comment
Share on other sites

Thank you, your properly right about #3 - at first I though it was nice, second view I don't

#2 thank you, I will try that

 

#1 - hmm ok, do you then know what to change to get the bullets and the colored box for sub menus?

 

Regards

Johnny

 

well, out of the top of my head:

 

in includes/boxes/categories.php you have:

 

if (tep_has_category_subcategories($counter)) {

 

means that that category has subs so you put image 1 infront of the name.

 

if ($products_in_category > 0) {

 

means that it is a bottom level category so you put image 2 infront of the name.

 

That simple I guess.

Treasurer MFC

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...