Core File Block Line Break

Permalink 1 user found helpful
For some reason, when I have multiple instances of the Core File Block stacked vertically, the links are merged into a continual stream of characters and wrapped around, rather than keeping each block on it's own line. How can I fix this? Can I add a line break into the File Block code somewhere? Thanks.

To see what I mean, look at the Download area atwww.www.allnationsbiblefellowship.org/sermons...

bballhermit
 
cyandesigns replied on at Permalink Best Answer Reply 2 Attachments
I ran into the same problem.

I just made an override of the file/view.php block and added a simple <br> after the code.

I've attached it for you. Simply put it in your blocks folder. Take a look at the screenshot to see the file structure for where it should go.

MAKE SURE YOU TAKE THE .TXT EXTENSION OFF BEFORE YOU UPLOAD IT. It should be view.php.

Let me know if you need more help.

Good Luck!
bballhermit replied on at Permalink Reply
bballhermit
That worked great! Thanks for your help!
iHSSports replied on at Permalink Reply
iHSSports
I couldn't get this fix to work on the latest version of 5.5 with the files. I edited the view.php under blocks\files and put in the <br> in the correct place and after refreshing the page got it to work.