By Red Keane on Wednesday, 09 March 2016
Posted in General Issues
Likes 0
Views 403
Votes 0
Hello I want to override the blog item view to replace the social icons with the BT Social Share plugin.

I can’t figure out where to find the file to override.

Any help would be appreciated.

Red
Hello Richard,

You can override this file ../components/com_easyblog/themes/wireframe/blogs/entry/default.php by using the same method that my colleague has mentioned above. And the social button is on line 182-184. Hope this helps.
·
Thursday, 10 March 2016 11:53
·
0 Likes
·
0 Votes
·
0 Comments
·
You can modify on this file -> JoomlaFolder\components\com_easyblog\themes\wireframe\blogs\latest\default.main.php



// LINE174 - 176
<?php if ($this->params->get('post_social_buttons', true)) { ?>
<?php echo $this->output('site/blogs/part.socialbuttons', array('post' => $post)); ?>
<?php } ?>


After you modified this file, you can override into your current template JoomlaFolder/templates/templateName/html/com_easyblog/blogs/latest/default.main.php

You also can refer on our template overridden documentation here : http://stackideas.com/docs/easyblog/administrators/customizations/template-overriding

Hope this help.
·
Wednesday, 09 March 2016 19:26
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex, thanks for the quick response.

I was able to make those changes and everything worked without errors. i am using the Origami theme so i got the default.main.php from that folder.

However it only changed the category view. When i click into the post the old social icons are there. i had a look through the directories for Origami and there was nothing to indicate i can override the individual post.

many thanks

Richard.
·
Wednesday, 09 March 2016 19:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Nick, that worked perfectly thank you.

Red
·
Thursday, 10 March 2016 13:20
·
0 Likes
·
0 Votes
·
0 Comments
·
You're welcome.
·
Thursday, 10 March 2016 13:25
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post