Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

nicko107

Pioneers
  • Posts

    117
  • Joined

  • Last visited

Everything posted by nicko107

  1. This code generate that title bar: $list_box_contents = array(); for ($col=0, $n=sizeof($column_list); $col<$n; $col++) { switch ($column_list[$col]) { case 'PRODUCT_LIST_MODEL': $lc_text = TABLE_HEADING_MODEL; $lc_align = ''; break; case 'PRODUCT_LIST_NAME': $lc_text = TABLE_HEADING_PRODUCTS; $lc_align = ''; break; case 'PRODUCT_LIST_MANUFACTURER': $lc_text = TABLE_HEADING_MANUFACTURER; $lc_align = ''; break; case 'PRODUCT_LIST_PRICE': $lc_text = TABLE_HEADING_PRICE; $lc_align = 'right'; break; case 'PRODUCT_LIST_QUANTITY': $lc_text = TABLE_HEADING_QUANTITY; $lc_align = 'right'; break; case 'PRODUCT_LIST_WEIGHT': $lc_text = TABLE_HEADING_WEIGHT; $lc_align = 'right'; break; case 'PRODUCT_LIST_IMAGE': $lc_text = TABLE_HEADING_IMAGE; $lc_align = 'center'; break; case 'PRODUCT_LIST_BUY_NOW': $lc_text = TABLE_HEADING_BUY_NOW; $lc_align = 'center'; break; } if ( ($column_list[$col] != 'PRODUCT_LIST_BUY_NOW') && ($column_list[$col] != 'PRODUCT_LIST_IMAGE') ) { $lc_text = tep_create_sort_heading($HTTP_GET_VARS['sort'], $col+1, $lc_text); } $list_box_contents[0][] = array('align' => $lc_align, 'params' => 'class="productListing-heading"', 'text' => ' ' . $lc_text . ' '); } In this code: <?php echo mws_header_main(''); ?> its this the code that generate the header of the graphic borders for see a title in the header of graphic borders have to add the text similar this: <?php echo mws_header_main('text here to see in header of graphic borders'); ?> But I dont know how to integrate the title bar of product listing in the header of the graphical borders I try to doing this with stylesheet.css, this is the result: find: .productListing-heading { font-family: Verdana, Arial, sans-serif; font-size: 10px; background: #b6b7cb; color: #FFFFFF; font-weight: bold; } replace: .productListing-heading { font-family: Verdana, Arial, sans-serif; font-size: 10px; background: #b6b7cb; color: #FFFFFF; font-weight: bold; position:relative; top:-1.4em; } but this move the titles: Product Name+ and Price only without the backgorund and dont move the title Buy Now
  2. Hi Thats need more change in the code of product_listing.php This title bar have defined the background colors in catalog/stylesheet.css file in: .productListing-heading { font-family: Verdana, Arial, sans-serif; font-size: 10px; background: #b6b7cb; color: #FFFFFF; font-weight: bold; } you can change the background color to white and the color of the text to other color: .productListing-heading { font-family: Verdana, Arial, sans-serif; font-size: 10px; background: #FFFFFF; color: #b6b7cb; font-weight: bold; } And the text: "Displaying 1 to 9 (of 9 products) Result Pages: 1 " for move out of the borders of the module and display over it you can do this: the code for the top of this file could be similar this: <?php /* $Id: product_listing.php,v 1.44 2003/06/09 22:49:59 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ $listing_split = new splitPageResults($listing_sql, MAX_DISPLAY_SEARCH_RESULTS, 'p.products_id'); if ( ($listing_split->number_of_rows > 0) && ( (PREV_NEXT_BAR_LOCATION == '1') || (PREV_NEXT_BAR_LOCATION == '3') ) ) { ?> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="smallText"><?php echo $listing_split->display_count(TEXT_DISPLAY_NUMBER_OF_PRODUCTS); ?></td> <td class="smallText" align="right"><?php echo TEXT_RESULT_PAGE . ' ' . $listing_split->display_links(MAX_DISPLAY_PAGE_LINKS, tep_get_all_get_params(array('page', 'info', 'x', 'y'))); ?></td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <?php echo mws_header_main(''); ?> <td> <?php } $list_box_contents = array(); for ($col=0, $n=sizeof($column_list); $col<$n; $col++) { switch ($column_list[$col]) { case 'PRODUCT_LIST_MODEL': $lc_text = TABLE_HEADING_MODEL; $lc_align = ''; break; The modification: before: <?php } $list_box_contents = array(); add this: <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <?php echo mws_header_main(''); ?> <td> and deleted the other code: // Graphical Borders ?> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <?php echo mws_header(''); ?> <td> <?php // Graphical Borders - end modification For move the title bar to the top of graphical borders I think with stylesheet.css could be possible with padding or changing the code in product_listing.php I have to see this more
  3. This is the code of catalog/includes/classes/boxes.php with only the changes of Graphical Borders contribution: <?php /* $Id: boxes.php,v 1.33 2003/06/09 22:22:50 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ class tableBox { var $table_border = '0'; var $table_width = '100%'; var $table_cellspacing = '0'; var $table_cellpadding = '2'; var $table_parameters = ''; var $table_row_parameters = ''; var $table_data_parameters = ''; // class constructor function tableBox($contents, $direct_output = false) { $tableBox_string = '<table border="' . tep_output_string($this->table_border) . '" width="' . tep_output_string($this->table_width) . '" cellspacing="' . tep_output_string($this->table_cellspacing) . '" cellpadding="' . tep_output_string($this->table_cellpadding) . '"'; if (tep_not_null($this->table_parameters)) $tableBox_string .= ' ' . $this->table_parameters; $tableBox_string .= '>' . "\n"; for ($i=0, $n=sizeof($contents); $i<$n; $i++) { if (isset($contents[$i]['form']) && tep_not_null($contents[$i]['form'])) $tableBox_string .= $contents[$i]['form'] . "\n"; $tableBox_string .= ' <tr'; if (tep_not_null($this->table_row_parameters)) $tableBox_string .= ' ' . $this->table_row_parameters; if (isset($contents[$i]['params']) && tep_not_null($contents[$i]['params'])) $tableBox_string .= ' ' . $contents[$i]['params']; $tableBox_string .= '>' . "\n"; if (isset($contents[$i][0]) && is_array($contents[$i][0])) { for ($x=0, $n2=sizeof($contents[$i]); $x<$n2; $x++) { if (isset($contents[$i][$x]['text']) && tep_not_null($contents[$i][$x]['text'])) { $tableBox_string .= ' <td'; if (isset($contents[$i][$x]['align']) && tep_not_null($contents[$i][$x]['align'])) $tableBox_string .= ' align="' . tep_output_string($contents[$i][$x]['align']) . '"'; if (isset($contents[$i][$x]['params']) && tep_not_null($contents[$i][$x]['params'])) { $tableBox_string .= ' ' . $contents[$i][$x]['params']; } elseif (tep_not_null($this->table_data_parameters)) { $tableBox_string .= ' ' . $this->table_data_parameters; } $tableBox_string .= '>'; if (isset($contents[$i][$x]['form']) && tep_not_null($contents[$i][$x]['form'])) $tableBox_string .= $contents[$i][$x]['form']; $tableBox_string .= $contents[$i][$x]['text']; if (isset($contents[$i][$x]['form']) && tep_not_null($contents[$i][$x]['form'])) $tableBox_string .= '</form>'; $tableBox_string .= '</td>' . "\n"; } } } else { $tableBox_string .= ' <td'; if (isset($contents[$i]['align']) && tep_not_null($contents[$i]['align'])) $tableBox_string .= ' align="' . tep_output_string($contents[$i]['align']) . '"'; if (isset($contents[$i]['params']) && tep_not_null($contents[$i]['params'])) { $tableBox_string .= ' ' . $contents[$i]['params']; } elseif (tep_not_null($this->table_data_parameters)) { $tableBox_string .= ' ' . $this->table_data_parameters; } $tableBox_string .= '>' . $contents[$i]['text'] . '</td>' . "\n"; } $tableBox_string .= ' </tr>' . "\n"; if (isset($contents[$i]['form']) && tep_not_null($contents[$i]['form'])) $tableBox_string .= '</form>' . "\n"; } $tableBox_string .= '</table>' . "\n"; if ($direct_output == true) echo $tableBox_string; return $tableBox_string; } } class infoBox extends tableBox { // Graphical Borders function infoBox($contents) { $info_box_contents = array(); $info_box_contents[] = array('text' => $this->mws_infoBoxContents($contents)); $this->tableBox($info_box_contents, true); } function mws_infoboxcontents($contents) { global $mws_headerText, $mws_headerLink; $this->table_cellpadding = '0'; $this->align = 'center'; $info_box_contents = array(); $info_box_contents[] = array(array('text' => tep_draw_separator('pixel_trans.gif', '100%', '1'))); for ($i=0, $n=sizeof($contents); $i<$n; $i++) { $info_box_contents[] = array(array('align' => (isset($contents[$i]['align']) ? $contents[$i]['align'] : ''), 'form' => (isset($contents[$i]['form']) ? $contents[$i]['form'] : ''), 'params' => 'class="boxText"', 'text' => (isset($contents[$i]['text']) ? $contents[$i]['text'] : ''))); } $output = ' <table cellspacing="0" cellpadding="0" border="0"> <tr> <td>' . tep_image(DIR_WS_IMAGES . 'infobox/upper_left.gif','') . '</td> <td class="mws_boxTop" width="100%">' . $mws_headerText; if ($mws_headerLink != false) { $output .= ' <a href="' . $mws_headerLink . '">' . tep_image(DIR_WS_IMAGES . 'infobox/arrow_right.gif', ICON_ARROW_RIGHT) . '</a>'; } $output .= '</td> <td>' . tep_image(DIR_WS_IMAGES . 'infobox/upper_right.gif','') . '</td> </tr> <tr> <td class="mws_boxLeft"></td> <td class="mws_boxCenter">' . $this->tableBox($info_box_contents) . '</td> <td class="mws_boxRight"></td> </tr> <tr> <td>' . tep_image(DIR_WS_IMAGES . 'infobox/lower_left.gif','') . '</td> <td class="mws_boxBottom"></td> <td>' . tep_image(DIR_WS_IMAGES . 'infobox/lower_right.gif','') . '</td> </tr> </table>'; return $output; } // Graphical Borders - end modification function infoBoxContents($contents) { $this->table_cellpadding = '3'; $this->table_parameters = 'class="infoBoxContents"'; $info_box_contents = array(); $info_box_contents[] = array(array('text' => tep_draw_separator('pixel_trans.gif', '100%', '1'))); for ($i=0, $n=sizeof($contents); $i<$n; $i++) { $info_box_contents[] = array(array('align' => (isset($contents[$i]['align']) ? $contents[$i]['align'] : ''), 'form' => (isset($contents[$i]['form']) ? $contents[$i]['form'] : ''), 'params' => 'class="boxText"', 'text' => (isset($contents[$i]['text']) ? $contents[$i]['text'] : ''))); } $info_box_contents[] = array(array('text' => tep_draw_separator('pixel_trans.gif', '100%', '1'))); return $this->tableBox($info_box_contents); } } // Graphical Borders class infoBoxHeading extends tableBox { function infoBoxHeading($contents, $left_corner = true, $right_corner = true, $right_arrow = false) { global $mws_headerText, $mws_headerLink; $mws_headerText = $contents[0]['text']; $mws_headerLink = $right_arrow; } } // Graphical Borders - end modification class contentBox extends tableBox { function contentBox($contents) { $info_box_contents = array(); $info_box_contents[] = array('text' => $this->contentBoxContents($contents)); $this->table_cellpadding = '1'; $this->table_parameters = 'class="infoBox"'; $this->tableBox($info_box_contents, true); } function contentBoxContents($contents) { $this->table_cellpadding = '4'; $this->table_parameters = 'class="infoBoxContents"'; return $this->tableBox($contents); } } class contentBoxHeading extends tableBox { function contentBoxHeading($contents) { $this->table_width = '100%'; $this->table_cellpadding = '0'; $info_box_contents = array(); $info_box_contents[] = array(array('params' => 'height="14" class="infoBoxHeading"', 'text' => tep_image(DIR_WS_IMAGES . 'infobox/corner_left.gif')), array('params' => 'height="14" class="infoBoxHeading" width="100%"', 'text' => $contents[0]['text']), array('params' => 'height="14" class="infoBoxHeading"', 'text' => tep_image(DIR_WS_IMAGES . 'infobox/corner_right_left.gif'))); $this->tableBox($info_box_contents, true); } } class errorBox extends tableBox { function errorBox($contents) { $this->table_data_parameters = 'class="errorBox"'; $this->tableBox($contents, true); } } class productListingBox extends tableBox { function productListingBox($contents) { $this->table_parameters = 'class="productListing"'; $this->tableBox($contents, true); } } // Graphical Borders class noborderBox extends tableBox { function noborderBox($contents) { $this->table_cellpadding = '0'; $this->table_cellspacing = '3'; $this->table_data_parameters = 'class="noborderBox"'; $this->tableBox($contents, true); } } // Graphical Borders - end modification ?>
  4. Hi See steps 4.1 and 4.2 if in the code you replace dont replace the last: } in the file: catalog/includes/classes/boxes.php some } is possible that could be deleted see the files include in folder: catalog_for_new_shop_only/catalog/includes/classes/boxes.php and compare this file with the file of you catalog for see is there are a } that have to deleted of your file This error appear when } or ; are needed in the code or there are one that need to deleted, when copy and paste by error without last } or last ; in the code I dont try to wrap all the store before, but do this: open file: catalog/includes/header.php Find the table of header, find this: <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr class="header"> add before: <table border="0" width="95%" cellspacing="0" cellpadding="0" align="center"> <tr> <?php echo mws_header_main(''); ?> <td> 2. open file: catalog/includes/footer.php and at botton of the file add the next code: </td> <?php echo mws_footer_main(''); ?> </tr> </table> In the code of header I reduce the with of store to 95% for see better the borders but you can change to the with that you want For reduce to monitors with 800x600 of resolution change the 95% for 750 that define the width of the store And I add the code: align="center" to display the store centered in the cases that reduce the width I used the mws_header_main but you can create others style for the borders of all of store, in Graphical borders 2.1 I create two different for the borders of boxes of columns to the borders of main modules
  5. Hi Edit the file: catalog/includes/modules/product_listing.php 1. Find: Released under the GNU General Public License */ After that add: // Graphical Borders ?> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <?php echo mws_header(''); ?> <td> <?php // Graphical Borders - end modification 2. and ADD at bottom of file: </td> <?php echo mws_footer(''); ?> </tr> </table> Thats add the rounded borders for the product listing module
  6. Hi the boxes of columns change automatically when finish the installation you see if you have this line in the box of the columns: new infoBox($info_box_contents); in catalog/includes/boxes/files.php files.php are the files that display in the column of your catalog: categories.php, manuefacturers.php,... The graphical borders contribution change this class of infobox to display the graphics borders If you have other classe define for this boxes then its that cause dont change the borders, but if you have this line then see if you do all changes of intructions and have all the files uploaded
  7. Hi Im not an expert in work with Photosop and dont know very well how create the slices for the borders. I create some sets of borders manually. I going to see how create the slices for the border of module In the new version of Individual boxes 1.2 its included the first graphics borders, you can find it in the pack "Customization instructions to version 1.2 - Instrucciones de personalizacion", is the set of borders that are in folder: infobox_skins/skin7/
  8. Hi I upload a new version of individual boxes and now Im working in instructions to applied to the Featured products modules, since version 1.1 of individual boxes there are others version of Featured products and need other changes to display the individual boxes In two or three days I finish it and I can upload
  9. Hi I think the better option is use the maximun display products of the new products list ( option Open file: catalog/featured_products.php and Find: MAX_DISPLAY_FEATURED_PRODUCTS replace by: MAX_DISPLAY_PRODUCTS_NEW with this change the max. products to display in featured products list is the same of option: admin >> Configuration >> Maximum Values >> New Products Listing Other method is insert a new sql in database and define other option for this file featured_products.php but this add other querie to database
  10. Hi JW75 For applied the graphical borders to the columns boxes is other contribution that do that See contribution: Graphical Borders http://www.oscommerce.com/community/contributions,1702 Use the instructions of version: Graphical Borders v2.1 of 22 november you only need to do that changes of this contribution and all of the boxes of columns modified automatically if you applied the instructions of Individual boxes to any of the boxes then restore that files and do the modification of Graphical borders on it The instructions indicate where are the same steps in both contributions and made easy for install both This contribution Individual boxes is for main modules ( new_products.php module, also purchased module and the list of special products) to display the products of thats modules in individual boxes and with the borders of contribution Graphical borders
  11. Hi replace that code by this: <td background="images/infobox_module/right.gif" class="smallText" width="14"><img src="images/infobox_module/right.gif" width="14" height="149" /></td> (only need to define width to 14 pixels) In 1024 x 768 I dont see now double borders, I cant try bigger resolutions but I dont know if you can resolve this. And for the other questions: "I still have a problem with double borders on the right side of my boxes." - See the new version 1.2 that I upload today, you can find in it instructions to update the version 1.1 to the new 1.2 that have fixes this problems and others. Is easy to do, only need change this files: catalog/stylesheet.css catalog/specials.php catalog/includes/modules/new_products.php catalog/includes/modules/also_purchased_products.php "Would it be possibel to to do this with optional related products also? Still Needed" - I dont installed thats contribution yet but the next days I going to install to see how applied the individual boxes to it "Would some kind soul who is good with Paint Shop \ photo change the border colours to blend in with the rest of my site please? The ones I am using are from the demo01 folder." - with hue and saturation utility of a desing application you could change the colors, this options can colorise the colors of graphics "I dont have graphical borders installed is this something I need to do for the borders to work properly ? Seems to be working ok with out them" - dont needed, each contribution have his instructions. Only if you want the graphics borders to boxes of columns you need install Graphical Borders contribution, but in that case dont reapet some steps that are the same in both contributions, this steps are indicate in the instructions "How do I get the rounded corners at the bottom of star product? Still Needed" - I see you store, I suppose you the new version of Graphical borders and the addons to applied to Star product Good shop, with the new versions of Individual boxes 1.2 and Graphical borders 2.1 now you can used different graphics borders to products modules and boxes of columns. In a few days I upload instructions to apply individual boxes to Featured Products module and the product_listing.php Sorry for no repply before in the forum, Im building the new versions, i hope the new version fixed thats and display better the instructions
  12. Hi I upload the new version: Individual boxes 1.2 http://www.oscommerce.com/community/contributions,4491 NEW FEATURES AND FIXES: -------------------------------- - Code Simplified and some fixes. - Fixes for left and right borders that in some cases appear double. - Fix for Also Products Purchase module. - Add option to modified in the stylesheet.css file the background colors of individual boxes, and the background of left side can have a different color of background f right side of individual boxes. - The individual boxes have different graphics borders if its combine with Graphical Borders Contribution, graphics borders of boxes of columns with Graphical Borders Contribution and the graphical borders for Individual Boxes now are different to have more veariety in the design of the catalog. - the left graphics borders now have the same with that the right graphics borders (14 pixels), and others fixes are in the code that display the individual boxes. - Include instructions to update version 1.1 to 1.2 There are two new packs one the complete pack: Individual boxes 1.2 and second: "Customization instructions to version 1.2 - Instrucciones de personalizacion" this second pack include instructions to customize the individual boxes, numbers of charapters of short description and product name, background colors, change graphic borders and NEW or SPECIAL tags,.... and several packs of graphics borders wit different designs, and include the graphics borders in PSD file In a few days I upload others packs (addons to 1.2) for applied individual boxes to Featured Products and Special on default modules, and Im study how to applied to product_listing.php with the contribution "Product Listing in Columns".
  13. Hi The instructions to applied Graphical Borders to the modules created by other contributions are uploaded, the instructions are for the next contributions: - "Star Product" - "Krika News" - "Featured Products" - "Specials on Default.php" NOTE: The last 2 contributions create a module that display several products but Graphical borders only modified the borders of the module, to modified this two modules to display the products in individual boxes use the contribution: Individual boxes for products in central modules http://www.oscommerce.com/community/contributions,4491 The pack with instructions to applied to other contribution called: Instructions to applied Graphical borders v2.1 to modules of others contributions, see list http://www.oscommerce.com/community/contributions,1702
  14. Hi I upload a new version of Graphical borders Graphical Borders v2.1 http://www.oscommerce.com/community/contributions,1702 - include fixed in width of left side graphics of borders, left side dont have the same of right. I prefer fixed it now for have a easy creation of new graphics borders and for this could be have any effect in Individual boxes contributions in future. - the graphics are optimize to have small size in kbs - Graphics of borders of columns boxes now is different of graphics of main modules, boxes and modules have different look see this post for more information: http://www.oscommerce.com/forums/index.php?sho...;p=975542 Im working now in a new version for Individual boxes with the modifications introduce in Graphical borders v2.1 and with some fixes (fix to dont display double left and right borders, ...) And I?m study combine contribution Product Listing in Columns (http://www.oscommerce.com/community/contributions,112) with individual boxes for display individual boxes in products listing too
  15. Hi I upload a new version: Graphical Borders v2.1 http://www.oscommerce.com/community/contributions,1702 Include some fixes and more features: - The graphics borders of columns boxes have now different graphics to the borders of main modules, this display a different look in columns and main modules - graphics are optimize and have smaller kbs that version 2 - graphics of left side of boxes change to 14 pixels width and now are the same of right side. - Install instructions and update intructions (v2 - v2.1) in english and spanish And I upload another pack: Extra pack to 2.1 - some different sets of borders and PSD files this pack include some sets of graphics borders with different styles to choose and the PSD files of borders with each style in layers to customization the graphics IMPORTANT NOTE: I change the width of left graphics because it have different width of right side * left upper corner graphic: upper_right.gif version 2 have width 12x12, now have 14x12 the upper_right.gif file have 14x12 pixels in version 2 and this version with this both files, right and left have the same width I prefer to do this fix now for simplificate the creation of new graphics and for prevent errors in future * left border: left.gif old: 12x2 and new: 14x2 pixels * botton left corner: lower_left.gif , old: 12x2 and new: 14x12 This only will have effect in Individual boxes where the width of thats file are define in code, but only have to do the next change in code: width="12" to width="14" in all locations where appear this code In the next version of Individual boxes will be include this fix In a few days I upload a new instructions to applied this contribution to module of Star Products, and others contributions, Krika news,... I?m working in a new version for Individual boxes contribution that include graphics borders of this contributions and modifications include in this new version of Graphical borders This new version have fixes for double left and rigth borders, and others fixes. In a other pack I upload the instructions for applied Individual boxes for products of Featured Products module and Specials on default contributions
  16. Hi In new version I going to add the next: 1. FIND this line (appear in two locations in file): <td background="images/infobox/left.gif"> </td> REPLACE (in two locations): <td background="images/infobox/left.gif" width="12"> </td> That is for the double left borders 2. FIND (appear in two locations): <td background="images/infobox/right.gif" class="smallText"><img src="images/infobox/right.gif" width="14" height="149" /></td> REPLACE in two locations by this: <td background="images/infobox/right.gif" width="12" class="smallText"><img src="images/infobox/right.gif" width="14" height="149" /></td> that is for the double right border
  17. Hi I have to upload a new version the next week I creating a new instructions to Featured Products and Specials on Default contributions too I correct this in this version
  18. Hi see this post: http://www.oscommerce.com/forums/index.php?sho...6740&st=40# the post of 6 october there is explain in detailed how to applied individual boxes to the Star product module
  19. Hi Im creating new version for thats contributions, in the next days or next week I upload it
  20. Hi there are a version of 24 May 2006 Featured Products v1.5.6 of guardianms that include this option the file needed is: catalog/admin/featured.php see the different with Winmerge program to compare both file, and do the changes to have this option in admin only see in line 246 the correct path of directory images
  21. Hi in main page the featured module display the title with link, and this link use the style define in catalog/stylesheet.css in: title of module: color of text define here: A.headerNavigation { color: #FFFFFF; } color when posicionate the cursor over the title: A.headerNavigation:hover { color: #ffffff; } and when posicionate the cursor over the title appear a underline, define here: A:hover { color: #AABBDD; text-decoration: underline; } Is posible you have a different colors and can see the title If you want to quit the link of title and do the change to display only the title Featured Products do this: OPEN file: catalog/includes/modules/featured.php 1. FIND: $featured_products_category_id = $new_products_category_id; $cat_name_query = tep_db_query("select categories_name from " . TABLE_CATEGORIES_DESCRIPTION . " where categories_id = '" . $featured_products_category_id . "' limit 1"); $cat_name_fetch = tep_db_fetch_array($cat_name_query); $cat_name = $cat_name_fetch['categories_name']; $info_box_contents = array(); if ( (!isset($featured_products_category_id)) || ($featured_products_category_id == '0') ) { $info_box_contents[] = array('align' => 'left', 'text' => '<a class="headerNavigation" href="' . tep_href_link(FILENAME_FEATURED_PRODUCTS) . '">' . TABLE_HEADING_FEATURED_PRODUCTS . '</a>'); REPLACE: $info_box_contents = array(); if ( (!isset($featured_products_category_id)) || ($featured_products_category_id == '0') ) { $info_box_contents[] = array('text' => sprintf(TABLE_HEADING_FEATURED_PRODUCTS)); 2. AND FIND: $info_box_contents[] = array('align' => 'left', 'text' => sprintf(TABLE_HEADING_FEATURED_PRODUCTS_CATEGORY, $cat_name)); REPLACE: $info_box_contents[] = array('align' => 'left', 'text' => sprintf(TABLE_HEADING_FEATURED_PRODUCTS)); this second step quit the category name in title
  22. This option will be appear in: Admin >> Configuration >> Featured Is a new submenu in menu configuration of admin in this option appear a list with two options: Display Featured Products Maximum Display of Featured Edit "Maximum Display of Featured" and can change the number of products to display in featured module
  23. Hi To display the name of category in multilingue do the next: OPEN file: catalog/includes/modules/featured.php FIND: $cat_name_query = tep_db_query("select categories_name from " . TABLE_CATEGORIES_DESCRIPTION . " where categories_id = '" . $featured_products_category_id . "' limit 1"); REPLACE: $cat_name_query = tep_db_query("select categories_name from " . TABLE_CATEGORIES_DESCRIPTION . " where categories_id = '" . $featured_products_category_id . "' and language_id = '" . $languages_id . "' limit 1"); with this when enter a category the title of module display: Featured Products in category name in each language
  24. hi try this: in file: catalog/includes/filenames.php find: define('FILENAME_DEFAULT', 'index.php'); add after: define('FILENAME_DEFAULT_SPECIALS', 'default_specials.php'); this define the file
  25. Hi About the problems with display images if possible that Tinymce need be configure the relative urls, there information in this links: http://tinymce.moxiecode.com/tinymce/docs/...ative_urls.html changing relative urls to false, is true by default and document_base_url http://tinymce.moxiecode.com/tinymce/docs/faq.html#paths http://tinymce.moxiecode.com/tinymce/docs/...t_base_url.html
×
×
  • Create New...