Jump to content

MultiServis.Net

Members
  • Content count

    15
  • Joined

  • Last visited

  1. MultiServis.Net

    NEW THEMES NOW TESTING!

    Hi; We builded 24 themes with EL Bavaro's Buttons Series with MultiServis sytlesheets. You can see screenshots and LIVE sites from http://www.multiservis.net/pics ................................................................
  2. MultiServis.Net

    EasyPopulate 2.4, now with Froogle support!

    In order to listing by froogle I need to this? http://froogle.google.com/froogle/merchants.html#feed
  3. MultiServis.Net

    New theme contibution

    I am sory that if I have broken Paul Langford' heart. :?
  4. MultiServis.Net

    New theme contibution

    And a small fix about INSERT INTO configuration VALUES("122", "Site Theme Options", "STORE_THEME", "DW_Virtual_Black", "You can change site thema form here.", "1", "19", "2002-12-21 23:24:00", "0000-00-00 00:00:00", "tep_get_theme_name", "tep_cfg_select_option(array('WhatsNew', 'original', 'blue', ' orange_black'),"); You need to change orange_black INSERT INTO configuration VALUES("122", "Site Theme Options", "STORE_THEME", "DW_Virtual_Black", "You can change site thema form here.", "1", "19", "2002-12-21 23:24:00", "0000-00-00 00:00:00", "tep_get_theme_name", "tep_cfg_select_option(array('WhatsNew', 'original', 'blue', ' '),");
  5. MultiServis.Net

    New theme contibution

    I am sory that I just follow the readME.txt and it isn't say me that I need to modify column_right.php except Then I take some errors about missing So I understood that something missing :!: And I looked the theme contribution files and I saw includes/column_right.php .Then I copy this file to my old column_right.php. then it started to work.Problems is Paul Langford didn't say you need to modifiy includes/column_right.php . Thank you.
  6. MultiServis.Net

    New theme contibution

    Did you execute this line to your shop database INSERT INTO configuration VALUES("122", "Site Theme Options", "STORE_THEME", "DW_Virtual_Black", "You can change site thema form here.", "1", "19", "2002-12-21 23:24:00", "0000-00-00 00:00:00", "tep_get_theme_name", "tep_cfg_select_option(array('WhatsNew', 'original', 'blue', ' black_orange'),");
  7. MultiServis.Net

    New theme contibution

    Problem is about missing modification on column_right.php.. Now clear column_right.php (catalog/includes/column_right.php) and past these codes <?php /* $Id: column_right.php,v 1.15 2002/03/13 13:52:20 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2002 osCommerce Released under the GNU General Public License */ require(DIR_WS_THEMES . $newtheme . '/theme_boxes/shopping_cart.php'); if ($HTTP_GET_VARS['products_id']) include(DIR_WS_THEMES . $newtheme . '/theme_boxes/manufacturer_info.php'); if (tep_session_is_registered('customer_id')) include(DIR_WS_THEMES . $newtheme . '/theme_boxes/order_history.php'); if ($HTTP_GET_VARS['products_id']) { if (session_is_registered('customer_id')) { $check_query = tep_db_query("select count(*) as count from " . TABLE_CUSTOMERS_INFO . " where customers_info_id = '" . $customer_id . "' and global_product_notifications = '1'"); $check = tep_db_fetch_array($check_query); if ($check['count'] > 0) { include(DIR_WS_THEMES . $newtheme . '/theme_boxes/best_sellers.php'); } else { include(DIR_WS_THEMES . $newtheme . '/theme_boxes/product_notifications.php'); } } else { include(DIR_WS_THEMES . $newtheme . '/theme_boxes/product_notifications.php'); } } else { include(DIR_WS_THEMES . $newtheme . '/theme_boxes/best_sellers.php'); } if ($HTTP_GET_VARS['products_id']) { if (basename($PHP_SELF) != FILENAME_TELL_A_FRIEND) include(DIR_WS_THEMES . $newtheme . '/theme_boxes/tell_a_friend.php'); } else { include(DIR_WS_THEMES . $newtheme . '/theme_boxes/specials.php'); } require(DIR_WS_THEMES . $newtheme . '/theme_boxes/reviews.php'); if (substr(basename($PHP_SELF), 0, 8) != 'checkout') { include(DIR_WS_THEMES . $newtheme . '/theme_boxes/languages.php'); include(DIR_WS_THEMES . $newtheme . '/theme_boxes/currencies.php'); } ?> Thats all.
  8. MultiServis.Net

    [CONTRIBUTION] Thema Options 1.0 (5 different themas)

    For example when New Year Valance Days .... And some special weeks or days you want to change site aspect. For example site can change it's aspect when customers birthday.
  9. MultiServis.Net

    [CONTRIBUTION] Thema Options 1.0 (5 different themas)

    And I want to know that do we make changes on stylesheets by using admin panel on database.
  10. MultiServis.Net

    [CONTRIBUTION] Thema Options 1.0 (5 different themas)

    First of all we have insert a line into configuration INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Site Thema Options', 'SITE_THEMA', '1', 'You can change site thema form here.', '1', '19', 'tep_cfg_select_option(array('1', '2', '3', '4', '5'), ', now()); We gave name to themas as 1,2,3,4,5 tep_cfg_select_option(array('1', '2', '3', '4', '5') but we can give name blue,red,holiday.. tep_cfg_select_option(array('blue', 'red', 'holiday', 'newyear', 'fantasy') so that we need to change catalog/includes/classes/thema/1 and catalog/images/infobox/thema/1 to catalog/includes/classes/thema/blue catalog/images/infobox/thema/blue and repeat same works for others thema categories. Then we add belows line to application_top.php and firstly we delete //Site thema configuration $configuration_query = tep_db_query("select configuration_key as themaKey, configuration_value as themaValue from " . TABLE_CONFIGURATION . " where configuration_key = 'SITE_THEMA'"); $configuration = tep_db_fetch_array($configuration_query); define($configuration['themaKey'], $configuration['themaValue']); if($configuration['themaKey']==""){ define(THEMA_STYLE, "stylesheet.css"); // infobox require(DIR_WS_CLASSES . 'boxes.php'); } else{ // Thema_infobox require(DIR_WS_CLASSES . 'thema_boxes.php'); define(THEMA_STYLE, DIR_WS_CLASSES . "thema/" . SITE_THEMA . "/stylesheet.css"); } First of all we are looking for SITE_THEMA and fetching its value, $configuration_query = tep_db_query("select configuration_key as themaKey, configuration_value as themaValue from " . TABLE_CONFIGURATION . " where configuration_key = 'SITE_THEMA'"); $configuration = tep_db_fetch_array($configuration_query); define($configuration['themaKey'], $configuration['themaValue']); Then we are checking value if($configuration['themaKey']==""){ define(THEMA_STYLE, "stylesheet.css"); // infobox require(DIR_WS_CLASSES . 'boxes.php'); } else{ // Thema_infobox require(DIR_WS_CLASSES . 'thema_boxes.php'); define(THEMA_STYLE, DIR_WS_CLASSES . "thema/" . SITE_THEMA . "/stylesheet.css"); Above we are checking the SITE_THEMA by looking $configuration['themaKey'] if SITE_THEMA is empty it means that you didn't insert INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Site Thema Options', 'SITE_THEMA', '1', 'You can change site thema form here.', '1', '19', 'tep_cfg_select_option(array('1', '2', '3', '4', '5'), ', now()); Then code turn it's oreginal to use stylesheet.css. So if you make wrong Thema installation nothing happen to oreginal OSC. And calling // infobox require(DIR_WS_CLASSES . 'boxes.php'); define(THEMA_STYLE, "stylesheet.css"); If you install it correctly, code will use below line. require(DIR_WS_CLASSES . 'thema_boxes.php'); define(THEMA_STYLE, DIR_WS_CLASSES . "thema/" . SITE_THEMA . "/stylesheet.css"); And we made some modification on boxes.php and renamed to thema_boxes.php. Modifications are; Open catalog/includes/classes/boxes.php and find (line 102) $left_corner = tep_image(DIR_WS_IMAGES . 'infobox/corner_left.gif'); and replace with $left_corner = tep_image(DIR_WS_IMAGES . 'infobox/thema/' . SITE_THEMA . '/corner_left.gif'); find (line 104) $left_corner = tep_image(DIR_WS_IMAGES . 'infobox/corner_right_left.gif'); and replace with $left_corner = tep_image(DIR_WS_IMAGES . 'infobox/thema/' . SITE_THEMA . '/corner_right_left.gif'); find (line 107) $right_arrow = '<a href="' . $right_arrow . '">' . tep_image(DIR_WS_IMAGES . 'infobox/arrow_right.gif', ICON_ARROW_RIGHT) . '</a>'; replace with $right_arrow = '<a href="' . $right_arrow . '">' . tep_image(DIR_WS_IMAGES . 'infobox/thema/' . SITE_THEMA . '/arrow_right.gif', ICON_ARROW_RIGHT) . '</a>'; find (line 112) $right_corner = $right_arrow . tep_image(DIR_WS_IMAGES . 'infobox/corner_right.gif'); replace with $right_corner = $right_arrow . tep_image(DIR_WS_IMAGES . 'infobox/thema/' . SITE_THEMA . '/corner_right.gif'); find (line 147) $info_box_contents[] = array(array('params' => 'height="14" class="infoBoxHeading"', 'text' => tep_image(DIR_WS_IMAGES . 'infobox/corner_left.gif')), replace with $info_box_contents[] = array(array('params' => 'height="14" class="infoBoxHeading"', 'text' => tep_image(DIR_WS_IMAGES . 'infobox/thema/' . SITE_THEMA . '/corner_left.gif')), find (line 149) array('params' => 'height="14" class="infoBoxHeading"', 'text' => tep_image(DIR_WS_IMAGES . 'infobox/corner_right_left.gif'))); replace with array('params' => 'height="14" class="infoBoxHeading"', 'text' => tep_image(DIR_WS_IMAGES . 'infobox/thema/' . SITE_THEMA . '/corner_right_left.gif'))); Last step change all <link rel="stylesheet" type="text/css" href="stylesheet.css"> line with <link rel="stylesheet" type="text/css" href="<? echo THEMA_STYLE;?>"> Open all files under catalog directory +catalog/account.php +catalog/account_edit.php +catalog/account_edit_process.php +catalog/account_history.php +catalog/account_history_info.php +catalog/address_book.php +catalog/address_book_process.php +catalog/advanced_search.php +catalog/advanced_search_result.php +catalog/checkout_confirmation.php +catalog/checkout_payment.php +catalog/checkout_payment_address.php +catalog/checkout_shipping.php +catalog/checkout_shipping_address.php +catalog/checkout_success.php +catalog/conditions.php +catalog/contact_us.php +catalog/create_account.php +catalog/create_account_process.php +catalog/create_account_success.php +catalog/default.php +catalog/info_shopping_cart.php +catalog/login.php +catalog/password_forgotten.php +catalog/popup_search_help.php +catalog/privacy.php +catalog/product_info.php +catalog/product_notifications.php +catalog/product_reviews.php +catalog/product_reviews_info.php +catalog/product_reviews_write.php +catalog/products_new.php +catalog/reviews.php +catalog/shipping.php +catalog/shopping_cart.php +catalog/specials.php +catalog/stylesheet.css +catalog/tell_a_friend.php find line <link rel="stylesheet" type="text/css" href="stylesheet.css"> replace with <link rel="stylesheet" type="text/css" href="<? echo THEMA_STYLE;?>"> We will update the Thema contribution weekly.So we need your modifcations and special thema addings. Thank you. [/code]
  11. MultiServis.Net

    [CONTRIBUTION] Thema Options 1.0 (5 different themas)

    Okey; Lets work together.
  12. MultiServis.Net

    [CONTRIBUTION] Thema Options 1.0 (5 different themas)

    After installing the thema contribution go to administration panel. I put two snapshot where is the thema options. You see at http://shop.multiservis.net/thema_1.gif http://shop.multiservis.net/thema_2.gif
  13. MultiServis.Net

    [CONTRIBUTION] Thema Options 1.0 (5 different themas)

    After installing the contribution you will see a options under administartion->configuration page. At the and there will an option name is Site Thema Options. Clich there..
  14. http://www.oscommerce.com/downloads.php/co...ions,642/type,3 It is about thema. Working site http://shop.multiservis.net You open a free shop at http://shop.multiservis.net/gir.php to testing thema styles.
×