Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Extra blank lines appearing in Description box when we post events

10 years 5 months ago
  • Susan's Avatar
    Topic Author
  • Susan
  • Offline
  • Fresh Boarder
  • Posts: 69
  • Thank you received: 20
Licenses:
JomSocial Expired AdAgency Expired iSEO Expired Socialize Expired

When we post an event the Description text appears with lots of extra blank lines (as if the 'return' key has been hit extra times). This makes the Description long and appear as a mess!

Also, there is no button to edit font size in Events, which is annoying.

10 years 5 months ago
Licenses:

Hi Susan,

are you copy paste that content from some where? text editor maybe? because I saw the HTML structure is not valid.
please check it. I fix it by changing the text editor to none at jomsocial backend > configuration > layout. and fix the HTML structure.

could you please provide me FTP access detail. I want have a look at your 3rd party template files. maybe I can do something, to prevent this issue back again.

Regards,
Albert

The following user(s) said Thank You: Susan
10 years 5 months ago
  • Susan's Avatar
    Topic Author
  • Susan
  • Offline
  • Fresh Boarder
  • Posts: 69
  • Thank you received: 20
Licenses:
JomSocial Expired AdAgency Expired iSEO Expired Socialize Expired

I updated the original post with FTP, thanks

10 years 5 months ago
Licenses:

Hi Susan,

here the fix:
1. edit /templates/gk_msocial/html/com_community/events.viewevent.php
2. at line 264 you can see this code:

<?php
if( !CStringHelper::isHTML($event->description) ) {
	echo CStringHelper::nl2br($event->description);
}
else {
	echo $event->description;
}
?>
changing it to
<?php
	echo $event->description;
?>

Regards,
Albert

10 years 5 months ago
  • Susan's Avatar
    Topic Author
  • Susan
  • Offline
  • Fresh Boarder
  • Posts: 69
  • Thank you received: 20
Licenses:
JomSocial Expired AdAgency Expired iSEO Expired Socialize Expired

Thank you.

While we are talking about blank lines, please look at the Group Activity Stream I have Edited into my original post. There are 2-3 extra lines above and below each discussion reply, extra lines above new Discussion titles, Annoucenments and new Events.

All the extra lines spread the Activity stream out a lot so on Mobile you don't get much on the screen. Is there anything you can do?

Thanks

10 years 5 months ago
Licenses:

Hi Susan,

the problem with 3rd party template it self (/templates/gk_msocial/css/jomsocial.css), so I put the override at:
/templates/gk_msocial/css/override.css

#community-wrap .joms-stream-content header {  
  line-height: 20px;
}

Regards,
Albert

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW