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

Unable to find package 'Geta.Tags' #32

Closed
Ayoubezzddine opened this issue Dec 28, 2015 · 13 comments
Closed

Unable to find package 'Geta.Tags' #32

Ayoubezzddine opened this issue Dec 28, 2015 · 13 comments

Comments

@Ayoubezzddine
Copy link

PM> Install-Package Geta.Tags
Install-Package : Unable to find package 'Geta.Tags'
At line:1 char:1

  • Install-Package Geta.Tags
  • - CategoryInfo          : NotSpecified: (:) [Install-Package], Exception
    - FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
    
    

PM>

This is package source:
https://api.nuget.org/v3/index.json

@frederikvig
Copy link
Member

The package is hosted at nuget.episerver.com

@Ayoubezzddine
Copy link
Author

I added nuget.episerver.com as package source
But the same error exists

Can you give me more help steps to start

@frederikvig
Copy link
Member

@Ayoubezzddine
Copy link
Author

thank you, fixed

Can you help me with this, how can I call the ITagEngine GetContentByTag(string tagName) in a aspx.cs page

@frederikvig
Copy link
Member

ServiceLocator.Current.GetInstance<ITagEngine>()

@Ayoubezzddine
Copy link
Author

Hi frederikvig,

Can we get the topic tags? how to retrieve a list of the highest used tags?

Thank you

@Ayoubezzddine
Copy link
Author

Any answer..

@frederikvig
Copy link
Member

There's a count property on the Tag object that you can use for this. Basically you would need to get all tags and then order by count.

@Ayoubezzddine
Copy link
Author

Thank you but my question is how to get all the tags?

Do I have t get all pages and loop to insert the tags in a list the order them, or is there a function to use?

@Sebbe
Copy link

Sebbe commented Feb 5, 2016

TagService have a function called GetAllTags() which should return all tags.

var tagService = ServiceLocator.Current.GetInstance<ITagService>();
var allTags = tagService.GetAllTags();

@Ayoubezzddine
Copy link
Author

Hi,

Thanks for the great help.

I need to retrieve the related pages based on the tags(multi tags) of my current page.

Should I loop for the tags separated by (,) and get pages related for each instance?

@Ayoubezzddine
Copy link
Author

Hi,

We have 2 different website in the same solution, I read that we can use (TagsGroupKey("mysite")) for the tags property.

But how can I get the tags for each website alone.

@Ayoubezzddine
Copy link
Author

any updates??

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

No branches or pull requests

3 participants