Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add social buttons to category / index view #5562

Merged
merged 2 commits into from Sep 20, 2017
Merged

Add social buttons to category / index view #5562

merged 2 commits into from Sep 20, 2017

Conversation

Ruud68
Copy link
Contributor

@Ruud68 Ruud68 commented Sep 19, 2017

Pull Request for Issue # .

Summary of Changes

Testing Instructions

@@ -23,6 +23,17 @@

$mmm = 0;
$config = KunenaFactory::getTemplate()->params;
$this->ktemplate = KunenaFactory::getTemplate();
$social = $this->ktemplate->params->get('socialshare');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please remove the 2 lines

$this->ktemplate = KunenaFactory::getTemplate();
$social = $this->ktemplate->params->get('socialshare');

if ($social == 1)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use
if ($config->get('socialshare') == 1)

@Ruud68
Copy link
Contributor Author

Ruud68 commented Sep 20, 2017

Done :)

@810 810 merged commit f791dc5 into Kunena:K5.0 Sep 20, 2017
@Ruud68 Ruud68 deleted the patch-3 branch February 26, 2018 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants