Is this possible. Im tring to list a search view with the seochcker meta title and description.
It's not working as supposed. It's takes the current page values. Can I cast it somehow.
foreach (var result in Umbraco.TypedSearch(Request.QueryString["search"])){ var meta = result.GetPropertyValue<SEOChecker.MVC.MetaData>("seoChecker"); <divclass="col-md-12 search-item">
Ohh sorry, but indeed it depends on current page to get the the other properties of the page. I have a fix for ArcheType maybe that will work for this also.
Oh sorry you are using the propertyvalueconverter and that always checks the currentPage. It's meant for the front-end so i think it will not work in your scenario.
I am facing exactly the same situation - and the same problem... Is there any way to get hands on title and description from an IPublishedContent which is NOT the CurrentPage??
Too bad this wasn't ever solved.. No matter what node (IPublishedContent) I try, I always get seoChecker value of CurrentPage.
I should think that anyPublishedContent.GetPropertyValue
Also it seems that this seoChecker value is cached.. When making changes in for example seoTitle, I need to publish the node twice before it shows the latest value.
This was by design in the past and still is in V2. I should have mentioned 2.x in the past. It needs the context of the page to render all metadata not just the once you have entered.
And usually you only need the metadata of the current page
@{
var meta = Model.Content.GetPropertyValue<SEOChecker.MVC.MetaData>("seoChecker");
}
@meta.AllTags
Use SeoChecker in searchview
Hi,
Is this possible. Im tring to list a search view with the seochcker meta title and description.
It's not working as supposed. It's takes the current page values. Can I cast it somehow.
Which version are you using? I don't think there is a dependency on that since 1.8.
SeoChecker v1.8.1
Umbraco 7.2.1
Any updates on this ?
It seems to take the meta data from the currentpage no matter what.
What I expect the function to give me. Is the meta data from the page i refer to in "result" - but it dont
Ohh sorry, but indeed it depends on current page to get the the other properties of the page. I have a fix for ArcheType maybe that will work for this also.
https://www.dropbox.com/s/u490falkx6r18b1/seochecker-1.8.2.zip?dl=0
Hope this helps.
Richard
ok I'll try.
How do I update. Install as a normal umbraco package or just take the dll's
Just run the package installer indeed
Ok, it still gives me the currentpage values, so the update don't work for this issue.
Oh sorry you are using the propertyvalueconverter and that always checks the currentPage. It's meant for the front-end so i think it will not work in your scenario.
What's the alternative ?
I'll appreciate if you can show me the code.
Maybe you can use without propertyconverter?
I am facing exactly the same situation - and the same problem... Is there any way to get hands on title and description from an IPublishedContent which is NOT the CurrentPage??
Hi,
This will be added in V2. But still not possible for now.
Best,
Richard
Hi Richard
Looking forward to version 2 then :) Any idea when it will be released?
No real release date but later this year..
A christmas present then! Great :)
Have a nice day, Richard
Too bad this wasn't ever solved.. No matter what node (IPublishedContent) I try, I always get seoChecker value of CurrentPage.
I should think that anyPublishedContent.GetPropertyValue
Also it seems that this seoChecker value is cached.. When making changes in for example seoTitle, I need to publish the node twice before it shows the latest value.
This was by design in the past and still is in V2. I should have mentioned 2.x in the past. It needs the context of the page to render all metadata not just the once you have entered.
And usually you only need the metadata of the current page
Best,
Richard
Best,
Richard
is working on a reply...