Page 1 of 2 12 LastLast
Results 1 to 10 of 18
  1. #1

    Default IE strikes again

    Why can't there be just one browser in the world and that browser not be IE!

    I recently changed the layout of my shop from 3 columns to 2 following the instructions in another thread. (Removed the left - Column Left Status Global = 0)

    http://www.charcool.com/shop

    As I sat back and enjoyed at the sublime beauty of my renovations in Firefox, little did I know that in another part of the universe, known as Internet Explorer, the copy had not justified across the space vacated by the ex column but was cowering in terror against the left side of the page. So now I have a mile of white space in the middle doing nothing and all my images out of proportion.

    I assume I need to do something with the stylesheet to compensate for IE's view of the world but don't know what.

    Any help overcoming IEs lesson in humility would be greatly appreciated

    Thanks all

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: IE strikes again

    I assume I need to do something with the stylesheet to compensate for IE's view of the world but don't know what.
    Although you have named this template "charcool", it realy looks to be coded just like a Template Monster template and this is your problem, Not normally a simple css tweak...You either like the template as is or find another being the most economical alternative.
    Zen-Venom Get Bitten

  3. #3

    Default Re: IE strikes again

    Kobra

    Yes it is a creation of template monster...it looked so nice in the showroom

    I just don't understand how it can look so good in Firefox and so bad in IE.

    So is my only option really to put the 3rd column back in or find an alternative?

    Sorry I know this isn't exactly on thread but could I pay someone to make some changes to the code if it's not simple? Is it do-able? Or are these templates usually too much trouble to be worth the effort of customising?

    Quote Originally Posted by kobra View Post
    You either like the template as is or find another being the most economical alternative.

    thanks for letting me down easy

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: IE strikes again

    So is my only option really to put the 3rd column back in or find an alternative?

    Sorry I know this isn't exactly on thread but could I pay someone to make some changes to the code if it's not simple? Is it do-able? Or are these templates usually too much trouble to be worth the effort of customising?
    Search for them here on this site...

    We all agree that they make good looking templates but they also seem to use many writers and no standard. They take license and write outside of the Zen Cart structure so you better like how it is as many features that can be normally controlled via the admin just do not work.

    Fixing it can take 20-30 hours of time which is much more than the template to begin with.
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: IE strikes again

    When you run into templates like that, the best solution is to re-write all the template code .
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  6. #6
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: IE strikes again

    Hey guys ... is this a viable option for right column disable in this case?

    in tpl_main_page.php (in the COMMON folder of the template) the following line (around line #43):-

    PHP Code:
      if (in_array($current_page_base,explode(",",'index,login,logoff,specials,product_info,products_new,checkout_shipping,checkout_payment,checkout_confirmation,shopping_cart,shippinginfo,privacy,conditions,contact_us,gv_faq,discount_coupon,featured_products,products_all,site_map,advanced_search,advanced_search_result,search_in_description,checkout_success,unsubscribe,create_account')) ) {
        
    $flag_disable_right true;
      } 
    ...may be helpful... ???

    (Naturally, you will have to add whatever page names - separated by commas - you are seeking to disable for right column
    20 years a Zencart User

  7. #7
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: IE strikes again

    I suspect that a declaration of width might solve the problem.

    Try the following changes within you stylesheet.

    .main_block {
    color: #006633 !important;
    } /*changed body copy and original defined pages to green*/


    change to


    .main_block {
    border:1px solid red;
    width:520px;
    color: #006633 !important;
    } /*changed body copy and original defined pages to green*/

    Adjust width to suit then remove the 'border'.

  8. #8
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: IE strikes again

    schoolboy, is there any difference in the code you posted and using Turn off Right Sidebox globally from within Admin?

    Seem like they both provide the same or almost the same results, but the latter is easier than the former.
    Last edited by Website Rob; 20 Feb 2008 at 04:32 PM.

  9. #9
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: IE strikes again

    Quote Originally Posted by Website Rob View Post
    ...is there any difference in the code you posted and using Turn off Right Sidebox globally from within Admin?
    To be honest... I don't know. The technique I suggest was offered a couple of years ago to a posting regarding selective disabling of the right column - so it allows the user to select a page (or range of pages) where they don't want the right column to display. (You can also alter the code slightly to refer to the left column).

    It just enables a person to disable right column selectively, while the setting in the admin panel is global.

    I was just thinking that a "selective disable" (as per tpl_main_page.php) could perhaps keep elements of the template code intact, whereas a global disable may neutralise all elements.

    All I can suggest is that Arliss61 tries my method and observes the result...
    20 years a Zencart User

  10. #10
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: IE strikes again

    It is true the code can be used for selective turning OFF the Right-hand Sideboxes for various pages, it was just that you listed soooo many in your example, I wondered why you wouldn't use global.

    And be it global or selective of turning them OFF, it just removes the coding for the Right-hand Sideboxes, nothing else is changed.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. URGENT: Customers are being forced to log in again and again
    By dmm2020 in forum General Questions
    Replies: 26
    Last Post: 23 Feb 2009, 01:05 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg