By Adrian Blatherwick on Monday, 02 October 2017
Posted in Technical Issues
Likes 0
Views 579
Votes 0
I have the blog set up using the magazine layout. I would like to increase the number of words selected for the intro for the main article only and not the mag-table items.
Hi Adrian,

Unfortunately, there is no setting to only adjust the intro for the main article only (in magazine view).
However you can customize in the file:
.../components/com_easyblog/themes/wireframe/blogs/magazine/layout_3.php
*the layout number could be vary according to your menu magazine layout setting.
and now find the code below that shows in the file.

<p><?php echo $leadingArticle->getIntro(true);?></p>

and change to:

<p><?php echo $leadingArticle->getIntro(true,null ,'intro',30);?></p>

*change the number (30) to your desired length

You're suggested to backup the file that you want to customize beforehand for precaution
·
Monday, 02 October 2017 19:09
·
0 Likes
·
0 Votes
·
0 Comments
·
Perfect, thank you for your help
·
Monday, 02 October 2017 19:23
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome Adrian Glad to hear your issue has resolved.

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.

Have a nice day ahead
·
Monday, 02 October 2017 19:29
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post