By Ryan Sullivan on Wednesday, 03 August 2016
Posted in Technical Issues
Replies 4
Likes 0
Views 337
Votes 0
I have found that if an EB5 Article title is too long in a EB slider the title goes into the next slide... Can we truncate the title if it is too long or other solution?
EasyBlog - Showcase Module
·
Wednesday, 03 August 2016 13:07
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Ryan,

I'm bit lost here,do you mean you want to truncate the title in the EasyBlog-Showcase module?
·
Wednesday, 03 August 2016 14:00
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes scroll to bottom of page see: Student Registration Set for Tuesday, August 9th scroll through those and you will see what I mean
·
Wednesday, 03 August 2016 14:18
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Ryan,

I've tried to replicate this locally, seems it will truncate the tittle by default. However, you can try to manually truncate the tittle by edit the file or override the file:
[example using the default showcase layout]
JOOMLA_FOLDER\modules\mod_easyblogshowcase\tmpl\default.php
change the code:
<a href="<?php echo $post->getPermalink();?>"><?php echo $post->title;?></a>

to:
<a href="<?php echo $post->getPermalink();?>"><?php echo substr($post->title,0,20).'...'?></a>

Change the no(20) to your preferably character length.
·
Wednesday, 03 August 2016 17:08
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post