Jump to content

CoolnQuiet

Members
  • Content count

    79
  • Joined

  • Last visited

Everything posted by CoolnQuiet

  1. CoolnQuiet

    Product Description 1.3

    Hi, i've installed this contrib (Many thanks to those involved) but I am having 1 small problem. The description is showing fine but the more>>> link at the end is not showing. Any ideas where I should look and what for. Thanks again
  2. CoolnQuiet

    Register Globals Support

    Thanks for the reply rich, I am still developing & testing my store so I am going to leave the patch installed and rg left off. If I come across anything during my testing I will let you know but so no probs. Is there anything I can look for specifically like problems during checkout etc as I am going to test my store to death before I unleash it on the net. Regards John
  3. I have everything working fine, well almost. I have turned off email error reporting via the database. I have checked my error log file and there seems to be some information missing: 02/05/2007 11:01:41,403,http://www.coolnquiet.co.uk,,, 02/05/2007 11:04:51,404,http://www.coolnquiet.co.uk,,, 02/05/2007 11:04:55,404,http://www.coolnquiet.co.uk,,, 02/05/2007 11:04:57,404,http://www.coolnquiet.co.uk,,, See there is a series of commas at the end of each line that I believe should contain some information. Any Ideas Thanks
  4. CoolnQuiet

    Graphical Borders on RSS News

    Did you put the product_name string in your graphical borders header before uploading and trying? I.E yours shows <?php echo mws_header (''); ?> when mine shows <?php echo mws_header ($products_name); ?> My product_info.php looks exactly like this: <!-- body_text //--> <?php $product_info_query = tep_db_query("select p.products_id, pd.products_name, pd.products_description, p.products_model, p.products_quantity, p.products_image, pd.products_url, p.products_price, p.products_tax_class_id, p.products_date_added, p.products_date_available, p.manufacturers_id from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_status = '1' and p.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "'"); $product_info = tep_db_fetch_array($product_info_query); $products_name = $product_info['products_name']; ?> <?php echo mws_header ($products_name); ?> this is how it looks on mine http://www.coolnquiet.co.uk/product_info.p...;products_id=28 I don't think it's the HTC as this particular line just outputs the string ($products_name) which is the result from the database query above it and then it outputs this on the braphical borders header (php echo mws_header) and that's all it does. It doesn't query anything else and nothing else has control over it. I would ensure you have an orginal of this file and maybe give it another go just double checking the last bit, the title output. Just do the product_info.php as this is a one file edit, no language files to edit also so it's the simplist to do. If you are caching these pages then you may need to clear the cache. I'm here for another 45mins. Regards John
  5. CoolnQuiet

    Graphical Borders on RSS News

    Can you paste the code from your product_info.php so I can have a look?
  6. CoolnQuiet

    Graphical Borders on RSS News

    Try it, I'm at work at the moment but if you do it quick enough and let me know I might be able to view your site before and after and compare your tags before and after. Let me know when you have done it.
  7. CoolnQuiet

    Graphical Borders on RSS News

    Hi Ruth, you will have to excuse me but I have no idea how it will affect it as I don't have this installed. I have no real knowledge of coding, I can just spot stuff and alter it and see if it works. However, that said I don't think it will afect your header tags controller as we are not interfering in that area of code. All we are doing is imediately before we have the title displayed we ask the database for that information, I know this sounds crude but it's the way I view problems. After we get the query we the output it. This is done within index.php and product_info.php and is confined to the area imediately after the <--body_text-- area thing. What I suggest is the you backup the 3 files I altered: catalog/index.php catalog/product_info.php & catalog/includes/languages/index.php Do the edits upload & test. There are no database changes so very easy just to replace the files if you have problems. Hope my limited knowledge helps. Let me know how you got on. Regards John
  8. CoolnQuiet

    Graphical Borders on RSS News

    I don't know if this applies elsewhere but it works when using the graphical borders contrib to add a graphical border to the main area of the page, i.e not header, footer and columns. What I have done is to add the title onto the header image for the box for categories & products. I've have spent a couple hours messing with the code in index.php and the index.php language file and I have got a result of sorts. On my Index page I have just one <?php echo mws_header (HEADING_TITLE); ?> which displays the home page title or the category title (normally the "let's See What We Have Here") So I added (in fact I cut, pasted & altered) a database query which pulls the category name from the database and in my launguage I have place the string to display the category name. So now my home page shows the welcome message in the graphical borders main Header image, on the categories page it shows the category name and I also have done a similar hack for the product_info.php so that when a product is the clicked the product name is displayed in the header bar. Now I know nothing about hand coding, I usually solve problems by cutting, pasting & hacking so it's possible someone can point out many errors and I hope they do but at present I have got what I need. See here: http://www.coolnquiet.co.uk/index.php then click the first category "Intel Quiet CPU Coolers" then scroll down to the first and only product in that category and you should see the appropriate title for each page. By the way there is still a small problem with all this that someone maybe able to figure out. If a category has no sub categories just products then the title displays ok. How ever if you have a category with sub categories then only the sub category title will display ok. For me this is not the end of the world as I will not be using subcategories. See This is what I added to index.php After <!-- body_text //--> I added: <?php function tep_get_category_name($category_id) { global $languages_id; $category_query = tep_db_query("select categories_name from " . TABLE_CATEGORIES_DESCRIPTION . " where categories_id = '" . $category_id . "' and language_id = '" . $languages_id . "'"); $category = tep_db_fetch_array($category_query); return $category['categories_name']; } ?> Which is then be followed by: <?php echo mws_header (HEADING_TITLE); ?> In english/index.php the defines towards the bottom of the page I have: define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s'); define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products'); define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected'); if ( ($category_depth == 'products') || (isset($HTTP_GET_VARS['manufacturers_id'])) ) { define('HEADING_TITLE', tep_get_category_name($current_category_id)); define('TABLE_HEADING_IMAGE', ''); define('TABLE_HEADING_MODEL', 'Model'); define('TABLE_HEADING_PRODUCTS', 'Product Name'); define('TABLE_HEADING_MANUFACTURER', 'Manufacturer'); define('TABLE_HEADING_QUANTITY', 'Quantity'); define('TABLE_HEADING_PRICE', 'Price'); define('TABLE_HEADING_WEIGHT', 'Weight'); define('TABLE_HEADING_BUY_NOW', 'Buy Now'); define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.'); define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.'); define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: '); define('TEXT_SHOW', '<b>Show:</b>'); define('TEXT_BUY', 'Buy 1 \''); define('TEXT_NOW', '\' now'); define('TEXT_ALL_CATEGORIES', 'All Categories'); define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers'); } elseif ($category_depth == 'top') { define('HEADING_TITLE', 'Welcome To The CoolnQuiet.co.uk Store'); } elseif ($category_depth == 'nested') { } ?> For product_info.php I added After <!-- body_text //--> I added: <?php $product_info_query = tep_db_query("select p.products_id, pd.products_name, pd.products_description, p.products_model, p.products_quantity, p.products_image, pd.products_url, p.products_price, p.products_tax_class_id, p.products_date_added, p.products_date_available, p.manufacturers_id from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_status = '1' and p.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "'"); $product_info = tep_db_fetch_array($product_info_query); $products_name = $product_info['products_name']; ?> Which is the followed by: <?php echo mws_header ($products_name); ?> Please seek advice from someone more knowlegable than myself before trying this and backup first
  9. CoolnQuiet

    Graphical Borders on RSS News

    Very Welcome, Nice store by the way.
  10. CoolnQuiet

    Graphical Borders on RSS News

    Sorry to bump this but can anyone help solve this? Thank
  11. CoolnQuiet

    Graphical Borders on RSS News

    Ok, I followed the instructions in this post and it solved it for me, here is how my empty review page looks: http://www.coolnquiet.co.uk/product_review...p?products_id=3 Normally you would see the graphical box with the title taken from the bottom infobox on the left. These are the instructions I followed from the thread: Open catalog/includes/classes/boxes.php ADD the following code just before the final ?> at the end of the file // 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 Now open catalog/stylesheet.css ADD the following code just before the final ?> at the end of the file TD.noborderbox { font-family: Verdana, Arial, sans-serif; font-size: 10px; } Now open catalog/shopping_cart.php around line 209 look for: <td align="center" class="main"><?php new infoBox(array(array('text' => TEXT_CART_EMPTY))); ?></td> Replace With: <td align="center" class="main"><?php new noborderbox(array(array('text' => TEXT_CART_EMPTY))); ?></td> For Reviews do the same: Open catalog/reviews.php around line 112 look for: <td align="center" class="main"><?php new infoBox(array(array('text' => TEXT_CART_EMPTY))); ?></td> Replace With: <td align="center" class="main"><?php new noborderbox(array(array('text' => TEXT_CART_EMPTY))); ?></td> I haven't found anywhere else that needs the mod yet but if you find something you just following the last instruction above in the offending file changing the box class from infobox to noborderbox. Also don't forget to backup first and refresh your browser a couple times to make it show the changes. Hope this works out, if you need more help I can post code from my files, just let me know what you need. Cheers John
  12. CoolnQuiet

    Graphical Borders on RSS News

    The fix is in this thread, that's where I got it from. Look around pages 2 to 4.
  13. CoolnQuiet

    Graphical Borders on RSS News

    I need some help. On the categories page I want to get rid of the "Let's see what we have here" fixed title and show the name of the category the customer is viewing. I did find a piece of code that did this but I can't intergrate into the main box heading. I also wish to do the same thing for the products page. This is one snippet of code I found for index.php if (isset($cPath) && tep_not_null($cPath)) { $category_query = tep_db_query("select cd.categories_name, c.categories_image from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.categories_id = '" . (int)$current_category_id . "' and cd.categories_id = '" . (int)$current_category_id . "' and cd.language_id = '" . (int)$languages_id . "'"); $category = tep_db_fetch_array($category_query); echo $category['categories_name']; } Anyone know what I need to do to solve this? Thanks
  14. CoolnQuiet

    Graphical Borders on RSS News

    I did find a fix, it's actually in the install.txt although I found the fix earlier in this thread. It basically adds a noborder box to the offending boxes so removing the problem.
  15. CoolnQuiet

    cDynamic Meta Tags

    I need some help, if in admin I set the cache options to 2-Cache to directory I get the following errors: Warning: fopen(/home/fr50cool/public_html//home/*****public_html/cache/_product_info.php_products_id=18.meta-cache) [function.fopen]: failed to open stream: No such file or directory in /home/*****/public_html/includes/meta_tags.php on line 392 Warning: fwrite(): supplied argument is not a valid stream resource in /home/*****/public_html/includes/meta_tags.php on line 393 Warning: fclose(): supplied argument is not a valid stream resource in /home/*****/public_html/includes/meta_tags.php on line 394 The first error seems to be doubling the address it's looking for and has added a double slash /home/fr50cool/public_html//home/*****public_html/cache/_product_info.php_products_id=18.meta-cache I don't really understand what is happening. I have a cache folder in the root of my store /home/*****/public_html/cache/ If anyone can help I would appreciate it. Thanks
  16. CoolnQuiet

    Graphical Borders on RSS News

    Hi, I am having a problem with the main center section when viewing shopping cart & reviews when they are empty. The title is showing the title of the last infobox in colum left. I have read earlier in this thread about a fix but my skills are not to good. Could someone who has solved this problem post a step by step - page by page instruction. Thanks a lot for a good looking contribution.
  17. CoolnQuiet

    Register Globals Support

    Hi, I have installed the Register_Globals fix v1.5 and the following bug fixes. Within the instructions it clearly states that the store will not work with register_globals on after installing the contribution. However just to test I have tried my store with register_globals on & off and it works in both states. In my php.ini I had register+globals = off and my store seems to work fine. so I tried register_globals = 1 and my store also seems to work fine Has anyone else with this contrib and fixes installed tried their store with register_globals on and if so did it still work. I'm only asking to double check I have done everything right. Thanks
×