mushindo Posted October 16, 2002 Share Posted October 16, 2002 I am trying to accomplish two things here, with the first one being most important with the "New Products for month of..." that displays on the default pages of the cart: 1. Columns: It is currently preset to 3 columns wide, but I would like to change this to 2 columns wide instead. Any ideas? NOTE: I have already tried goign into the admin section and changing the Maximum Values.Categories to list per roow' feature, and it only effects the categories sections. 2. Header: trying to figure out a way to add a graphical header into this table, vs the current coloreed header with text. Most important here would be location of graphic header os it pulls inot the secure site. Most liklely graphic woudl be placed in: catalog/includes/launguages/english/images/ folder or something similar I assume. Any help is greatly appreciated! Thanks in advance! :P Sincerely, Bruce 19 contributions submitted Link to comment Share on other sites More sharing options...
Ajeh Posted October 16, 2002 Share Posted October 16, 2002 Edit /includes/modules/new_products.php and find the code: if ($col > 2) { $col = 0; $row ++; } Set the > 2 to 1 less than the number of columns you want. I am not sure what you are trying to do with the header :shock: Link to comment Share on other sites More sharing options...
mushindo Posted October 16, 2002 Author Share Posted October 16, 2002 Edit /includes/modules/new_products.php and find the code: if ($col > 2) { $col = 0; $row ++; } Set the > 2 to 1 less than the number of columns you want. I am not sure what you are trying to do with the header :shock: Linda..my favorite osComm advisor! :D Here is a sample of what I am trying to accomplish with the "header" deal. Look at side tables for reference and you will get the picture. http://www.bmfwholesale.com/default.php By the way, I finally figured out how to integrate both your attributes features and that js textfield HTMl editor! Works great!@ Sincerely, Bruce 19 contributions submitted Link to comment Share on other sites More sharing options...
Ajeh Posted October 16, 2002 Share Posted October 16, 2002 You mean the header of the individual boxes? If so, there is a way using stylesheets to tell it to set the background to an image. Naturally I cannot recall how :shock: But that is where I would look, if that is the header you are referring to. Also, feel free to tell me how you fixed the issues with the HTML editior thing. I would be curious. Link to comment Share on other sites More sharing options...
mushindo Posted October 16, 2002 Author Share Posted October 16, 2002 You mean the header of the individual boxes? If so, there is a way using stylesheets to tell it to set the background to an image. Naturally I cannot recall how :shock: But that is where I would look, if that is the header you are referring to. Also, feel free to tell me how you fixed the issues with the HTML editior thing. I would be curious. Hey Linda, Yes I was referring to the headers of the individual boxes. Currently though we are using a tweaked contribution that allows us to use graphical headers instead of it generating a table header. Sample here: http://www.bmfwholesale.com/default.php I have considered using style sheets, but truthfully there is too many errors with backgrounds for tables in Netscape still to this day in tersm of how it displays them...forcing you to use a transparent gif for height, etc...so we opted to go this route. Regarding the final fix on that situation we talked about, here is what I did: 1. Updated version of WYSIWYG editor: http://www.oscommerce.com/downloads.php/co...ions,478/type,3 2. Version 2 of your "Alternate Attributes" contribution. Version 3 for some reason threw some nasty errors off, as did version 1, but version 2 seems to work beautifully. My only concern now is in future updates to our catalog template, if the categories.php page changes too much, we won't be able to use version 2 of this. The editor though we can use on anything now! We are even trying to incorporate it into the Admin Newsletter Manager section right now! We were finally successful in creating dynamic driven conditions.php, privacy.php and even a cool contact_us.php pages that are template based and pull information from the database! Also regarding the "Contact Us" dynamic section, I figured out an easy fix for listing full company name, address, even hours! Just required me going into the invoice.php page, pulling the coding from there...pasting into the contact_us.php...and inserting hours below the "Store Name and Address' section of the configuration under admin. Neat huh?..lol. You can view these things live in the link above. If interested, let me know and I can send you copies of these contributions we made. Also think they are still listed at top of the new contributions table on the main osComm website. :D Sincerely, Bruce 19 contributions submitted Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.