OSC to CSS v2
#121
Posted 22 October 2010, 08:04
I came across a problem when I started my 2.3 experience the day before. I've downloaded source from github,first of all its looks smart for me cause of 960gs. I would like to install a previous version of email authentication contrib in it, where 2 additional files should be uploaded as new :
catalog/account_activate.php and
catalog/account_activate_success.php
and some others should be modified :
catalog / login.php
catalog / create_account.php
catalog / includes / filenames.php
catalog / includes / languages / (for all languages).php
catalog / includes / langauges / (for all lanuages) / login.php
catalog / includes / langauges / (for all lanuages) / create_account.php
catalog / includes / langauges / (for all lanuages) / create_account_success.php
but it seems partialy working only, reg. emil sent out, but when submitting the reg. form http://mydomain.com/create_account.php is not displayed, but errors mainly referenced to passwordhash.php occured. Then the system hangs back to the base-like outfit, character coding also messes up , something not integrated or so. What contrib do you suggest instead of this old one to achive mail registration with this new css - 960gs based system?
(Important : It was the first contrib, all files where installed AS found @git. )
Thanks a lot.
#122
Posted 22 October 2010, 17:53
alba, on 22 October 2010, 05:47, said:
I love the examples ive seen of this addon and while i have always used STS in the past to work with templates (with div based template files rather than table based) im wondering what the best approach is now with the new release of v2.3?
any advise would be greatly appreciated
Otherwise the difference is in how the 960 grid tableless structure is incorporated, and these differences are not fundamental. But with both you are using the same 960 grid structure. I would make my decision not on these differences in how the 960 grid is implemented, but rather on whether or not you want to use the existing version of OSCommerce 2.2a or 2.3.
To get a good understanding of these differences examine and compare the two files, includes/template_top.php and includes/template_bottom.php in both 2.3 and in OSC to CSS v2.
Edited by npn2531, 22 October 2010, 17:56.
OSC to CSS, http://addons.oscommerce.com/info/7263 -Mail Manager, http://addons.oscommerce.com/info/8120
#123
Posted 23 October 2010, 04:36
npn2531, on 22 October 2010, 17:53, said:
Otherwise the difference is in how the 960 grid tableless structure is incorporated, and these differences are not fundamental. But with both you are using the same 960 grid structure. I would make my decision not on these differences in how the 960 grid is implemented, but rather on whether or not you want to use the existing version of OSCommerce 2.2a or 2.3.
To get a good understanding of these differences examine and compare the two files, includes/template_top.php and includes/template_bottom.php in both 2.3 and in OSC to CSS v2.
Could you post a link to find this download please?
#124
Posted 24 October 2010, 02:35
Again site location: http://www.trainliquidators.com/catalog/
#125
Posted 28 October 2010, 08:33
I have found a bug in products_new.php in this section
<div class="pl-dateadded">
<?php // echo TEXT_DATE_ADDED . ' ' . tep_date_short($products_new['products_date_added']);?>
<?php echo '<span class="smalltext">Added ' . tep_date_short($products_new['products_date_added'].'</span class="smalltext"');?>
</div>
should be (note the position of the closing) after ($products_new['products_date_added']).
<div class="pl-dateadded">
<?php // echo TEXT_DATE_ADDED . ' ' . tep_date_short($products_new['products_date_added']);?>
<?php echo '<span class="smalltext">Added ' . tep_date_short($products_new['products_date_added']).'</span class="smalltext"';?>
</div>
#126
Posted 12 November 2010, 15:01
I have not found a topic to post some issues on the new 2.3 version, that i'm testing based on the github version. I have the problem of the passwordhash.php , i cannot access some functionality of the test store, like admin, login, etc. Som kind of passwordhash error comes up on line 51 ( /includes/classes/passwordhash.php on line 51, Warning: is_readable() [function.is-readable] ) and everything stops. If someone can help me to figure out this. Or this is just because its not a released version yet, and will be solved when the final comes out ( hopefully tonight).
Thanks a lot,
FG,Hun.
Edited by funkygee, 12 November 2010, 15:03.
#127
Posted 13 November 2010, 10:36
I'm not able to post a link as I'm working on localhost.
Does anyone have any ideas as to what's going wrong?
#128
Posted 13 November 2010, 11:52
trianglehead, on 13 November 2010, 10:36, said:
I'm not able to post a link as I'm working on localhost.
Does anyone have any ideas as to what's going wrong?
Are you connected to the internet whilst on localhost as the jquery library is called from google (see the install for application_top.php)
#129
Posted 13 November 2010, 14:36
pdcelec, on 13 November 2010, 11:52, said:
Yes connected to the internet. Will download and save them to the directory to see if this helps although, I can't see this making any difference.
#130
Posted 14 November 2010, 00:19
If you get the IE popup warning about secure and insecure items, then either download the jquery files from the jquery site or google site, or use this sort of reference for the external jquery files:
<script type="text/javascript" src="<?php echo (isset($_SERVER['HTTPS']) && (strtolower($_SERVER['HTTPS']) == 'on') ? 'https://' : 'http://') . 'ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js'; ?>"></script>
OSC to CSS, http://addons.oscommerce.com/info/7263 -Mail Manager, http://addons.oscommerce.com/info/8120
#131
Posted 14 November 2010, 09:39
npn2531, on 14 November 2010, 00:19, said:
If you get the IE popup warning about secure and insecure items, then either download the jquery files from the jquery site or google site, or use this sort of reference for the external jquery files:
<script type="text/javascript" src="<?php echo (isset($_SERVER['HTTPS']) && (strtolower($_SERVER['HTTPS']) == 'on') ? 'https://' : 'http://') . 'ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js'; ?>"></script>
Well, I've now used both your code above and also tried downloading the files. Neither of them seem to work. I've resigned mysekf to the fact that it's not going to work so have commented out the 'add to cart' button and reinstated the original one. I don't however know what the original code for the buy now button was. Am I able to copy and paste it straight out of the original osc 2.2 files?
Edited by trianglehead, 14 November 2010, 09:39.
#132
Posted 14 November 2010, 14:04
trianglehead, on 14 November 2010, 09:39, said:
OSC to CSS, http://addons.oscommerce.com/info/7263 -Mail Manager, http://addons.oscommerce.com/info/8120
#133
Posted 29 November 2010, 16:50
How can I remove the white margins from left and right sides of my pages?
thanks.
[b]فروشگاه بزرگ اینترنتی شاکران
#134
Posted 29 November 2010, 17:29
example:
html{
background:#000000;
}
OSC to CSS, http://addons.oscommerce.com/info/7263 -Mail Manager, http://addons.oscommerce.com/info/8120
#135
Posted 08 March 2011, 22:21
I use your elegant grey muted look.... Have one problem, how can I change language on product_info page on the table? (reviews, manufacturer info etc...)
Thank you!
#136
Posted 21 March 2011, 12:37
1) Easy: window is in English even my language is set to Polish (where can I find strings to modify this window)?
2) no matter what I do when adding something to cart I've got "NULL" information instead of product details. Same happening to shopping cart infobox - but once I go to another page or reload all data in shopping cart are correct.
Any help appreciated
#137
Posted 12 May 2011, 12:02
But i have 2 issues :
- Image has normal size on product_info.php. Do you know what's the problem ?
Here is my code in product_info.php which shows the image
<script language="javascript"><!--
document.write('<?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '"target="_blank" title="'. $product_info['products_name'].'" rel="prettyPhoto[gallery1]" >' . tep_image(DIR_WS_IMAGES . (!empty($product_info['products_image_med'])?$product_info['products_image_med']:(!empty($product_info['products_image_pop'])?$product_info['products_image_pop']:(!empty($product_info['products_image'])?$product_info['products_image']:''))), addslashes($hello), (ADDIMAGES_RESTRICT_PARENT=='true'?DISPLAY_IMAGE_WIDTH:''), (ADDIMAGES_RESTRICT_PARENT=='true'?DISPLAY_IMAGE_HEIGHT:''), 'hspace="5" vspace="5"') . '<div class="center">' . (!empty($product_info['products_image_description'])?$product_info['products_image_description']:TEXT_CLICK_TO_ENLARGE) . '</div></a>'; ?>');
//--></script>
- I've got "NULL" information instead of product details in shopping cart.
Any idea ?
thank you.
#138
Posted 12 May 2011, 12:46
Here is what i've done for the issue "Image has normal size on product_info.php".
I've replaced this code :
<script language="javascript"><!--
document.write('<?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '"target="_blank" title="'. $product_info['products_name'].'" rel="prettyPhoto[gallery1]" >' . tep_image(DIR_WS_IMAGES . (!empty($product_info['products_image_med'])?$product_info['products_image_med']:(!empty($product_info['products_image_pop'])?$product_info['products_image_pop']:(!empty($product_info['products_image'])?$product_info['products_image']:''))), addslashes($hello), (ADDIMAGES_RESTRICT_PARENT=='true'?DISPLAY_IMAGE_WIDTH:''), (ADDIMAGES_RESTRICT_PARENT=='true'?DISPLAY_IMAGE_HEIGHT:''), 'hspace="5" vspace="5"') . '<div class="center">' . (!empty($product_info['products_image_description'])?$product_info['products_image_description']:TEXT_CLICK_TO_ENLARGE) . '</div></a>'; ?>');
//--></script>
by this one :
<script language="javascript"><!--
document.write('<?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '"target="_blank" title="'. $product_info['products_name'].'" rel="prettyPhoto[gallery1]" >' . tep_image(DIR_WS_IMAGES . (!empty($product_info['products_image_med'])?$product_info['products_image_med']:(!empty($product_info['products_image_pop'])?$product_info['products_image_pop']:(!empty($product_info['products_image'])?$product_info['products_image']:''))), addslashes($hello), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<div class="center">' . (!empty($product_info['products_image_description'])?$product_info['products_image_description']:TEXT_CLICK_TO_ENLARGE) . '</div></a>'; ?>');
//--></script>
#139
Posted 30 May 2011, 14:01
npn2531, on 29 November 2010, 17:29, said:
example:
html{
background:#000000;
}
Thanks!!
#140
Posted 13 June 2011, 08:57
In an infobox, what is the best way to center an image using this CSS version? Pulling my hair out trying several things and its not centering.
I'm sure there is an easy fix. Thanks!!
Steve














