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

Related blogposts #2736

Merged
merged 4 commits into from May 20, 2019

Conversation

Projects
None yet
2 participants
@carakas
Copy link
Member

commented Jan 24, 2019

Type

  • Feature

Pull request description

This PR adds a widget to the blog module that will show related blog posts for blog detail pages or other pages based on their tags

@carakas carakas added the Blog label Jan 24, 2019

@carakas carakas added this to the 5.6.0 milestone Jan 24, 2019

@carakas carakas requested a review from forkcms/core-contributors Jan 24, 2019

@Sellato

This comment has been minimized.

Copy link
Contributor

commented Feb 4, 2019

Is there a way to add this Related blogposts to exists (installed) ForkCMS by hand?

@carakas

This comment has been minimized.

Copy link
Member Author

commented Feb 4, 2019

@Sellato yes, you need to add the changes of the code and then manually create an entry for the widget in the database

INSERT INTO `modules_extras` (`id`, `module`, `type`, `label`, `action`, `data`, `hidden`, `sequence`)
VALUES
	(null, 'Blog', 'widget', 'RelatedArticles', 'RelatedArticles', NULL, 0, 2003);
@carakas
Copy link
Member Author

left a comment

Already reviewed previously in a project of sumocoders

@carakas carakas merged commit 3db0f41 into forkcms:master May 20, 2019

3 checks passed

Scrutinizer Analysis: 4 updated code elements – Tests: passed
Details
continuous-integration/styleci/pr The analysis has passed
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.