Skip to content

Filtering post's in a Post Link #2014

Closed Answered by DJ-Paxton
DJ-Paxton asked this question in Q&A
Discussion options

You must be logged in to vote

Ok so I started looking here and there and I came up with this solution in case someone finds it helpful:

First of all according to my needs I removed the buttons in the post picker under

core\Piranha.Manager\Areas\Manager\Shared\Partial\_PostPickerModal.cshtml

I think this is not strictly necessary to make it work, and probably a better option would be to show them or not according to a certain role or whatever, the future of my project will say.

The next and final step would be to parameterize or obtain the siteId and the archiveId that we want fixed for that specific Vue custom component in the select method, and then pass it to the postpicker.

It looks something like this:

Vue.compone…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by DJ-Paxton
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant