My Subscriptions

No active or expired subscriptions. View Available Subscriptions

Advanced Search

Home arrow Forum arrow JCal Pro 1.5.xarrow 1.5.x General Discussionarrow SOLVED: Display Problems
Pages: [1]
Print
Author Topic: SOLVED: Display Problems  (Read 1015 times)
siza
Newbie
*

Karma: +0/-0
Posts: 2


View Profile
« on: February 25, 2007, 02:08:45 PM »

Hi !

I'm using your great calender and I have a little problem with the displaying of entrys with <TABLE> Tags.

Everytime I add some Table Tags it displays huge free space bevor the Table it self, after a quick look on the source I see that after each tag a <BR /> is added.

Example:
<table border="0"><br />
   <tbody><br />
      <tr><br />
         <td>Start-Ziel </td><br />
         <td> Langkampfen - Ortsteil Niederbreitenbach - GH Dampflwirt </td><br />

      </tr><br />
      <tr><br />
         <td> Disziplin </td><br />
         <td> Straße                     - Einzel </td><br />
      </tr><br />
   </tbody><br />
</table><br />

Can someone help me pleace ?

Greetings
Stefan
« Last Edit: February 26, 2007, 11:38:15 AM by V-man » Logged
siza
Newbie
*

Karma: +0/-0
Posts: 2


View Profile
« Reply #1 on: February 25, 2007, 02:15:19 PM »

 Grin After a little bit searching...I found the "bug"...
I removed the nl2br command in the functions.inc.php at line 833.
Maybe you can fix this...disable this command when the use of bbcode is enabled and a WYSIWYG Editor is used in joomla.

Cheers.
Stefan
Logged
V-man
Administrator
Hero Member
*****

Karma: +5/-1
Posts: 1803


Ignorance is curable, stupid is forever.


View Profile
« Reply #2 on: February 26, 2007, 11:38:04 AM »

This bug isn't just limited to tables, but all content.

The fix is to delete or uncomment the following line:
Code:
$string = nl2br($string);
.

This fix has been included in the forthcoming v1.5.1.2 release of com_jcalpro.
Logged

*** Please read this post before posting in the forum. ***

Support questions via PM will be ignored. Please use the forum for all support-related enquiries.
nkitson
Newbie
*

Karma: +0/-0
Posts: 11


View Profile
« Reply #3 on: March 01, 2007, 08:45:01 AM »

I had the same problem with tables so upgraded to v1.5.1.2.

The code has been modified but it didn't work for me - I could still see the extra free space.  I think the mod is incorrect as it refers to whether html is allowed in the description??

Anyway, fixed for me by removing

Code:
$string = nl2br($string);

Cheers,
Nick
« Last Edit: March 01, 2007, 11:36:30 AM by nkitson » Logged
Pages: [1]
Print
Jump to:  

Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Joomla Bridge by JoomlaHacks.com

Original Joomla Template design by RocketTheme ( Conversion by Bloc)