Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: IE7 Error - mod_dt_upcoming_event

IE7 Error - mod_dt_upcoming_event 16 years 6 months ago #1677

  • digitalpure
  • digitalpure's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 27
  • Thank you received: 0
It appears that the module does not dynamically resize as it does with FF 2/3, Opera 9, Safari = All MAC/PC versions

If you look at http://bizshapers.com/cms/ you will see what I am talking about. I have published a slideshow under the upcoming_event module and it is 300px wide. In all browsers by IE7 the dt_upcoming_event module grows to meet the size of the module width. This makes for a nice clean look in the module since my titles are long. In IE7 it does not grow and causes my titles to wrap.

Do you have a quick IE7 hack for CSS or the structure lines that I can specify the size of the module since you cannot do this in the joomla program right now. I have not looked through the lines of code yet to see if this is possible.

Please Log in or Create an account to join the conversation.

IE7 Error - mod_dt_upcoming_event 16 years 6 months ago #1683

  • dthadmin
  • dthadmin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 5470
  • Thank you received: 3
Around line 31 of the mod_dt_upcoming_event.php file, you\'ll find this:
if(count($rows))
{
	echo \"<table>\\n\";

You can add a width parameter to that <table> tag and hopefully address your issue. Thanks.

Please Log in or Create an account to join the conversation.

IE7 Error - mod_dt_upcoming_event 16 years 6 months ago #1691

  • digitalpure
  • digitalpure's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 27
  • Thank you received: 0

dthadmin wrote: Around line 31 of the mod_dt_upcoming_event.php file, you\'ll find this:

if(count($rows))
{
	echo "<table>\\n";

You can add a width parameter to that <table> tag and hopefully address your issue. Thanks.


nope...

Parse error: syntax error, unexpected T_LNUMBER, expecting \',\' or \';\' in when I add a make it <table width="300px"> or us <table style="width: 300px;">

Please Log in or Create an account to join the conversation.

IE7 Error - mod_dt_upcoming_event 16 years 6 months ago #1696

  • dthadmin
  • dthadmin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 5470
  • Thank you received: 3
You need to use single quotes:

if(count($rows)) { echo \"<table width=\'300\'>\\n\";

Please Log in or Create an account to join the conversation.

IE7 Error - mod_dt_upcoming_event 16 years 6 months ago #1707

  • digitalpure
  • digitalpure's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 27
  • Thank you received: 0
ok, that did not work (see screeny).. the backgrond does not draw with it. I also have been trying using css calls in the actual div, or even css calls in the table field, but it only does that in IE7.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.298 seconds