By Tom Flemming Sigsgaard on Sunday, 07 February 2016
Posted in General Issues
Likes 0
Views 319
Votes 0
Hi
To get a uniform look on my frontpage, I need to truncate the Heading(headline) text. Is this possible? I know how to truncate the introtext, but have no idea how to controll the heather (headline) text
Hey Tom,

I am really sorry for the delay of this reply as it is actually a public day off for us here. Hm, sorry but not really sure which section are you referring to here. Can you please provide the link to the page and perhaps some screen shot as well?
·
Monday, 08 February 2016 18:13
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark
Thanks for reply
I have enclosed a screen dump to show you my issue
Thanks
Tom
·
Monday, 08 February 2016 19:22
·
0 Likes
·
0 Votes
·
0 Comments
·
Ah, okay you mean the blog post's title? We don't truncate the blog post's title because it would be quite difficult for viewers to understand

However, should you wish to tweak the theme file, you may edit the file /components/com_easyblog/themes/nickel/blogs/latest/default.main.php and locate the codes below:


<h2 itemprop="name headline" class="eb-post-title reset-heading">
<a href="<?php echo $post->getPermalink();?>" class="text-inherit"><?php echo nl2br($post->title);?></a>
</h2>


Replace it with,


<h2 itemprop="name headline" class="eb-post-title reset-heading">
<a href="<?php echo $post->getPermalink();?>" class="text-inherit">
<?php echo nl2br(JString::substr($post->title, 0, 20));?>
</a>
</h2>


Where "20" is the limit
·
Monday, 08 February 2016 21:42
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark
Thank you. I edit the code as described above, but nothing happens?

thanks
Tom
·
Monday, 08 February 2016 22:51
·
0 Likes
·
0 Votes
·
0 Comments
·
Are you using the "nickel" theme?
·
Monday, 08 February 2016 22:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi
Yes
Se enclosed screen dump
·
Monday, 08 February 2016 23:06
·
0 Likes
·
0 Votes
·
0 Comments
·
Hm, I just logged into the ftp but I don't see those changes
·
Monday, 08 February 2016 23:41
·
0 Likes
·
0 Votes
·
0 Comments
·
Thats really strange - I see the thange from my place.
Are you in the right folder: /public_html/final/components/com_easyblog/themes/nickel/blogs/latest ?

/Tom
·
Monday, 08 February 2016 23:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Can you provide me with your ftp access?
·
Tuesday, 09 February 2016 00:00
·
0 Likes
·
0 Votes
·
0 Comments
·
Directly here? (is this public?) or do you want me to email them to you?
·
Tuesday, 09 February 2016 00:10
·
0 Likes
·
0 Votes
·
0 Comments
·
You can actually do it here, http://stackideas.com/dashboard/site
·
Tuesday, 09 February 2016 00:16
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi it was already there
·
Tuesday, 09 February 2016 00:21
·
0 Likes
·
0 Votes
·
0 Comments
·
I don't seem to see a public_html/dev/ folder. Am I missing anything ?
·
Tuesday, 09 February 2016 00:25
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi
I put the path earlier in this tread but here it is again /public_html/final/components/com_easyblog/themes/nickel/blogs/latest
·
Tuesday, 09 February 2016 00:45
·
0 Likes
·
0 Votes
·
0 Comments
·
1. It looks like you are using bluedream and not nickel at http://www.dev.kitesurferen.dk/blog

2. Are you sure that is the correct path? I made some changes in the file /components/com_easyblog/themes/bluedream/blogs/latest/default.main.php and nothing seems to get reflected.
·
Tuesday, 09 February 2016 14:33
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark
You are in the wrong place...
Take a look at the path that I have provided you (twice) above..
the path is: public_html/final....
And I am using Nickel Theme
/Tom
·
Tuesday, 09 February 2016 15:28
·
0 Likes
·
0 Votes
·
0 Comments
·
1. What is the URL to the site now? When viewing http://www.dev.kitesurferen.dk/blog , this is bluedream .

2. Yes, I am accessing public_html/final/components/com_easyblog/themes/bluedream/blogs/latest/default.main.php . You can try to empty the contents on this file and there is no effect on the page at http://www.dev.kitesurferen.dk/blog
·
Tuesday, 09 February 2016 15:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark
Why do you keep on going to that sub domain?
I have told yo tree times in this tread that the file you are looking for is:
/public_html/FINAL/components/com_easyblog/themes/nickel/blogs/latest/default.main.php

The subdomain "dev" does not exist! If hog type in dev.kitesurferen.dk - you will end up in our live site...

Our develovper domain is final.kitesurferen.dk - and this is the domain we are working on now.

/Tom
·
Tuesday, 09 February 2016 17:10
·
0 Likes
·
0 Votes
·
0 Comments
·
1. What is the URL of your blog? http://dev.kitesurferen.dk/blog is running on bluedream theme, http://screencast.com/t/NjYvYTiPcrXR

2. The titles of the blog post are already truncated at http://dev.kitesurferen.dk/blog
·
Tuesday, 09 February 2016 17:49
·
0 Likes
·
0 Votes
·
0 Comments
·
The url for the blogs (the one I need help with) is http://www.final.kitesurferen.dk

Forget about the "dev...."

The site is in ofline modus, but I have provided at admin login and pw if you want to take a look at the front end.
·
Tuesday, 09 February 2016 17:57
·
0 Likes
·
0 Votes
·
0 Comments
·
This is where the confusions is because I was accessing http://www.dev.kitesurferen.dk/ all these time. I have modified the file for you at line 125 and it's truncating correctly now.
·
Tuesday, 09 February 2016 18:33
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark
Thanks Now everything works perfect:)
You are super

/Tom
·
Tuesday, 09 February 2016 19:38
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Tom,

You are most welcome. Glad to hear that your issue has been resolved now.

As a gentle reminder, kindly start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiry. I will lock and mark this thread as resolved.
·
Wednesday, 10 February 2016 10:51
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post