Jump to content

ianric

Members
  • Content count

    373
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by ianric


  1. Hi again

     

    Solved it!! Just needed to change the rgb values to #html values in the css. Scroll bar is still light blue tho but only in IE, Firefox is OK.

     

    Great contrib

     

    Ian

     

    Hi

    Starting to feel like a spammer :D

     

    Managed to solve the blue scroll bars with help from Google. The scroll bar colours are defined in webfxlayout.js I just commented out the

     

    if (ie && window.attachEvent) {

     

    statement and all is OK.

     

    Ian


  2. Hi again

     

    I have managed to get the layout the way I want it but I want the content dynamic. In the image, all the info to the right of the label image is in the database but I can't get the info out. I know about mysql select and php and have tried copying examples from the main php files into the description tabs but nothing seems to work.

     

    Hope someone can help me

     

    Ian

    tabs.jpg


  3. Hi

     

    Just installed the contrib and all is OK but does anyone know how to change the colours of the tabs and border from blue. Also the vertical scroll bar in IE changes to the same colour of blue.

     

    I have edited the tab png files in Paintshop Pro and changed the border to be red but nothing changes when I re-upload the images.

     

    TIA

     

    Ian


  4. Hi

     

    I have installed this today and it works great but I have a slight prob. As a test I have added 11 featured products, limited the products to 9 in Admin and these are displayed on my main page. The prob comes in when I pick on the featured products hyperlink, the products are listed but all 11 are in the list.

     

    I'd like to set all products as featured and just have the 9 products displayed on both pages.

     

    Many thanks

     

    ian


  5. Nope - width of the dropdown list is entirely controlled by the browser based on the longest value. You have no control over this (other than shortening list values.) I recently researched this so it's fresh in my mind. Even if you put it in a fixed-width table cell, the browser will make the cell wider so that it fits. No horizontal scrolling.

    Thanks Steve.

     

     

    Ian


  6. Ian,

     

    I see a couple of problems. First, on the left column select tag for country, you have

     

    onChange="return refresh_form(createaccount);"

     

    However, the name of the form on that page is not createaccount, it is checkout.

     

    Second, the field for the shipping country does not include the onChange action. That needs to be added.

     

    A third problem, unrelated to this, is that your img tag for the "visual verifier" is malformed, missing the closing bracket.

     

    I can't see your PHP code so you need to make sure that it properly establishes the country for both fields on a refresh.

     

    hi Steve

     

    I've fixed the 1st prob and that now refreshes OK. For the shipping part, doh!! didn't even occur to me, still ongoing. I'll also try your suggestion further down when my brain isn't as fried. The 3rd prob is fixed even tho it seemed to work.

     

    A related question. Is it possible to make the country & state lists a default size instead of fitting to the text inside. If I set the country to USA, for example, the states box expands to fit the text and it screws the layout.

     

    many thanks

     

    Ian


  7. Ian,

     

    Can you give me a URL to look at for myself?

     

    Joe,

     

    This is typically done by creating a text file called php.ini in your store directory with the following two lines:

    error_reporting  =  E_ALL
    display_errors = On

     

    See http://www.phpfreaks.com/tutorials/72/0.php for more information on php.ini files. When you are done debugging, remove the file.

     

    You could also see if your web host provides a "CGI error log" that records such errors. Some do.

     

    Stevel

     

    here is the url www.icr-records.co.uk Add an item to the cart and pick checkout. The FEC "problem" page kicks in then.

     

    Cheers

     

    Ian


  8. Ian,

     

    View the web page in a browser and see what is at line 309. Any JavaScript errors will prevent the page from refreshing.

     

    Joe, you have introduced a PHP syntax error. Examine your CGI error logs, if the server has them, or turn on PHP error reporting to see what it is.

    Hi Stevel

     

    Thanks for the reply. I've redone the coding part and experimented. The form in the FEC contrib is split in half. the left half is for the billing addy and the right is for the shipping addy. This column also has a checkbox to copy the billing info to the shipping info.

     

    if I change the country drop down on the billing side first I get the error at 309

     

    <script type="text/javascript">
    
    function refresh_form(form_name) {
      form_name.action.value = 'refresh';   //this is 309
      form_name.submit();
      return true;
      }
    </script>

     

    If I start from name going down all is OK, the states don't refresh by country at this stage, I pick the checkbox to copy the info to the shipping side and ALL the data apart from state is transfered. I get an error here at line 286 state.value is null or not an object

     

    function ShipToBillPerson(form) {
    if (form.copy.checked) {
    InitSaveVariables(form);
    form.ShipFirstName.value = form.firstname.value;
    form.ShipLastName.value = form.lastname.value;
    form.shipcountry.value = form.country.value;
    //form.shipcompany.value = form.company.value;
    form.ShipAddress.value = form.street_address.value;
    form.shipsuburb.value = form.suburb.value;
    form.ShipCity.value = form.City.value;
    form.shippostcode.value = form.postcode.value;
    form.shippingstate.value = form.state.value;  //this is line 286
    //form.ShipState.selectedIndex = form.state.selectedIndex;
    //form.ShipConfirm.checked = form.BillConfirm.checked;
    }
    else {

     

    Hope this makes sense and is easy to follow.

     

    Cheers

     

    Ian


  9. The bad placement indicates a problem with table (or tr/td) tags. When I have a problem like this I add text tags in various places of the page and then view the HTML source of the rendered page to see what came from where. Opening the page source in an HTML editor or even the source view of Firefox can highlight HTML errors.

     

    Also look at the rendered HTML to see if the refresh function is present and check for JavaScript errors that would prevent it from being run. (Firefox's error console is what I look at.)

     

    Hi

     

    I am trying to integrate this with FEC and having probs with the FEC create_account2.php file. That file shows 2 address forms side by side. I have got the drop downs populated but when I select from the list, the page doesn't refresh and I get the yellow triangle, bottom left, saying "line 309 char 4 action is null or not an object".

     

    I have managed to fix other probs so if someone could point me in the right direction it would be appreciated.

     

    Many thanks

     

    Ian


  10. Hi

     

    Just installed and it works great but I can't get it to work with the Fast Easy Checkout contrib. It uses a different create_account file and the code is different. Im stuck at steps 4e, f & g.

     

    Hope someone can help.

     

    Thanks

     

    Ian

     

    Sorry, tried to edit but wasn't allowed. It's steps 3e, f & g :blush:

     

    Thanks

    Ian


  11. Hi again

     

    Doing some more testing and it seems the original contact us works :blush: I have viewed the source of the page and the entry boxes are set to readonly. If the customer is logged in it should prefill the name and email boxes and set them to readonly. That bit is right it just isn't displaying the name and email. If I uninstall the FEC contrib then it all works. The code in the contact us choice contrib is

     

    <tr>
    			<td class="main"><?php 
    		  // prefill first+last name and email address if customer is logged in
    		  if (tep_session_is_registered('customer_id')) {
    		  $customer_query_raw = "select customers_firstname, customers_lastname, customers_email_address from " . TABLE_CUSTOMERS . " where customers_id='" . $customer_id . "'";
    		  $customer_query = tep_db_query($customer_query_raw);
    		  $customer_array = tep_db_fetch_array($customer_query);
    		  echo tep_draw_input_field('name', $customer_array['customers_firstname'] . " " . $customer_array['customers_lastname'],'readonly');
    		  echo "</td></tr><tr><td class=\"main\">" . ENTRY_EMAIL . "</td></tr><tr><td class=\"main\">";
    		  echo tep_draw_input_field('email', $customer_array['customers_email_address'],'readonly');
    			} else {
    		  echo tep_draw_input_field('name');
    		  echo "</td></tr><tr><td class=\"main\">" . ENTRY_EMAIL . "</td></tr><tr><td class=\"main\">";
    			echo tep_draw_input_field('email');
    			} ?></td>
    		  </tr>

     

    Hope someone can help

     

    Ian

     

    Hi again

     

    just thought I'd let everyone know that I have solved it. I had the same prob (boxes not filled in) on the edit account page so I created a test account on the OSC demo page just to check and the boxes were filled in.

     

    Anyway, after a bit of digging I overwrote my html_output.php file with the default and all is OK.

     

    Thanks

     

    Ian


  12. OK I give up!! I put all my weights as 173 grams so modified the table but that didn't work. I then changed all weights to kg ie 0.173. Now when I checkout I get all 4 options :lol: but the 1st class std says Delivery Weight : 334.173 Kg's (Ships normally within 1 to 3 days) £1.70. There's only 1 product in the basket and it weighs 173 grams.

     

    Will leave it 'til tomorrow when I'm fresh.

     

    Ian

     

    Right. That's it!! Last one then I'm off home. :'( 334 is the tare weight so set that to 0. 1st class std now says Delivery Weight : 0.1903 Kg's (Ships normally within 1 to 3 days) £1.60. Where's it picking the extra up???

     

    Ian


  13. Hi again

     

    I reinstalled first plus zones and the Royal mail 1st class standard now shows up with icon but the other rm 2nd and the same but recorded don't show.

     

    Ian

     

    OK I give up!! I put all my weights as 173 grams so modified the table but that didn't work. I then changed all weights to kg ie 0.173. Now when I checkout I get all 4 options :lol: but the 1st class std says Delivery Weight : 334.173 Kg's (Ships normally within 1 to 3 days) £1.70. There's only 1 product in the basket and it weighs 173 grams.

     

    Will leave it 'til tomorrow when I'm fresh.

     

    Ian


  14. Hi

     

    It's Tues afternoon and I'm falling asleep so it maybe me. I have installed it, dead easy, but it doesn't show anything for the UK. If I change my test customers country to Albania I get Airmail international signed for and no price because of the over weight (all my prods are in grams). If I change him back to UK the option goes.

     

    I've changed GB to UK but still get no shipping options.

     

    Can anyone help?

     

    thanks

     

    ian

     

    Hi again

     

    I reinstalled first plus zones and the Royal mail 1st class standard now shows up with icon but the other rm 2nd and the same but recorded don't show.

     

    Ian


  15. Hi

     

    It's Tues afternoon and I'm falling asleep so it maybe me. I have installed it, dead easy, but it doesn't show anything for the UK. If I change my test customers country to Albania I get Airmail international signed for and no price because of the over weight (all my prods are in grams). If I change him back to UK the option goes.

     

    I've changed GB to UK but still get no shipping options.

     

    Can anyone help?

     

    thanks

     

    ian


  16. Hi

     

    Just installed FEC and apart from a few minor changes in the layout it seems to be working. The prob that I am having is with the Contact us page.

     

    I have the contact us installed and when I am logged in I can't type in the name and email address boxes but I can in the big enquiry box but I can type in all boxes when I am logged out. I have uploaded the default OSC contact us page and it still happens so I know it isn't the contact us page.

     

    Thanks

     

    Ian

     

    Hi again

     

    Doing some more testing and it seems the original contact us works :blush: I have viewed the source of the page and the entry boxes are set to readonly. If the customer is logged in it should prefill the name and email boxes and set them to readonly. That bit is right it just isn't displaying the name and email. If I uninstall the FEC contrib then it all works. The code in the contact us choice contrib is

     

    			  <tr>
    			<td class="main"><?php 
    		  // prefill first+last name and email address if customer is logged in
    		  if (tep_session_is_registered('customer_id')) {
    		  $customer_query_raw = "select customers_firstname, customers_lastname, customers_email_address from " . TABLE_CUSTOMERS . " where customers_id='" . $customer_id . "'";
    		  $customer_query = tep_db_query($customer_query_raw);
    		  $customer_array = tep_db_fetch_array($customer_query);
    		  echo tep_draw_input_field('name', $customer_array['customers_firstname'] . " " . $customer_array['customers_lastname'],'readonly');
    		  echo "</td></tr><tr><td class=\"main\">" . ENTRY_EMAIL . "</td></tr><tr><td class=\"main\">";
    		  echo tep_draw_input_field('email', $customer_array['customers_email_address'],'readonly');
    			} else {
    		  echo tep_draw_input_field('name');
    		  echo "</td></tr><tr><td class=\"main\">" . ENTRY_EMAIL . "</td></tr><tr><td class=\"main\">";
    			echo tep_draw_input_field('email');
    			} ?></td>
    		  </tr>

     

    Hope someone can help

     

    Ian


  17. Ok, I got this fixed somehow..... Maybe I just installed it wrong...

     

    Hi

     

    Just installed FEC and apart from a few minor changes in the layout it seems to be working. The prob that I am having is with the Contact us page.

     

    I have the contact us installed and when I am logged in I can't type in the name and email address boxes but I can in the big enquiry box but I can type in all boxes when I am logged out. I have uploaded the default OSC contact us page and it still happens so I know it isn't the contact us page.

     

    Thanks

     

    Ian


  18. Hi again

     

    I have managed to get it sort of working. In the contrib success checkout update it says put these 2 lines in

     

    include(DIR_WS_CLASSES . 'order.php');
    $order = new order($order_id);

     

    If I hardcode and replace the $order_id with the actual order number it works. So I figure I could get the order_id from account.php of similar but I don't know how.

     

    Hope someone can help me

     

    Ian

    Hi, me again

     

    Solved. I used sections from the scrambled order number contrib, altered a few SQL queries.

     

    Ian :D


  19. Hi Coopco

     

    Thanks for the reply. I've searched the forums and I can't see a forum for this contrib. I've rechecked the instruction but its still not displayed. The line I have is

    <?php echo tep_trans_id($orders['date_purchased'],$orders['orders_id']) . $orders['orders_id'];?>

     

    But only ending . $orders['orders_id'] is displayed which is half way there. Also if I change the above code to

     

    <?php echo .'fred' . tep_trans_id($orders['date_purchased'],$orders['orders_id']) . $orders['orders_id'];?>

     

    I get fred-myordernumber instead of fred-improvedordernumber-myordernumber.

     

    Ian

     

    Hi again

     

    I have managed to get it sort of working. In the contrib success checkout update it says put these 2 lines in

     

    include(DIR_WS_CLASSES . 'order.php');
    $order = new order($order_id);

     

    If I hardcode and replace the $order_id with the actual order number it works. So I figure I could get the order_id from account.php of similar but I don't know how.

     

    Hope someone can help me

     

    Ian


  20. Check al of the edits that have been done before trying to get your own solution. Ther should be a support thread for this.

     

    Hi Coopco

     

    Thanks for the reply. I've searched the forums and I can't see a forum for this contrib. I've rechecked the instruction but its still not displayed. The line I have is

    <?php echo tep_trans_id($orders['date_purchased'],$orders['orders_id']) . $orders['orders_id'];?>

     

    But only ending . $orders['orders_id'] is displayed which is half way there. Also if I change the above code to

     

    <?php echo .'fred' . tep_trans_id($orders['date_purchased'],$orders['orders_id']) . $orders['orders_id'];?>

     

    I get fred-myordernumber instead of fred-improvedordernumber-myordernumber.

     

    Ian

×