dainbramaged05
-
Posts
17 -
Joined
-
Last visited
Posts posted by dainbramaged05
-
-
I installed the images outside the default directory contrib so basically my images are stored in images/photos/ since I have a ton of product photos. When I install the script it works perfectly fine, except its reading on the /images/ folder and not the /images/photos/ folder. How can I change the script to read from /images/photos/ instead of /images/
-
is there a way to split the listings into more than one column? I have 9+ extra fields and it makes the page look funny.
here is the code:
list($products_id_clean) = split('{', $product_info['products_id']); $extra_fields_query = tep_db_query(" SELECT pef.products_extra_fields_name as name, ptf.products_extra_fields_value as value ,pef.products_extra_fields_status as status FROM ". TABLE_PRODUCTS_EXTRA_FIELDS ." pef LEFT JOIN ". TABLE_PRODUCTS_TO_PRODUCTS_EXTRA_FIELDS ." ptf ON ptf.products_extra_fields_id=pef.products_extra_fields_id WHERE ptf.products_id=".$products_id_clean." and ptf.products_extra_fields_value<>'' and (pef.languages_id='0' or pef.languages_id='".$languages_id."') ORDER BY products_extra_fields_order"); while ($extra_fields = tep_db_fetch_array($extra_fields_query)) { if (! $extra_fields['status']) // show only enabled extra field continue; echo '<tr> <td> <table border="0" width="50%" cellspacing="0" cellpadding="2px"><tr> <td class="main" align="left" vallign="middle"><b><font size="1" color="#666666">'.$extra_fields['name'].': </b></font>'; echo '<font size="1" color="#666666">' .$extra_fields['value'].'<BR></font> </tr> </table> </td> </tr>'; }
-
I installed the script but when I upload the image it uploads to the directory but then it doesn't show when its uploaded it just says: IMAGE DOES NOT EXIST
-
Is there any way to convert STS to work with PHP?
-
Is it at all possible to convert STS over to work with PHP? Has anyone done it, if so can I get a copy?
-
I have installed Simple Template System with FEC and am having a slight problem with the create_account2.php. I am able to use the create_account1 and create_account3 perfectly fine, but it will not load the create_account2 page. It just shows a blank page with the infoboxes. Has anyone gotten create_account2 to work with STS and if so what did you do to get it working?
Correction, it doesn't work at all.
-
I have installed Simple Template System with FEC and am having a slight problem with the create_account2.php. I am able to use the create_account1 and create_account3 perfectly fine, but it will not load the create_account2 page. It just shows a blank page with the infoboxes. Has anyone gotten create_account2 to work with STS and if so what did you do to get it working?
-
I fixed it, I don't know if it happens to everyone, but there is a closing table in /catalog/advance_search_result.php around line 350 before the mod is added and around line 410 after the mod is added that has to be removed.
-
I installed it and it all works perfectly except for one thing, when I seach, it breaks up the way my page is displayed. I have a left, center, and right colums, and the right column is displayed on the bottom.
http://oldtownshoppe.com/advanced_search_r...s=boat&x=6&y=10
How do I fix this?
-
I got it. I think.
-
// BOF: More Pics 6 if (isset($HTTP_POST_VARS['products_subimage1']) && tep_not_null($HTTP_POST_VARS['products_subimage1']) && ($HTTP_POST_VARS['products_subimage1'] != 'none')) { $sql_data_array['products_subimage1'] = tep_db_prepare_input($HTTP_POST_VARS['products_subimage1']); } //add delete image function if ($HTTP_POST_VARS['delete_image_3'] == 'yes') { unlink(DIR_FS_CATALOG_IMAGES . $HTTP_POST_VARS[products_subimage1]); $sql_data_array['products_subimage1'] = tep_db_prepare_input($HTTP_POST_VARS['none']); } //end delete image function if (isset($HTTP_POST_VARS['products_subimage2']) && tep_not_null($HTTP_POST_VARS['products_subimage2']) && ($HTTP_POST_VARS['products_subimage1'] != 'none')) { $sql_data_array['products_subimage2'] = tep_db_prepare_input($HTTP_POST_VARS['products_subimage2']); } //add delete image function if ($HTTP_POST_VARS['delete_image_5'] == 'yes') { unlink(DIR_FS_CATALOG_IMAGES . $HTTP_POST_VARS[products_subimage2]); $sql_data_array['products_subimage2'] = tep_db_prepare_input($HTTP_POST_VARS['none']); } //end delete image function if (isset($HTTP_POST_VARS['products_subimage3']) && tep_not_null($HTTP_POST_VARS['products_subimage3']) && ($HTTP_POST_VARS['products_subimage3'] != 'none')) { $sql_data_array['products_subimage3'] = tep_db_prepare_input($HTTP_POST_VARS['products_subimage3']); } //add delete image function if ($HTTP_POST_VARS['delete_image_7'] == 'yes') { unlink(DIR_FS_CATALOG_IMAGES . $HTTP_POST_VARS[products_subimage3]); $sql_data_array['products_subimage3'] = tep_db_prepare_input($HTTP_POST_VARS['none']); } //end delete image function if (isset($HTTP_POST_VARS['products_subimage4']) && tep_not_null($HTTP_POST_VARS['products_subimage4']) && ($HTTP_POST_VARS['products_subimage4'] != 'none')) { $sql_data_array['products_subimage4'] = tep_db_prepare_input($HTTP_POST_VARS['products_subimage4']); } //add delete image function if ($HTTP_POST_VARS['delete_image_9'] == 'yes') { unlink(DIR_FS_CATALOG_IMAGES . $HTTP_POST_VARS[products_subimage4]); $sql_data_array['products_subimage4'] = tep_db_prepare_input($HTTP_POST_VARS['none']); } //end delete image function if (isset($HTTP_POST_VARS['products_subimage5']) && tep_not_null($HTTP_POST_VARS['products_subimage5']) && ($HTTP_POST_VARS['products_subimage5'] != 'none')) { $sql_data_array['products_subimage5'] = tep_db_prepare_input($HTTP_POST_VARS['products_subimage5']); } //add delete image function if ($HTTP_POST_VARS['delete_image_11'] == 'yes') { unlink(DIR_FS_CATALOG_IMAGES . $HTTP_POST_VARS[products_subimage5]); $sql_data_array['products_subimage5'] = tep_db_prepare_input($HTTP_POST_VARS['none']); } //end delete image function if (isset($HTTP_POST_VARS['products_subimage6']) && tep_not_null($HTTP_POST_VARS['products_subimage6']) && ($HTTP_POST_VARS['products_subimage6'] != 'none')) { $sql_data_array['products_subimage6'] = tep_db_prepare_input($HTTP_POST_VARS['products_subimage6']); } //add delete image function if ($HTTP_POST_VARS['delete_image_13'] == 'yes') { unlink(DIR_FS_CATALOG_IMAGES . $HTTP_POST_VARS[products_subimage6]); $sql_data_array['products_subimage6'] = tep_db_prepare_input($HTTP_POST_VARS['none']); } //end delete image function // EOF: More Pics 6
This code? When I change the permissions on the images folder, none of the images show up, just a red x.
-
I'll check the permissions on the folder, but I have the latest version of the script, just installed today, working fine, I can upload images and they show perfectly fine, but when I check the box to remove them they don't get removed from the item page or from the server.
-
For some reason, the delete image won't work with my install? Does this happen to anyone else, I need to remove an image that I added but it won't remove.
Product Listing in Columns v2.0
in General Add-Ons Support
Posted
Anyone else have a problem with the items adding to the cart? The buy now button doesn't work and when I add in the quantity box the only way to add products is to type a number and hit "Enter". Anyone have a solution for this?