View Single Post
  #12  
Old 01-27-2008, 03:20 AM
 
Nadeem Nadeem is offline
 

Advanced Member
  
Join Date: Sep 2006
Posts: 56
 

Default Re: The template names in the source code

add:
"customer/home.tpl",
to the $templates in function func_show_as_comment


Code:
function func_show_as_comment($string, $end=false) { $templates = array ( "customer/home.tpl", "buttons/go_image_menu.tpl", "modules/Special_Offers/customer/cart_checkout_buttons.tpl", "main/title_selector.tpl", "modules/QuickBooks/orders.tpl", "modules/UPS_OnLine_Tools/ups_currency.tpl", "buttons/go_image.tpl", "buttons/go_image_menu.tpl", "main/image_property.tpl", "main/include_js.tpl" ); if (!in_array($string, $templates) ) { echo "\n\n<!--"; if ($end) echo " / "; echo "$string -->\n\n"; } }

Quote:
Originally Posted by carpeperdiem
Eugene,

I found a slight problem with this new mod:

In Windows IE6 and IE7, WHILE LOGGED IN as admin, it disrupts the css style sheet, to the point where a "centered" container no longer centers, category menus
distort and basically the site looks like doo. A simple logout by the admin and everything is back to normal. if the admin logs in, then it looks like doo again (that is, CSS is not recognized or used).

This problem does not show itself in Firefox (win or mac) or any mac browser. I did not test in Safari/windows.

Basically, whatever is going on here disrupts the CSS code in MSIE 6 and 7 (win XP pro SP2 -- tested on 2 different machines) - ONLY when logged in as admin.

For now, I have reverted to what I had, and I can re-visit this another time...

Thanks

Jeremy
__________________
X-Cart 4.4.5 | Linux/Apache | PHP 5.2.17 | MySQL 5.0.77 | FireFox
Reply With Quote